Changeset 74001 in webkit
- Timestamp:
- Dec 13, 2010 9:53:03 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/platform/chromium/test_expectations.txt
r73994 r74001 2391 2391 BUGWK45991 LINUX WIN : canvas/philip/tests/2d.shadow.pattern.basic.html = TEXT 2392 2392 BUGWK45991 LINUX WIN : canvas/philip/tests/2d.shadow.pattern.transparent.2.html = TEXT 2393 BUGWK45991 LINUX WIN : canvas/philip/tests/2d.shadow.transform.2.html = TEXT2394 2393 BUGWK45991 LINUX WIN : canvas/philip/tests/2d.transformation.setTransform.skewed.html = TEXT 2395 2394 BUGWK45991 LINUX WIN : canvas/philip/tests/2d.transformation.transform.skewed.html = TEXT … … 3033 3032 BUGWK50112 WIN LINUX : fast/canvas/canvas-createPattern-fillRect-shadow.html = TEXT 3034 3033 3035 BUGCR64647 WIN LINUX : fast/canvas/canvas-scale-fillRect-shadow.html = TEXT3036 BUGCR64647 WIN LINUX : fast/canvas/canvas-scale-fillPath-shadow.html = TEXT3037 3034 BUGCR64647 WIN LINUX : fast/canvas/canvas-scale-strokePath-shadow.html = TEXT 3038 3035 BUGCR64647 WIN LINUX : fast/canvas/canvas-scale-drawImage-shadow.html = TEXT -
trunk/WebCore/ChangeLog
r73999 r74001 1 2010-12-13 Mike Lawther <mikelawther@chromium.org> 2 3 Reviewed by Daniel Bates. 4 5 [skia] ignore transform for canvas shadows 6 https://bugs.webkit.org/show_bug.cgi?id=50437 7 8 * platform/graphics/skia/GraphicsContextSkia.cpp: 9 (WebCore::GraphicsContext::setPlatformShadow): 10 1 11 2010-12-13 Dai Mikurube <dmikurube@google.com> 2 12 -
trunk/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
r73729 r74001 1067 1067 double blur = blurFloat; 1068 1068 1069 // TODO(tc): This still does not address the issue that shadows1070 // within canvas elements should ignore transforms. 1069 SkBlurDrawLooper::BlurFlags blurFlags = SkBlurDrawLooper::kNone_BlurFlag; 1070 1071 1071 if (m_state.shadowsIgnoreTransforms) { 1072 1072 // Currently only the GraphicsContext associated with the … … 1074 1074 // Transforms. So with this flag set, we know this state is associated 1075 1075 // with a CanvasRenderingContext. 1076 blurFlags = SkBlurDrawLooper::kIgnoreTransform_BlurFlag; 1077 1076 1078 // CG uses natural orientation for Y axis, but the HTML5 canvas spec 1077 1079 // does not. … … 1089 1091 // TODO(tc): Should we have a max value for the blur? CG clamps at 1000.0 1090 1092 // for perf reasons. 1091 SkDrawLooper* dl = new SkBlurDrawLooper(blur / 2, width, height, c );1093 SkDrawLooper* dl = new SkBlurDrawLooper(blur / 2, width, height, c, blurFlags); 1092 1094 platformContext()->setDrawLooper(dl); 1093 1095 dl->unref();
Note: See TracChangeset
for help on using the changeset viewer.