diff options
Diffstat (limited to 'Source/WebCore/platform/graphics/android/TextureInfo.h')
-rw-r--r-- | Source/WebCore/platform/graphics/android/TextureInfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/TextureInfo.h b/Source/WebCore/platform/graphics/android/TextureInfo.h index 252d288..c1cb1cd 100644 --- a/Source/WebCore/platform/graphics/android/TextureInfo.h +++ b/Source/WebCore/platform/graphics/android/TextureInfo.h @@ -26,6 +26,7 @@ #ifndef TextureInfo_h #define TextureInfo_h +#include <EGL/egl.h> #include <GLES2/gl2.h> #include <jni.h> #include <ui/GraphicBuffer.h> @@ -70,6 +71,9 @@ public: sp<android::SurfaceTexture> m_surfaceTexture; sp<ANativeWindow> m_ANW; + // The EGLSurface wraps the m_ANW to enable direct OpenGL rendering (e.g. Ganesh) + EGLSurface m_eglSurface; + private: SharedTextureMode m_sharedTextureMode; }; |