| 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // GL_CHROMIUM_sync_query | 132 // GL_CHROMIUM_sync_query |
| 133 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 | 133 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 |
| 134 | 134 |
| 135 // GL_CHROMIUM_gpu_memory_buffer_image | 135 // GL_CHROMIUM_gpu_memory_buffer_image |
| 136 #define GL_MAP_CHROMIUM 0x78F1 | 136 #define GL_MAP_CHROMIUM 0x78F1 |
| 137 #define GL_SCANOUT_CHROMIUM 0x78F2 | 137 #define GL_SCANOUT_CHROMIUM 0x78F2 |
| 138 | 138 |
| 139 // GL_CHROMIUM_yuv_420_image | 139 // GL_CHROMIUM_yuv_420_image |
| 140 #define GL_RGB_YUV_420_CHROMIUM 0x78FA | 140 #define GL_RGB_YUV_420_CHROMIUM 0x78FA |
| 141 | 141 |
| 142 // GL_CHROMIUM_ycbcr_422_image |
| 143 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB |
| 144 |
| 142 // GL_CHROMIUM_schedule_overlay_plane | 145 // GL_CHROMIUM_schedule_overlay_plane |
| 143 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 | 146 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 |
| 144 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 | 147 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 |
| 145 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 | 148 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 |
| 146 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 | 149 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 |
| 147 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 | 150 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 |
| 148 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A | 151 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A |
| 149 | 152 |
| 150 // GL_CHROMIUM_subscribe_uniforms | 153 // GL_CHROMIUM_subscribe_uniforms |
| 151 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B | 154 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 #elif defined(OS_ANDROID) | 462 #elif defined(OS_ANDROID) |
| 460 | 463 |
| 461 GL_EXPORT extern EGLApi* g_current_egl_context; | 464 GL_EXPORT extern EGLApi* g_current_egl_context; |
| 462 GL_EXPORT extern DriverEGL g_driver_egl; | 465 GL_EXPORT extern DriverEGL g_driver_egl; |
| 463 | 466 |
| 464 #endif | 467 #endif |
| 465 | 468 |
| 466 } // namespace gfx | 469 } // namespace gfx |
| 467 | 470 |
| 468 #endif // UI_GL_GL_BINDINGS_H_ | 471 #endif // UI_GL_GL_BINDINGS_H_ |
| OLD | NEW |