diff options
author | Feng Qian <fqian@google.com> | 2009-06-17 12:12:20 -0700 |
---|---|---|
committer | Feng Qian <fqian@google.com> | 2009-06-17 12:12:20 -0700 |
commit | 5f1ab04193ad0130ca8204aadaceae083aca9881 (patch) | |
tree | 5a92cd389e2cfe7fb67197ce14b38469462379f8 /WebCore/rendering/RenderLayerBacking.h | |
parent | 194315e5a908cc8ed67d597010544803eef1ac59 (diff) | |
download | external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.zip external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.gz external_webkit-5f1ab04193ad0130ca8204aadaceae083aca9881.tar.bz2 |
Get WebKit r44544.
Diffstat (limited to 'WebCore/rendering/RenderLayerBacking.h')
-rw-r--r-- | WebCore/rendering/RenderLayerBacking.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/WebCore/rendering/RenderLayerBacking.h b/WebCore/rendering/RenderLayerBacking.h index 46b81ad..a6a6c1f 100644 --- a/WebCore/rendering/RenderLayerBacking.h +++ b/WebCore/rendering/RenderLayerBacking.h @@ -56,7 +56,7 @@ public: void updateAfterLayout(); // Returns true if layer configuration changed. - bool updateGraphicsLayers(bool needsContentsLayer, bool needsUpperClippingLayer, bool needsLowerClippingLayer, bool needsRepaint); + bool updateGraphicsLayerConfiguration(); void updateGraphicsLayerGeometry(); void updateInternalHierarchy(); @@ -103,9 +103,6 @@ public: FloatPoint graphicsLayerToContentsCoordinates(const GraphicsLayer*, const FloatPoint&); FloatPoint contentsToGraphicsLayerCoordinates(const GraphicsLayer*, const FloatPoint&); - void detectDrawingOptimizations(); - void invalidateDrawingOptimizations(); - // GraphicsLayerClient interface virtual void notifyAnimationStarted(const GraphicsLayer*, double startTime); @@ -137,7 +134,7 @@ private: // Returns true if this RenderLayer only has content that can be rendered directly // by the compositing layer, without drawing (e.g. solid background color). - bool isSimpleContainerCompositingLayer(); + bool isSimpleContainerCompositingLayer() const; // Returns true if we can optimize the RenderLayer to draw the replaced content // directly into a compositing buffer bool canUseDirectCompositing() const; @@ -146,7 +143,6 @@ private: bool rendererHasBackground() const; const Color& rendererBackgroundColor() const; - bool canBeSimpleContainerCompositingLayer() const; bool hasNonCompositingContent() const; void paintIntoLayer(RenderLayer* rootLayer, GraphicsContext*, const IntRect& paintDirtyRect, @@ -165,9 +161,7 @@ private: IntSize m_compositingContentOffset; - bool m_isSimpleContainerCompositingLayer : 1; // is this compositing layer able to be simplified - bool m_simpleCompositingLayerStatusDirty : 1; // set if the test for simple layers needs to be redone - + bool m_hasDirectlyCompositedContent: 1; bool m_compositingContentOffsetDirty: 1; }; |