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

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: 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..082897d863468273a311b6b1ef341357ae730af4 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 texture_id_;
reveman 2014/03/13 15:52:40 nit: maybe external_texture_id_ or something like
+ EGLImageKHR egl_imagekhr_;
reveman 2014/03/13 15:52:40 nit: 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