summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/DoubleBufferedTexture.h
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2010-10-18 13:35:08 -0400
committerDerek Sollenberger <djsollen@google.com>2010-10-19 13:50:28 -0400
commita52793c453c1512d0a18d4ae3108a975f998ae45 (patch)
tree86db463d3ed062570c1064869c67ae33770db6c0 /WebCore/platform/graphics/android/DoubleBufferedTexture.h
parent456bc40a2584f222aecc5331f26ae5ce7a9fc8aa (diff)
downloadexternal_webkit-a52793c453c1512d0a18d4ae3108a975f998ae45.zip
external_webkit-a52793c453c1512d0a18d4ae3108a975f998ae45.tar.gz
external_webkit-a52793c453c1512d0a18d4ae3108a975f998ae45.tar.bz2
Cleanup BaseTile and BackedDoubleBufferedTexture classes.
The cleanup consists of: 1. removing unused variables and functions 2. refactoring the backed texture to reduce number of exposed variables Change-Id: I8a36725f61c5ecd77b7a215ec75a7b8129bf56af
Diffstat (limited to 'WebCore/platform/graphics/android/DoubleBufferedTexture.h')
-rw-r--r--WebCore/platform/graphics/android/DoubleBufferedTexture.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/DoubleBufferedTexture.h b/WebCore/platform/graphics/android/DoubleBufferedTexture.h
index d6d06ab..de75479 100644
--- a/WebCore/platform/graphics/android/DoubleBufferedTexture.h
+++ b/WebCore/platform/graphics/android/DoubleBufferedTexture.h
@@ -38,8 +38,9 @@ public:
virtual ~DoubleBufferedTexture() { }
// provider thread functions
- TextureInfo* producerLock();
- void producerRelease();
+ virtual TextureInfo* producerLock();
+ virtual void producerRelease();
+ virtual void producerReleaseAndSwap();
EGLContext producerAcquireContext();
// consumer thread functions
@@ -56,6 +57,7 @@ protected:
private:
SharedTexture* getWriteableTexture();
+ SharedTexture* producerReleaseTexture();
EGLDisplay m_display;