[chromium] Compute occlusion during paint loop
[WebKit-https.git] / Source / WebCore / platform / graphics / chromium / cc / CCLayerTreeHost.h
index 81b5f25..f58203d 100644 (file)
@@ -48,6 +48,7 @@ class CCLayerTreeHostImpl;
 class CCTextureUpdater;
 class GraphicsContext3D;
 class LayerPainterChromium;
+class Region;
 class TextureAllocator;
 class TextureManager;
 
@@ -205,7 +206,7 @@ private:
     typedef Vector<OwnPtr<ManagedTexture> > TextureList;
 
     enum PaintType { PaintVisible, PaintIdle };
-    static void paintContentsIfDirty(LayerChromium*, PaintType);
+    static void paintContentsIfDirty(LayerChromium*, PaintType, const Region& occludedScreenSpace);
     void paintLayerContents(const LayerList&, PaintType);
     void paintMaskAndReplicaForRenderSurface(LayerChromium*, PaintType);