Changeset 121569 in webkit
- Timestamp:
- Jun 29, 2012 10:17:02 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r121566 r121569 1 2012-06-29 Bruno de Oliveira Abinader <bruno.abinader@basyskom.com> 2 3 [Qt] Add missing support for tiled shadow blur on fillRect 4 https://bugs.webkit.org/show_bug.cgi?id=90082 5 6 Reviewed by Noam Rosenthal. 7 8 This overloaded fillRect implementation also supports this optimization in 9 certain situations. 10 11 * platform/graphics/qt/GraphicsContextQt.cpp: 12 (WebCore::GraphicsContext::fillRect): 13 1 14 2012-06-29 Brady Eidson <beidson@apple.com> 2 15 -
trunk/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
r121503 r121569 675 675 if (hasShadow()) { 676 676 if (shadow->mustUseShadowBlur(this)) { 677 GraphicsContext* shadowContext = shadow->beginShadowLayer(this, normalizedRect); 678 if (shadowContext) { 679 QPainter* shadowPainter = shadowContext->platformContext(); 680 shadowPainter->fillRect(normalizedRect, p->brush()); 681 shadow->endShadowLayer(this); 682 } 677 shadow->drawRectShadow(this, rect, RoundedRect::Radii()); 683 678 } else { 684 679 // Solid rectangle fill with no blur shadow or transformations applied can be done
Note: See TracChangeset
for help on using the changeset viewer.