| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 // GL_CHROMIUM_gpu_memory_buffer_image | 129 // GL_CHROMIUM_gpu_memory_buffer_image |
| 130 #define GL_READ_WRITE_CHROMIUM 0x78F2 | 130 #define GL_READ_WRITE_CHROMIUM 0x78F2 |
| 131 | 131 |
| 132 // GL_CHROMIUM_yuv_420_image | 132 // GL_CHROMIUM_yuv_420_image |
| 133 #define GL_RGB_YUV_420_CHROMIUM 0x78FA | 133 #define GL_RGB_YUV_420_CHROMIUM 0x78FA |
| 134 | 134 |
| 135 // GL_CHROMIUM_ycbcr_422_image | 135 // GL_CHROMIUM_ycbcr_422_image |
| 136 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB | 136 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB |
| 137 | 137 |
| 138 // GL_CHROMIUM_ycbcr_420v_image |
| 139 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC |
| 140 |
| 138 // GL_CHROMIUM_schedule_overlay_plane | 141 // GL_CHROMIUM_schedule_overlay_plane |
| 139 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 | 142 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 |
| 140 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 | 143 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 |
| 141 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 | 144 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 |
| 142 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 | 145 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 |
| 143 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 | 146 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 |
| 144 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A | 147 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A |
| 145 | 148 |
| 146 // GL_CHROMIUM_subscribe_uniforms | 149 // GL_CHROMIUM_subscribe_uniforms |
| 147 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B | 150 #define GL_SUBSCRIBED_VALUES_BUFFER_CHROMIUM 0x924B |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 476 #elif defined(OS_ANDROID) | 479 #elif defined(OS_ANDROID) |
| 477 | 480 |
| 478 GL_EXPORT extern EGLApi* g_current_egl_context; | 481 GL_EXPORT extern EGLApi* g_current_egl_context; |
| 479 GL_EXPORT extern DriverEGL g_driver_egl; | 482 GL_EXPORT extern DriverEGL g_driver_egl; |
| 480 | 483 |
| 481 #endif | 484 #endif |
| 482 | 485 |
| 483 } // namespace gfx | 486 } // namespace gfx |
| 484 | 487 |
| 485 #endif // UI_GL_GL_BINDINGS_H_ | 488 #endif // UI_GL_GL_BINDINGS_H_ |
| OLD | NEW |