diff options
author | Nicolas Roard <nicolas@android.com> | 2010-12-13 10:06:43 -0800 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2010-12-13 10:06:43 -0800 |
commit | e846e5780f8a50e85389d25846b866ba79e85e14 (patch) | |
tree | 4836ddc2531a0c5f840024fe4f4157098ccd6abc /WebCore/platform/graphics/android/DoubleBufferedTexture.h | |
parent | 83ddee4501f0c2f48d1073e0185a2fb0a732c929 (diff) | |
download | external_webkit-e846e5780f8a50e85389d25846b866ba79e85e14.zip external_webkit-e846e5780f8a50e85389d25846b866ba79e85e14.tar.gz external_webkit-e846e5780f8a50e85389d25846b866ba79e85e14.tar.bz2 |
Fix onDestroy()
Change-Id: Ie58ff8d0da2159639b2c05ea14a5bea811824d3e
Diffstat (limited to 'WebCore/platform/graphics/android/DoubleBufferedTexture.h')
-rw-r--r-- | WebCore/platform/graphics/android/DoubleBufferedTexture.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/WebCore/platform/graphics/android/DoubleBufferedTexture.h b/WebCore/platform/graphics/android/DoubleBufferedTexture.h index c028302..c7f5f49 100644 --- a/WebCore/platform/graphics/android/DoubleBufferedTexture.h +++ b/WebCore/platform/graphics/android/DoubleBufferedTexture.h @@ -51,17 +51,13 @@ public: void consumerRelease(); protected: - // enables sub-classes to signal the provider thread that the consumer is - // being deleted and therefore should clean up any producer specific - // textures or EGLImages - virtual void onDestroy(SharedTexture** textures) { }; + SharedTexture m_textureA; + SharedTexture m_textureB; private: SharedTexture* getReadableTexture(); SharedTexture* getWriteableTexture(); - SharedTexture m_textureA; - SharedTexture m_textureB; SharedTexture* m_writeableTexture; SharedTexture* m_lockedConsumerTexture; // only used by the consumer |