| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 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 |
| 132 #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7 |
| 133 |
| 131 // GL_OES_texure_3D | 134 // GL_OES_texure_3D |
| 132 #define GL_SAMPLER_3D_OES 0x8B5F | 135 #define GL_SAMPLER_3D_OES 0x8B5F |
| 133 | 136 |
| 134 // GL_OES_depth24 | 137 // GL_OES_depth24 |
| 135 #define GL_DEPTH_COMPONENT24_OES 0x81A6 | 138 #define GL_DEPTH_COMPONENT24_OES 0x81A6 |
| 136 | 139 |
| 137 // GL_OES_depth32 | 140 // GL_OES_depth32 |
| 138 #define GL_DEPTH_COMPONENT32_OES 0x81A7 | 141 #define GL_DEPTH_COMPONENT32_OES 0x81A7 |
| 139 | 142 |
| 140 // GL_OES_packed_depth_stencil | 143 // GL_OES_packed_depth_stencil |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 #elif defined(OS_ANDROID) | 328 #elif defined(OS_ANDROID) |
| 326 | 329 |
| 327 GL_EXPORT extern EGLApi* g_current_egl_context; | 330 GL_EXPORT extern EGLApi* g_current_egl_context; |
| 328 GL_EXPORT extern DriverEGL g_driver_egl; | 331 GL_EXPORT extern DriverEGL g_driver_egl; |
| 329 | 332 |
| 330 #endif | 333 #endif |
| 331 | 334 |
| 332 } // namespace gfx | 335 } // namespace gfx |
| 333 | 336 |
| 334 #endif // UI_GL_GL_BINDINGS_H_ | 337 #endif // UI_GL_GL_BINDINGS_H_ |
| OLD | NEW |