Changeset 80514 in webkit
- Timestamp:
- Mar 7, 2011 5:37:00 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r80512 r80514 1 2011-03-07 Justin Novosad <junov@chromium.org> 2 3 Reviewed by Kenneth Russell. 4 5 Fix for blurs behind bitmap images in Chromium, and boosting 6 shadow blur quality 7 Bug URLs: 8 https://bugs.webkit.org/show_bug.cgi?id=55410 9 https://bugs.webkit.org/show_bug.cgi?id=55506 10 11 No new tests. Covered by existing layout tests. 12 13 * platform/graphics/skia/GraphicsContextSkia.cpp: 14 (WebCore::GraphicsContext::setPlatformShadow): Turn on high quality shadows and fix shadow color 15 * platform/graphics/skia/ImageSkia.cpp: 16 (WebCore::paintSkBitmap): Propagate the draw looper from context to painter 17 1 18 2011-03-07 Andreas Kling <kling@webkit.org> 2 19 -
trunk/Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
r79437 r80514 1036 1036 double blur = blurFloat; 1037 1037 1038 SkBlurDrawLooper::BlurFlags blurFlags = SkBlurDrawLooper::kNone_BlurFlag; 1038 uint32_t blurFlags = SkBlurDrawLooper::kHighQuality_BlurFlag | 1039 SkBlurDrawLooper::kOverrideColor_BlurFlag; 1039 1040 1040 1041 if (m_state.shadowsIgnoreTransforms) { … … 1043 1044 // Transforms. So with this flag set, we know this state is associated 1044 1045 // with a CanvasRenderingContext. 1045 blurFlags = SkBlurDrawLooper::kIgnoreTransform_BlurFlag;1046 blurFlags |= SkBlurDrawLooper::kIgnoreTransform_BlurFlag; 1046 1047 1047 1048 // CG uses natural orientation for Y axis, but the HTML5 canvas spec -
trunk/Source/WebCore/platform/graphics/skia/ImageSkia.cpp
r75469 r80514 261 261 paint.setFilterBitmap(true); 262 262 paint.setAlpha(platformContext->getNormalizedAlpha()); 263 paint.setLooper(platformContext->getDrawLooper()); 263 264 264 265 skia::PlatformCanvas* canvas = platformContext->canvas();
Note: See TracChangeset
for help on using the changeset viewer.