| 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 // GL_CHROMIUM_sync_query | 142 // GL_CHROMIUM_sync_query |
| 143 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 | 143 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 |
| 144 | 144 |
| 145 // GL_CHROMIUM_ycrcb_420_image | 145 // GL_CHROMIUM_ycrcb_420_image |
| 146 #define GL_RGB_YCRCB_420_CHROMIUM 0x78FA | 146 #define GL_RGB_YCRCB_420_CHROMIUM 0x78FA |
| 147 | 147 |
| 148 // GL_CHROMIUM_ycbcr_422_image | 148 // GL_CHROMIUM_ycbcr_422_image |
| 149 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB | 149 #define GL_RGB_YCBCR_422_CHROMIUM 0x78FB |
| 150 | 150 |
| 151 // GL_CHROMIUM_texture_buffer |
| 152 #define GL_TEXTURE_BUFFER_USAGE_CHROMIUM 0x78FD |
| 153 #define GL_TEXTURE_BUFFER_SCANOUT_CHROMIUM 0x78FE |
| 154 |
| 151 // GL_CHROMIUM_ycbcr_420v_image | 155 // GL_CHROMIUM_ycbcr_420v_image |
| 152 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC | 156 #define GL_RGB_YCBCR_420V_CHROMIUM 0x78FC |
| 153 | 157 |
| 154 // GL_CHROMIUM_schedule_overlay_plane | 158 // GL_CHROMIUM_schedule_overlay_plane |
| 155 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 | 159 #define GL_OVERLAY_TRANSFORM_NONE_CHROMIUM 0x9245 |
| 156 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 | 160 #define GL_OVERLAY_TRANSFORM_FLIP_HORIZONTAL_CHROMIUM 0x9246 |
| 157 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 | 161 #define GL_OVERLAY_TRANSFORM_FLIP_VERTICAL_CHROMIUM 0x9247 |
| 158 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 | 162 #define GL_OVERLAY_TRANSFORM_ROTATE_90_CHROMIUM 0x9248 |
| 159 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 | 163 #define GL_OVERLAY_TRANSFORM_ROTATE_180_CHROMIUM 0x9249 |
| 160 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A | 164 #define GL_OVERLAY_TRANSFORM_ROTATE_270_CHROMIUM 0x924A |
| (...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 #endif | 516 #endif |
| 513 | 517 |
| 514 #if defined(USE_GLX) | 518 #if defined(USE_GLX) |
| 515 GL_EXPORT extern GLXApi* g_current_glx_context; | 519 GL_EXPORT extern GLXApi* g_current_glx_context; |
| 516 GL_EXPORT extern DriverGLX g_driver_glx; | 520 GL_EXPORT extern DriverGLX g_driver_glx; |
| 517 #endif | 521 #endif |
| 518 | 522 |
| 519 } // namespace gl | 523 } // namespace gl |
| 520 | 524 |
| 521 #endif // UI_GL_GL_BINDINGS_H_ | 525 #endif // UI_GL_GL_BINDINGS_H_ |
| OLD | NEW |