Changeset 140412 in webkit


Ignore:
Timestamp:
Jan 22, 2013 4:36:14 AM (11 years ago)
Author:
allan.jensen@digia.com
Message:

[Qt] Box shadows on a transparency layer is very slow
https://bugs.webkit.org/show_bug.cgi?id=107547

Reviewed by Noam Rosenthal.

Set an initial clip on the transparency layer, so that the clipping
bounds will never end up larger than the layer.

  • platform/graphics/qt/TransparencyLayer.h:

(WebCore::TransparencyLayer::TransparencyLayer):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140411 r140412  
     12013-01-22  Allan Sandfeld Jensen  <allan.jensen@digia.com>
     2
     3        [Qt] Box shadows on a transparency layer is very slow
     4        https://bugs.webkit.org/show_bug.cgi?id=107547
     5
     6        Reviewed by Noam Rosenthal.
     7
     8        Set an initial clip on the transparency layer, so that the clipping
     9        bounds will never end up larger than the layer.
     10
     11        * platform/graphics/qt/TransparencyLayer.h:
     12        (WebCore::TransparencyLayer::TransparencyLayer):
     13
    1142013-01-22  Matt Falkenhagen  <falken@chromium.org>
    215
  • trunk/Source/WebCore/platform/graphics/qt/TransparencyLayer.h

    r130636 r140412  
    6262        painter.setFont(p->font());
    6363        painter.setOpacity(1);
     64        // Set a default clip, so IntersectClip will work correctly later.
     65        painter.setClipRect(0, 0, rect.width(), rect.height());
    6466    }
    6567
Note: See TracChangeset for help on using the changeset viewer.