summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/DoubleBufferedTexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/android/DoubleBufferedTexture.h')
-rw-r--r--Source/WebCore/platform/graphics/android/DoubleBufferedTexture.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/WebCore/platform/graphics/android/DoubleBufferedTexture.h b/Source/WebCore/platform/graphics/android/DoubleBufferedTexture.h
index ba56c0e..57935d3 100644
--- a/Source/WebCore/platform/graphics/android/DoubleBufferedTexture.h
+++ b/Source/WebCore/platform/graphics/android/DoubleBufferedTexture.h
@@ -34,7 +34,7 @@ namespace WebCore {
class DoubleBufferedTexture {
public:
// consumer thread functions
- DoubleBufferedTexture(EGLContext sharedContext);
+ DoubleBufferedTexture(EGLContext sharedContext, SharedTextureMode mode);
virtual ~DoubleBufferedTexture();
// provider thread functions
@@ -53,8 +53,8 @@ protected:
SharedTexture* getReadableTexture();
SharedTexture* getWriteableTexture();
- SharedTexture m_textureA;
- SharedTexture m_textureB;
+ SharedTexture* m_textureA;
+ SharedTexture* m_textureB;
private:
@@ -66,6 +66,8 @@ private:
EGLContext m_cContext;
bool m_supportsEGLImage;
+
+ SharedTextureMode m_sharedTextureMode;
};
} // namespace WebCore