Chromium Code Reviews| Index: ui/gl/gl_image_shm.h |
| diff --git a/ui/gl/gl_image_shm.h b/ui/gl/gl_image_shm.h |
| index efff1ed52bc1f251152a0c122cb592c6e93dffa2..69d34221c2026ff873a5fb229fc0cc04ed9b2bdd 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 { |
| @@ -15,6 +16,9 @@ class GL_EXPORT GLImageShm : public GLImage { |
| GLImageShm(gfx::Size size, unsigned internalformat); |
| bool Initialize(gfx::GpuMemoryBufferHandle buffer); |
| + void CreateTexture2D(); |
|
reveman
2014/03/18 10:41:04
this is not implemented.
|
| + bool CreateEGLImage(); |
| + void SetGLParameters(); |
| // Overridden from GLImage: |
| virtual void Destroy() OVERRIDE; |
| @@ -31,6 +35,8 @@ class GL_EXPORT GLImageShm : public GLImage { |
| scoped_ptr<base::SharedMemory> shared_memory_; |
| gfx::Size size_; |
| unsigned internalformat_; |
| + GLuint external_texture_id_; |
|
reveman
2014/03/18 10:41:04
Sorry, I know I asked you to call this external_te
|
| + EGLImageKHR egl_image_; |
| DISALLOW_COPY_AND_ASSIGN(GLImageShm); |
| }; |