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 #include <string> | 8 #include <string> |
9 | 9 |
10 // Includes the platform independent and platform dependent GL headers. | 10 // Includes the platform independent and platform dependent GL headers. |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 // GL_CHROMIUM_gpu_memory_buffer_image | 129 // GL_CHROMIUM_gpu_memory_buffer_image |
130 #define GL_MAP_CHROMIUM 0x78F1 | 130 #define GL_MAP_CHROMIUM 0x78F1 |
131 #define GL_SCANOUT_CHROMIUM 0x78F2 | 131 #define GL_SCANOUT_CHROMIUM 0x78F2 |
132 | 132 |
133 // GL_CHROMIUM_yuv_420_image | 133 // GL_CHROMIUM_yuv_420_image |
134 #define GL_RGB_YUV_420_CHROMIUM 0x78FA | 134 #define GL_RGB_YUV_420_CHROMIUM 0x78FA |
135 | 135 |
136 // GL_CHROMIUM_ycbcr_422_image | 136 // GL_CHROMIUM_ycbcr_422_image |
137 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB | 137 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB |
138 | 138 |
| 139 // GL_CHROMIUM_ycbcr_420v_image |
| 140 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC |
| 141 |
139 // GL_CHROMIUM_schedule_overlay_plane | 142 // GL_CHROMIUM_schedule_overlay_plane |
140 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 | 143 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 |
141 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 | 144 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 |
142 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 | 145 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 |
143 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 | 146 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 |
144 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 | 147 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 |
145 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A | 148 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A |
146 | 149 |
147 // GL_CHROMIUM_subscribe_uniforms | 150 // GL_CHROMIUM_subscribe_uniforms |
148 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B | 151 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
456 #elif defined(OS_ANDROID) | 459 #elif defined(OS_ANDROID) |
457 | 460 |
458 GL_EXPORT extern EGLApi* g_current_egl_context; | 461 GL_EXPORT extern EGLApi* g_current_egl_context; |
459 GL_EXPORT extern DriverEGL g_driver_egl; | 462 GL_EXPORT extern DriverEGL g_driver_egl; |
460 | 463 |
461 #endif | 464 #endif |
462 | 465 |
463 } // namespace gfx | 466 } // namespace gfx |
464 | 467 |
465 #endif // UI_GL_GL_BINDINGS_H_ | 468 #endif // UI_GL_GL_BINDINGS_H_ |
OLD | NEW |