Index: ui/gl/gl_image_shm.h |
diff --git a/ui/gl/gl_image_shm.h b/ui/gl/gl_image_shm.h |
index fea9d33df5713669eeac0ca8a2f8114b7a675a20..0aee2cbd68dcd8316d8eae078db629b745f3ab95 100644 |
--- a/ui/gl/gl_image_shm.h |
+++ b/ui/gl/gl_image_shm.h |
@@ -6,6 +6,7 @@ |
#define UI_GL_GL_IMAGE_SHM_H_ |
#include "base/memory/scoped_ptr.h" |
+#include "ui/gl/gl_bindings.h" |
#include "ui/gl/gl_image.h" |
namespace gfx { |
@@ -33,6 +34,11 @@ class GL_EXPORT GLImageShm : public GLImage { |
scoped_ptr<base::SharedMemory> shared_memory_; |
gfx::Size size_; |
unsigned internalformat_; |
+#if defined(OS_WIN) || defined(USE_X11) || defined(OS_ANDROID) || \ |
+ defined(USE_OZONE) |
+ GLuint egl_texture_id_; |
+ EGLImageKHR egl_image_; |
+#endif |
DISALLOW_COPY_AND_ASSIGN(GLImageShm); |
}; |