diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/TextureInfo.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/TextureInfo.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/WebCore/platform/graphics/android/TextureInfo.h b/Source/WebCore/platform/graphics/android/TextureInfo.h index c1cb1cd..fda85da 100644 --- a/Source/WebCore/platform/graphics/android/TextureInfo.h +++ b/Source/WebCore/platform/graphics/android/TextureInfo.h @@ -31,9 +31,11 @@ #include <jni.h> #include <ui/GraphicBuffer.h> #include <utils/RefBase.h> - +#include "BaseTile.h" using android::sp; +#define DEPRECATED_SURFACE_TEXTURE_MODE 0 + namespace android { class SurfaceTexture; } @@ -68,12 +70,15 @@ public: GLenum m_internalFormat; // Surface Texture specific data +#if DEPRECATED_SURFACE_TEXTURE_MODE sp<android::SurfaceTexture> m_surfaceTexture; +#endif + // TODO: Delete this after the Ganesh code path get fixed. sp<ANativeWindow> m_ANW; - // The EGLSurface wraps the m_ANW to enable direct OpenGL rendering (e.g. Ganesh) EGLSurface m_eglSurface; + int m_pictureCount; private: SharedTextureMode m_sharedTextureMode; }; |