| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 /* GL_CHROMIUM_command_buffer_latency_query */ | 124 /* GL_CHROMIUM_command_buffer_latency_query */ |
| 125 #define GL_LATENCY_QUERY_CHROMIUM 0x84F4 | 125 #define GL_LATENCY_QUERY_CHROMIUM 0x84F4 |
| 126 | 126 |
| 127 /* GL_CHROMIUM_async_pixel_transfers */ | 127 /* GL_CHROMIUM_async_pixel_transfers */ |
| 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 | |
| 135 #define GL_IMAGE_ROWBYTES_CHROMIUM 0x78F0 | |
| 136 #define GL_IMAGE_MAP_CHROMIUM 0x78F1 | |
| 137 #define GL_IMAGE_SCANOUT_CHROMIUM 0x78F2 | |
| 138 | |
| 139 // GL_CHROMIUM_gpu_memory_buffer_image | 134 // GL_CHROMIUM_gpu_memory_buffer_image |
| 140 #define GL_MAP_CHROMIUM 0x78F1 | 135 #define GL_MAP_CHROMIUM 0x78F1 |
| 141 #define GL_SCANOUT_CHROMIUM 0x78F2 | 136 #define GL_SCANOUT_CHROMIUM 0x78F2 |
| 142 | 137 |
| 143 // GL_CHROMIUM_schedule_overlay_plane | 138 // GL_CHROMIUM_schedule_overlay_plane |
| 144 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 | 139 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 |
| 145 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 | 140 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 |
| 146 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 | 141 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 |
| 147 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 | 142 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 |
| 148 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 | 143 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 #elif defined(OS_ANDROID) | 368 #elif defined(OS_ANDROID) |
| 374 | 369 |
| 375 GL_EXPORT extern EGLApi* g_current_egl_context; | 370 GL_EXPORT extern EGLApi* g_current_egl_context; |
| 376 GL_EXPORT extern DriverEGL g_driver_egl; | 371 GL_EXPORT extern DriverEGL g_driver_egl; |
| 377 | 372 |
| 378 #endif | 373 #endif |
| 379 | 374 |
| 380 } // namespace gfx | 375 } // namespace gfx |
| 381 | 376 |
| 382 #endif // UI_GL_GL_BINDINGS_H_ | 377 #endif // UI_GL_GL_BINDINGS_H_ |
| OLD | NEW |