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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 // GL_CHROMIUM_command_buffer_query | 119 // GL_CHROMIUM_command_buffer_query |
120 #define GL_COMMANDS_ISSUED_CHROMIUM 0x6004 | 120 #define GL_COMMANDS_ISSUED_CHROMIUM 0x6004 |
121 | 121 |
122 /* GL_CHROMIUM_get_error_query */ | 122 /* GL_CHROMIUM_get_error_query */ |
123 #define GL_GET_ERROR_QUERY_CHROMIUM 0x6003 | 123 #define GL_GET_ERROR_QUERY_CHROMIUM 0x6003 |
124 | 124 |
125 /* GL_CHROMIUM_command_buffer_latency_query */ | 125 /* GL_CHROMIUM_command_buffer_latency_query */ |
126 #define GL_LATENCY_QUERY_CHROMIUM 0x6007 | 126 #define GL_LATENCY_QUERY_CHROMIUM 0x6007 |
127 | 127 |
128 /* GL_CHROMIUM_async_pixel_transfers */ | 128 /* GL_CHROMIUM_async_pixel_transfers */ |
129 #define GL_ASYNC_PIXEL_UNPACK_COMPLETED_CHROMIUM 0x6005 | |
130 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x6006 | 129 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x6006 |
131 | 130 |
132 // GL_CHROMIUM_sync_query | 131 // GL_CHROMIUM_sync_query |
133 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 | 132 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 |
134 | 133 |
135 // GL_CHROMIUM_gpu_memory_buffer_image | 134 // GL_CHROMIUM_gpu_memory_buffer_image |
136 #define GL_MAP_CHROMIUM 0x78F1 | 135 #define GL_MAP_CHROMIUM 0x78F1 |
137 #define GL_SCANOUT_CHROMIUM 0x78F2 | 136 #define GL_SCANOUT_CHROMIUM 0x78F2 |
138 | 137 |
139 // GL_CHROMIUM_yuv_420_image | 138 // GL_CHROMIUM_yuv_420_image |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
462 #elif defined(OS_ANDROID) | 461 #elif defined(OS_ANDROID) |
463 | 462 |
464 GL_EXPORT extern EGLApi* g_current_egl_context; | 463 GL_EXPORT extern EGLApi* g_current_egl_context; |
465 GL_EXPORT extern DriverEGL g_driver_egl; | 464 GL_EXPORT extern DriverEGL g_driver_egl; |
466 | 465 |
467 #endif | 466 #endif |
468 | 467 |
469 } // namespace gfx | 468 } // namespace gfx |
470 | 469 |
471 #endif // UI_GL_GL_BINDINGS_H_ | 470 #endif // UI_GL_GL_BINDINGS_H_ |
OLD | NEW |