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