Chromium Code Reviews| Index: cc/CCLayerTreeHost.h |
| diff --git a/cc/CCLayerTreeHost.h b/cc/CCLayerTreeHost.h |
| index 6d4c198cd7384becfd111280f3f7d45cfa061de9..b2e79c7c9715127d4383783e6834fab411d58b49 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); |
|
nduca
2012/09/13 20:23:04
wat?
|
| 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; |