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

Side by Side 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: mac build break Created 6 years, 8 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | ui/gl/gl_image_egl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_GL_GL_IMAGE_EGL_H_ 5 #ifndef UI_GL_GL_IMAGE_EGL_H_
6 #define UI_GL_GL_IMAGE_EGL_H_ 6 #define UI_GL_GL_IMAGE_EGL_H_
7 7
8 #include "ui/gl/gl_bindings.h" // for EGLImageKHR 8 #include "ui/gl/gl_bindings.h" // for EGLImageKHR
9 #include "ui/gl/gl_image.h" 9 #include "ui/gl/gl_image.h"
10 10
(...skipping 18 matching lines...) Expand all
29 29
30 protected: 30 protected:
31 virtual ~GLImageEGL(); 31 virtual ~GLImageEGL();
32 32
33 private: 33 private:
34 EGLImageKHR egl_image_; 34 EGLImageKHR egl_image_;
35 gfx::Size size_; 35 gfx::Size size_;
36 bool release_after_use_; 36 bool release_after_use_;
37 bool in_use_; 37 bool in_use_;
38 unsigned target_; 38 unsigned target_;
39 EGLImageKHR egl_image_for_unbind_;
40 GLuint texture_id_for_unbind_;
39 41
40 DISALLOW_COPY_AND_ASSIGN(GLImageEGL); 42 DISALLOW_COPY_AND_ASSIGN(GLImageEGL);
41 }; 43 };
42 44
43 } // namespace gfx 45 } // namespace gfx
44 46
45 #endif // UI_GL_GL_IMAGE_EGL_H_ 47 #endif // UI_GL_GL_IMAGE_EGL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl.cc ('k') | ui/gl/gl_image_egl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698