Changeset 121569 in webkit


Ignore:
Timestamp:
Jun 29, 2012 10:17:02 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Add missing support for tiled shadow blur on fillRect
https://bugs.webkit.org/show_bug.cgi?id=90082

Patch by Bruno de Oliveira Abinader <Bruno de Oliveira Abinader> on 2012-06-29
Reviewed by Noam Rosenthal.

This overloaded fillRect implementation also supports this optimization in
certain situations.

  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::GraphicsContext::fillRect):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r121566 r121569  
     12012-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
    1142012-06-29  Brady Eidson  <beidson@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp

    r121503 r121569  
    675675        if (hasShadow()) {
    676676            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());
    683678            } else {
    684679                // Solid rectangle fill with no blur shadow or transformations applied can be done
Note: See TracChangeset for help on using the changeset viewer.