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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x84F5 | 128 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x84F5 |
129 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6 | 129 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6 |
130 | 130 |
131 // GL_CHROMIUM_sync_query | 131 // GL_CHROMIUM_sync_query |
132 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 | 132 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 |
133 | 133 |
134 // GL_CHROMIUM_image | 134 // GL_CHROMIUM_image |
135 #define GL_IMAGE_ROWBYTES_CHROMIUM 0x78F0 | 135 #define GL_IMAGE_ROWBYTES_CHROMIUM 0x78F0 |
136 #define GL_IMAGE_MAP_CHROMIUM 0x78F1 | 136 #define GL_IMAGE_MAP_CHROMIUM 0x78F1 |
137 #define GL_IMAGE_SCANOUT_CHROMIUM 0x78F2 | 137 #define GL_IMAGE_SCANOUT_CHROMIUM 0x78F2 |
| 138 #define GL_RGBX8_CHROMIUM 0x78F3 |
138 | 139 |
139 // GL_CHROMIUM_schedule_overlay_plane | 140 // GL_CHROMIUM_schedule_overlay_plane |
140 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 | 141 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 |
141 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 | 142 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 |
142 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 | 143 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 |
143 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 | 144 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 |
144 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 | 145 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 |
145 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A | 146 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A |
146 | 147 |
147 // GL_OES_texure_3D | 148 // GL_OES_texure_3D |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 #elif defined(OS_ANDROID) | 370 #elif defined(OS_ANDROID) |
370 | 371 |
371 GL_EXPORT extern EGLApi* g_current_egl_context; | 372 GL_EXPORT extern EGLApi* g_current_egl_context; |
372 GL_EXPORT extern DriverEGL g_driver_egl; | 373 GL_EXPORT extern DriverEGL g_driver_egl; |
373 | 374 |
374 #endif | 375 #endif |
375 | 376 |
376 } // namespace gfx | 377 } // namespace gfx |
377 | 378 |
378 #endif // UI_GL_GL_BINDINGS_H_ | 379 #endif // UI_GL_GL_BINDINGS_H_ |
OLD | NEW |