Index: cc/CCLayerTreeHost.h |
diff --git a/cc/CCLayerTreeHost.h b/cc/CCLayerTreeHost.h |
index 6d4c198cd7384becfd111280f3f7d45cfa061de9..dd99ff1cc195d00052cc031536824683622ccd83 100644 |
--- a/cc/CCLayerTreeHost.h |
+++ b/cc/CCLayerTreeHost.h |
@@ -139,7 +139,7 @@ public: |
virtual void acquireLayerTextures(); |
// Returns false if we should abort this frame due to initialization failure. |
bool initializeRendererIfNeeded(); |
- void updateLayers(CCTextureUpdateQueue&, size_t contentsMemoryLimitBytes); |
+ void updateLayers(CCTextureUpdateQueue&, size_t contentsMemoryLimitBytes, size_t maxTextureUpdates); |
CCLayerTreeHostClient* client() { return m_client; } |
@@ -232,7 +232,7 @@ private: |
bool paintLayerContents(const LayerList&, CCTextureUpdateQueue&); |
bool paintMasksForRenderSurface(LayerChromium*, CCTextureUpdateQueue&); |
- void updateLayers(LayerChromium*, CCTextureUpdateQueue&); |
+ void updateLayers(LayerChromium*, CCTextureUpdateQueue&, size_t maxTextureUpdates); |
void prioritizeTextures(const LayerList&, CCOverdrawMetrics&); |
void setPrioritiesForSurfaces(size_t surfaceMemoryBytes); |
@@ -283,6 +283,7 @@ private: |
bool m_hasTransparentBackground; |
TextureList m_deleteTextureAfterCommitList; |
+ size_t m_maxPartialTextureUpdates; |
size_t m_partialTextureUpdateRequests; |
static bool s_needsFilterContext; |