Commit ce60a933 authored by commit-queue@webkit.org's avatar commit-queue@webkit.org
Browse files

2010-07-09 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] GraphicsLayerQt must have syncCompositingStateForThisLayerOnly() implemented
        https://bugs.webkit.org/show_bug.cgi?id=41954

        Add GraphicsLayerQt::syncCompositingStateForThisLayerOnly, a non-recursive
        implementation of GraphicsLayerQt::syncCompositingState and which targets
        the current layer only.

        * platform/graphics/qt/GraphicsLayerQt.cpp:
        (WebCore::GraphicsLayerQt::syncCompositingStateForThisLayerOnly):
        * platform/graphics/qt/GraphicsLayerQt.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@63001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b34e2a46
2010-07-09 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
Reviewed by Kenneth Rohde Christiansen.
[Qt] GraphicsLayerQt must have syncCompositingStateForThisLayerOnly() implemented
https://bugs.webkit.org/show_bug.cgi?id=41954
Add GraphicsLayerQt::syncCompositingStateForThisLayerOnly, a non-recursive
implementation of GraphicsLayerQt::syncCompositingState and which targets
the current layer only.
* platform/graphics/qt/GraphicsLayerQt.cpp:
(WebCore::GraphicsLayerQt::syncCompositingStateForThisLayerOnly):
* platform/graphics/qt/GraphicsLayerQt.h:
2010-07-09 David Kozub <zub@linux.fjfi.cvut.cz>
 
Reviewed by Darin Adler.
......@@ -1186,6 +1186,15 @@ void GraphicsLayerQt::syncCompositingState()
GraphicsLayer::syncCompositingState();
}
/* \reimp (GraphicsLayer.h)
*/
void GraphicsLayerQt::syncCompositingStateForThisLayerOnly()
{
// We can't call flushChanges recursively here
m_impl->flushChanges(false);
GraphicsLayer::syncCompositingStateForThisLayerOnly();
}
/* \reimp (GraphicsLayer.h)
*/
NativeLayer GraphicsLayerQt::nativeLayer() const
......
......@@ -83,6 +83,7 @@ public:
virtual void distributeOpacity(float);
virtual float accumulatedOpacity() const;
virtual void syncCompositingState();
virtual void syncCompositingStateForThisLayerOnly();
private:
OwnPtr<GraphicsLayerQtImpl> m_impl;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment