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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 | 141 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 |
142 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 | 142 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 |
143 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 | 143 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 |
144 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 | 144 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 |
145 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A | 145 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A |
146 | 146 |
147 // GL_CHROMIUM_subscribe_uniforms | 147 // GL_CHROMIUM_subscribe_uniforms |
148 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B | 148 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B |
149 #define GL_MOUSE_POSITION_CHROMIUM 0x924C | 149 #define GL_MOUSE_POSITION_CHROMIUM 0x924C |
150 | 150 |
| 151 // GL_CHROMIUM_custom_matrix |
| 152 #define GL_CUSTOM_MATRIX_STREAM_TEXTURE_CHROMIUM 0x9290 |
| 153 |
151 // GL_OES_texure_3D | 154 // GL_OES_texure_3D |
152 #define GL_SAMPLER_3D_OES 0x8B5F | 155 #define GL_SAMPLER_3D_OES 0x8B5F |
153 | 156 |
154 // GL_OES_depth24 | 157 // GL_OES_depth24 |
155 #define GL_DEPTH_COMPONENT24_OES 0x81A6 | 158 #define GL_DEPTH_COMPONENT24_OES 0x81A6 |
156 | 159 |
157 // GL_OES_depth32 | 160 // GL_OES_depth32 |
158 #define GL_DEPTH_COMPONENT32_OES 0x81A7 | 161 #define GL_DEPTH_COMPONENT32_OES 0x81A7 |
159 | 162 |
160 // GL_OES_packed_depth_stencil | 163 // GL_OES_packed_depth_stencil |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 #elif defined(OS_ANDROID) | 501 #elif defined(OS_ANDROID) |
499 | 502 |
500 GL_EXPORT extern EGLApi* g_current_egl_context; | 503 GL_EXPORT extern EGLApi* g_current_egl_context; |
501 GL_EXPORT extern DriverEGL g_driver_egl; | 504 GL_EXPORT extern DriverEGL g_driver_egl; |
502 | 505 |
503 #endif | 506 #endif |
504 | 507 |
505 } // namespace gfx | 508 } // namespace gfx |
506 | 509 |
507 #endif // UI_GL_GL_BINDINGS_H_ | 510 #endif // UI_GL_GL_BINDINGS_H_ |
OLD | NEW |