diff options
author | Nicolas Roard <nicolas@android.com> | 2011-01-16 18:27:55 -0800 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2011-01-17 13:21:39 -0800 |
commit | 1a8134698fa0b94387482fb4b45341faa8fe6a38 (patch) | |
tree | bdd06ce24713cce2168356f2289665f88a732492 /WebCore/platform/graphics/android/TilesManager.h | |
parent | 2a72fb6cf823503e177d0ff93ee6fac5df9f19f8 (diff) | |
download | external_webkit-1a8134698fa0b94387482fb4b45341faa8fe6a38.zip external_webkit-1a8134698fa0b94387482fb4b45341faa8fe6a38.tar.gz external_webkit-1a8134698fa0b94387482fb4b45341faa8fe6a38.tar.bz2 |
Implement re-scaling for layers
Change-Id: I1f998387831207d00f27945ee4e456f81ff6f6e2
Change-Id: I7efcccfd9a4374061300058d4c48fa82a973829a
Diffstat (limited to 'WebCore/platform/graphics/android/TilesManager.h')
-rw-r--r-- | WebCore/platform/graphics/android/TilesManager.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/TilesManager.h b/WebCore/platform/graphics/android/TilesManager.h index e69db4c..576d508 100644 --- a/WebCore/platform/graphics/android/TilesManager.h +++ b/WebCore/platform/graphics/android/TilesManager.h @@ -55,6 +55,11 @@ public: m_pixmapsGenerationThread->removeOperationsForBaseLayer(layer); } + void removeOperationsForTexture(LayerTexture* texture) + { + m_pixmapsGenerationThread->removeOperationsForTexture(texture); + } + void scheduleOperation(QueuedOperation* operation) { m_pixmapsGenerationThread->scheduleOperation(operation); @@ -65,7 +70,7 @@ public: BackedDoubleBufferedTexture* getAvailableTexture(BaseTile* owner); void printLayersTextures(const char* s); - void cleanupLayersTextures(bool forceCleanup = false); + void cleanupLayersTextures(LayerAndroid* layer, bool forceCleanup = false); LayerTexture* getExistingTextureForLayer(LayerAndroid* layer); LayerTexture* createTextureForLayer(LayerAndroid* layer); @@ -99,6 +104,8 @@ private: Vector<LayerTexture*> m_layersTextures; unsigned int m_layersMemoryUsage; + GLint m_maxTextureSize; + unsigned int m_totalMaxTextureSize; bool m_generatorReady; |