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

Unified Diff: ui/gl/gl_image_egl.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: creating eglimage and texture everytime during bindteximage + comments 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_egl.h
diff --git a/ui/gl/gl_image_egl.h b/ui/gl/gl_image_egl.h
index 5a1b5b3647c737ba2de5a18f4952a8a3956f677e..02768fdaf6867ef4434c9d06cec5e25eb31d6349 100644
--- a/ui/gl/gl_image_egl.h
+++ b/ui/gl/gl_image_egl.h
@@ -36,6 +36,8 @@ class GL_EXPORT GLImageEGL : public GLImage {
bool release_after_use_;
bool in_use_;
unsigned target_;
+ EGLImageKHR egl_image_for_unbind_;
+ GLuint texture_id_for_unbind_;
DISALLOW_COPY_AND_ASSIGN(GLImageEGL);
};
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | ui/gl/gl_image_egl.cc » ('j') | ui/gl/gl_image_egl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698