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

Side by Side Diff: ui/gl/gl_bindings.h

Issue 2999923002: Revert of Allow creating GLImage-backed textures with glTexStorage2D. (Closed)
Patch Set: rebase Created 3 years, 4 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 | « gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.cc ('k') | ui/gl/gl_image.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BINDINGS_H_ 5 #ifndef UI_GL_GL_BINDINGS_H_
6 #define UI_GL_GL_BINDINGS_H_ 6 #define UI_GL_GL_BINDINGS_H_
7 7
8 // Includes the platform independent and platform dependent GL headers. 8 // Includes the platform independent and platform dependent GL headers.
9 // Only include this in cc files. It pulls in system headers, including 9 // Only include this in cc files. It pulls in system headers, including
10 // the X11 headers on linux, which define all kinds of macros that are 10 // the X11 headers on linux, which define all kinds of macros that are
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 // GL_CHROMIUM_sync_query 142 // GL_CHROMIUM_sync_query
143 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 143 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7
144 144
145 // GL_CHROMIUM_ycrcb_420_image 145 // GL_CHROMIUM_ycrcb_420_image
146 #define GL_RGB_YCRCB_420_CHROMIUM 0x78FA 146 #define GL_RGB_YCRCB_420_CHROMIUM 0x78FA
147 147
148 // GL_CHROMIUM_ycbcr_422_image 148 // GL_CHROMIUM_ycbcr_422_image
149 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB 149 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB
150 150
151 // GL_CHROMIUM_texture_buffer
152 #define GL_TEXTURE_BUFFER_USAGE_CHROMIUM 0x78FD
153 #define GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM 0x78FE
154
155 // GL_CHROMIUM_ycbcr_420v_image 151 // GL_CHROMIUM_ycbcr_420v_image
156 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC 152 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC
157 153
158 // GL_CHROMIUM_schedule_overlay_plane 154 // GL_CHROMIUM_schedule_overlay_plane
159 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 155 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245
160 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 156 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246
161 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 157 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247
162 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 158 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248
163 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 159 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249
164 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A 160 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 #endif 512 #endif
517 513
518 #if defined(USE_GLX) 514 #if defined(USE_GLX)
519 GL_EXPORT extern GLXApi* g_current_glx_context; 515 GL_EXPORT extern GLXApi* g_current_glx_context;
520 GL_EXPORT extern DriverGLX g_driver_glx; 516 GL_EXPORT extern DriverGLX g_driver_glx;
521 #endif 517 #endif
522 518
523 } // namespace gl 519 } // namespace gl
524 520
525 #endif // UI_GL_GL_BINDINGS_H_ 521 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_memory_buffer_factory_native_pixmap.cc ('k') | ui/gl/gl_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698