Index: ui/gl/gl_image_surface_texture.h |
diff --git a/ui/gl/gl_image_surface_texture.h b/ui/gl/gl_image_surface_texture.h |
index 808f85b7d5dccb4b8a6df27a2a886abad1b644d4..9bbde27162af9e1bcf2e848b526e82dac18e9115 100644 |
--- a/ui/gl/gl_image_surface_texture.h |
+++ b/ui/gl/gl_image_surface_texture.h |
@@ -7,7 +7,6 @@ |
#include "base/memory/ref_counted.h" |
#include "base/threading/thread_checker.h" |
-#include "ui/gl/gl_bindings.h" |
#include "ui/gl/gl_image.h" |
namespace gfx { |
@@ -47,8 +46,12 @@ class GL_EXPORT GLImageSurfaceTexture : public GLImage { |
private: |
scoped_refptr<gfx::SurfaceTexture> surface_texture_; |
const gfx::Size size_; |
- GLint texture_id_; |
base::ThreadChecker thread_checker_; |
+ unsigned framebuffer_ = 0; |
Daniele Castagna
2015/11/03 19:57:34
Should we try to share this state before this CL?
reveman
2015/12/05 23:09:08
Long term that would be nice but there are some op
|
+ unsigned vertex_shader_ = 0; |
+ unsigned fragment_shader_ = 0; |
+ unsigned program_ = 0; |
+ unsigned vertex_buffer_ = 0; |
DISALLOW_COPY_AND_ASSIGN(GLImageSurfaceTexture); |
}; |