diff options
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 |