summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/DoubleBufferedTexture.h
diff options
context:
space:
mode:
authorNicolas Roard <nicolas@android.com>2010-12-13 10:06:43 -0800
committerNicolas Roard <nicolas@android.com>2010-12-13 10:06:43 -0800
commite846e5780f8a50e85389d25846b866ba79e85e14 (patch)
tree4836ddc2531a0c5f840024fe4f4157098ccd6abc /WebCore/platform/graphics/android/DoubleBufferedTexture.h
parent83ddee4501f0c2f48d1073e0185a2fb0a732c929 (diff)
downloadexternal_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.h8
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