diff options
author | Nicolas Roard <nicolas@android.com> | 2011-01-26 14:46:30 -0800 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2011-01-26 14:46:30 -0800 |
commit | 4c0f1a51d7d3b51a1f241aa700f9ed5b3b23998c (patch) | |
tree | b43179d9105c4e5e6c968662f99eb0e5fa48b1e6 /WebCore/platform/graphics/android/TilesManager.h | |
parent | ed03e47015ce173c535ea9da8b61548db718e80e (diff) | |
download | external_webkit-4c0f1a51d7d3b51a1f241aa700f9ed5b3b23998c.zip external_webkit-4c0f1a51d7d3b51a1f241aa700f9ed5b3b23998c.tar.gz external_webkit-4c0f1a51d7d3b51a1f241aa700f9ed5b3b23998c.tar.bz2 |
Fix the flickering bug. We return any previous textures used by the
layer until we get the new one ready.
bug:3391157 bug:3393571
Change-Id: I81dce23f79be788c3c0bfb0ccfd54d08156dfe3f
Diffstat (limited to 'WebCore/platform/graphics/android/TilesManager.h')
-rw-r--r-- | WebCore/platform/graphics/android/TilesManager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/TilesManager.h b/WebCore/platform/graphics/android/TilesManager.h index c09a388..0338ece 100644 --- a/WebCore/platform/graphics/android/TilesManager.h +++ b/WebCore/platform/graphics/android/TilesManager.h @@ -72,7 +72,7 @@ public: void printLayersTextures(const char* s); void cleanupLayersTextures(LayerAndroid* layer, bool forceCleanup = false); LayerTexture* getExistingTextureForLayer(LayerAndroid* layer, const IntRect& rect, - bool any = false); + bool any = false, LayerTexture* texture = 0); LayerTexture* createTextureForLayer(LayerAndroid* layer, const IntRect& rect); void markGeneratorAsReady() |