Changeset 86582 in webkit


Ignore:
Timestamp:
May 16, 2011 10:09:58 AM (13 years ago)
Author:
andreas.kling@nokia.com
Message:

2011-05-16 Andreas Kling <kling@webkit.org>

Reviewed by Kenneth Rohde Christiansen.

REGRESSION(r83820): [Qt] Accelerated compositing no longer works in QGraphicsWebView.
https://bugs.webkit.org/show_bug.cgi?id=60892

Don't set the ItemClipsChildrenToShape flag for the root platform layer,
since that is now the overflow controls layer. The clip layer, which was
previously the root platform layer, already gets the flag by way of
the GraphicsLayer mask-to-bounds flag.

  • WebCoreSupport/PageClientQt.cpp: (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
Location:
trunk/Source/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/qt/ChangeLog

    r86550 r86582  
     12011-05-16  Andreas Kling  <kling@webkit.org>
     2
     3        Reviewed by Kenneth Rohde Christiansen.
     4
     5        REGRESSION(r83820): [Qt] Accelerated compositing no longer works in QGraphicsWebView.
     6        https://bugs.webkit.org/show_bug.cgi?id=60892
     7
     8        Don't set the ItemClipsChildrenToShape flag for the root platform layer,
     9        since that is now the overflow controls layer. The clip layer, which was
     10        previously the root platform layer, already gets the flag by way of
     11        the GraphicsLayer mask-to-bounds flag.
     12
     13        * WebCoreSupport/PageClientQt.cpp:
     14        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
     15
    1162011-05-16  Adam Barth  <abarth@webkit.org>
    217
  • trunk/Source/WebKit/qt/WebCoreSupport/PageClientQt.cpp

    r86276 r86582  
    290290
    291291    if (rootGraphicsLayer) {
    292         rootGraphicsLayer.data()->setFlag(QGraphicsItem::ItemClipsChildrenToShape, true);
    293292        rootGraphicsLayer.data()->setParentItem(view);
    294293        rootGraphicsLayer.data()->setZValue(RootGraphicsLayerZValue);
Note: See TracChangeset for help on using the changeset viewer.