diff options
author | Nicolas Roard <nicolasroard@google.com> | 2011-07-20 12:58:10 -0700 |
---|---|---|
committer | Nicolas Roard <nicolasroard@google.com> | 2011-07-29 10:26:30 -0700 |
commit | e0aa068729e4558f198f02f9217b11a05fe3d1d3 (patch) | |
tree | 935254bb0e9d03d84a660cc47aa5f096196ec615 /Source/WebCore/rendering/RenderLayerCompositor.h | |
parent | 14a561b2c1a0d30c36751ea756c773d70c9c4d76 (diff) | |
download | external_webkit-e0aa068729e4558f198f02f9217b11a05fe3d1d3.zip external_webkit-e0aa068729e4558f198f02f9217b11a05fe3d1d3.tar.gz external_webkit-e0aa068729e4558f198f02f9217b11a05fe3d1d3.tar.bz2 |
Reduce the number of layers
- overflow elements triggered all layers before them to be composited;
this is not needed at all...
- fixed elements will trigger layers after them to be composited, but
we don't need to composite all of them -- the one fully contained
into previous composited layers don't need to...
bug:5069090
Change-Id: I65f789f490b837a16096b4cb186c45ade1605b41
Diffstat (limited to 'Source/WebCore/rendering/RenderLayerCompositor.h')
-rw-r--r-- | Source/WebCore/rendering/RenderLayerCompositor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebCore/rendering/RenderLayerCompositor.h b/Source/WebCore/rendering/RenderLayerCompositor.h index 0315050..813e265 100644 --- a/Source/WebCore/rendering/RenderLayerCompositor.h +++ b/Source/WebCore/rendering/RenderLayerCompositor.h @@ -218,6 +218,10 @@ private: void updateCompositingLayersTimerFired(Timer<RenderLayerCompositor>*); +#if ENABLE(COMPOSITED_FIXED_ELEMENTS) + bool checkForFixedLayers(Vector<RenderLayer*>* list, bool stopAtFixedLayer); +#endif + // Returns true if any layer's compositing changed void computeCompositingRequirements(RenderLayer*, OverlapMap*, struct CompositingState&, bool& layersChanged); |