OLD | NEW |
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 #define GL_SCANOUT_CHROMIUM 0x78F2 | 136 #define GL_SCANOUT_CHROMIUM 0x78F2 |
137 | 137 |
138 // GL_CHROMIUM_schedule_overlay_plane | 138 // GL_CHROMIUM_schedule_overlay_plane |
139 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 | 139 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 |
140 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 | 140 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 |
141 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 | 141 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 |
142 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 | 142 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 |
143 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 | 143 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 |
144 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A | 144 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A |
145 | 145 |
| 146 // GL_CHROMIUM_subscribe_uniforms |
| 147 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B |
| 148 #define GL_MOUSE_POSITION_CHROMIUM 0x924C |
| 149 |
146 // GL_OES_texure_3D | 150 // GL_OES_texure_3D |
147 #define GL_SAMPLER_3D_OES 0x8B5F | 151 #define GL_SAMPLER_3D_OES 0x8B5F |
148 | 152 |
149 // GL_OES_depth24 | 153 // GL_OES_depth24 |
150 #define GL_DEPTH_COMPONENT24_OES 0x81A6 | 154 #define GL_DEPTH_COMPONENT24_OES 0x81A6 |
151 | 155 |
152 // GL_OES_depth32 | 156 // GL_OES_depth32 |
153 #define GL_DEPTH_COMPONENT32_OES 0x81A7 | 157 #define GL_DEPTH_COMPONENT32_OES 0x81A7 |
154 | 158 |
155 // GL_OES_packed_depth_stencil | 159 // GL_OES_packed_depth_stencil |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 #elif defined(OS_ANDROID) | 411 #elif defined(OS_ANDROID) |
408 | 412 |
409 GL_EXPORT extern EGLApi* g_current_egl_context; | 413 GL_EXPORT extern EGLApi* g_current_egl_context; |
410 GL_EXPORT extern DriverEGL g_driver_egl; | 414 GL_EXPORT extern DriverEGL g_driver_egl; |
411 | 415 |
412 #endif | 416 #endif |
413 | 417 |
414 } // namespace gfx | 418 } // namespace gfx |
415 | 419 |
416 #endif // UI_GL_GL_BINDINGS_H_ | 420 #endif // UI_GL_GL_BINDINGS_H_ |
OLD | NEW |