| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 // GL_CHROMIUM_command_buffer_query | 118 // GL_CHROMIUM_command_buffer_query |
| 119 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 | 119 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 |
| 120 | 120 |
| 121 /* GL_CHROMIUM_get_error_query */ | 121 /* GL_CHROMIUM_get_error_query */ |
| 122 #define GL_GET_ERROR_QUERY_CHROMIUM 0x84F3 | 122 #define GL_GET_ERROR_QUERY_CHROMIUM 0x84F3 |
| 123 | 123 |
| 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 0x84F8 |
| 129 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F6 | 129 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x84F9 |
| 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_gpu_memory_buffer_image | 134 // GL_CHROMIUM_gpu_memory_buffer_image |
| 135 #define GL_MAP_CHROMIUM 0x78F1 | 135 #define GL_MAP_CHROMIUM 0x78F1 |
| 136 #define GL_SCANOUT_CHROMIUM 0x78F2 | 136 #define GL_SCANOUT_CHROMIUM 0x78F2 |
| 137 | 137 |
| 138 // GL_CHROMIUM_schedule_overlay_plane | 138 // GL_CHROMIUM_schedule_overlay_plane |
| 139 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 | 139 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 #elif defined(OS_ANDROID) | 411 #elif defined(OS_ANDROID) |
| 412 | 412 |
| 413 GL_EXPORT extern EGLApi* g_current_egl_context; | 413 GL_EXPORT extern EGLApi* g_current_egl_context; |
| 414 GL_EXPORT extern DriverEGL g_driver_egl; | 414 GL_EXPORT extern DriverEGL g_driver_egl; |
| 415 | 415 |
| 416 #endif | 416 #endif |
| 417 | 417 |
| 418 } // namespace gfx | 418 } // namespace gfx |
| 419 | 419 |
| 420 #endif // UI_GL_GL_BINDINGS_H_ | 420 #endif // UI_GL_GL_BINDINGS_H_ |
| OLD | NEW |