Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Unified Diff: ui/gl/gl_image_shm.h

Issue 198703002: Add GL_TEXTURE_EXTERNAL_OES as supported texture target for CHROMIUM_map_image. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Save/restore GL states + nits Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..5240cf584b4a03bf7f579b9d3cdfcc72dcdf6593 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 {
@@ -31,6 +32,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/14 14:06:22 nit: you use GLint for texture ids in the .cc file
sohanjg 2014/03/15 10:03:53 this maybe tricky as in .cc we do a glGetIntegerv(
reveman 2014/03/15 14:08:45 Ok. Current code is good then.
+ EGLImageKHR egl_image_;
DISALLOW_COPY_AND_ASSIGN(GLImageShm);
};
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | ui/gl/gl_image_shm.cc » ('j') | ui/gl/gl_image_shm.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698