| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 /* GL_CHROMIUM_command_buffer_latency_query */ | 129 /* GL_CHROMIUM_command_buffer_latency_query */ |
| 130 #define GL_LATENCY_QUERY_CHROMIUM 0x6007 | 130 #define GL_LATENCY_QUERY_CHROMIUM 0x6007 |
| 131 | 131 |
| 132 /* GL_CHROMIUM_async_pixel_transfers */ | 132 /* GL_CHROMIUM_async_pixel_transfers */ |
| 133 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x6006 | 133 #define GL_ASYNC_PIXEL_PACK_COMPLETED_CHROMIUM 0x6006 |
| 134 | 134 |
| 135 // GL_CHROMIUM_sync_query | 135 // GL_CHROMIUM_sync_query |
| 136 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 | 136 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 |
| 137 | 137 |
| 138 // GL_CHROMIUM_gpu_memory_buffer_image | |
| 139 #define GL_READ_WRITE_CHROMIUM 0x78F2 | |
| 140 | |
| 141 // GL_CHROMIUM_ycrcb_420_image | 138 // GL_CHROMIUM_ycrcb_420_image |
| 142 #define GL_RGB_YCRCB_420_CHROMIUM 0x78FA | 139 #define GL_RGB_YCRCB_420_CHROMIUM 0x78FA |
| 143 | 140 |
| 144 // GL_CHROMIUM_ycbcr_422_image | 141 // GL_CHROMIUM_ycbcr_422_image |
| 145 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB | 142 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB |
| 146 | 143 |
| 147 // GL_CHROMIUM_ycbcr_420v_image | 144 // GL_CHROMIUM_ycbcr_420v_image |
| 148 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC | 145 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC |
| 149 | 146 |
| 150 // GL_CHROMIUM_schedule_overlay_plane | 147 // GL_CHROMIUM_schedule_overlay_plane |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 #endif | 487 #endif |
| 491 | 488 |
| 492 #if defined(USE_GLX) | 489 #if defined(USE_GLX) |
| 493 GL_EXPORT extern GLXApi* g_current_glx_context; | 490 GL_EXPORT extern GLXApi* g_current_glx_context; |
| 494 GL_EXPORT extern DriverGLX g_driver_glx; | 491 GL_EXPORT extern DriverGLX g_driver_glx; |
| 495 #endif | 492 #endif |
| 496 | 493 |
| 497 } // namespace gl | 494 } // namespace gl |
| 498 | 495 |
| 499 #endif // UI_GL_GL_BINDINGS_H_ | 496 #endif // UI_GL_GL_BINDINGS_H_ |
| OLD | NEW |