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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 | 117 #define GL_COMMANDS_ISSUED_CHROMIUM 0x84F2 |
118 | 118 |
119 /* GL_CHROMIUM_get_error_query */ | 119 /* GL_CHROMIUM_get_error_query */ |
120 #define GL_GET_ERROR_QUERY_CHROMIUM 0x84F3 | 120 #define GL_GET_ERROR_QUERY_CHROMIUM 0x84F3 |
121 | 121 |
122 /* GL_CHROMIUM_command_buffer_latency_query */ | 122 /* GL_CHROMIUM_command_buffer_latency_query */ |
123 #define GL_LATENCY_QUERY_CHROMIUM 0x84F4 | 123 #define GL_LATENCY_QUERY_CHROMIUM 0x84F4 |
124 | 124 |
125 /* GL_CHROMIUM_async_pixel_transfers */ | 125 /* GL_CHROMIUM_async_pixel_transfers */ |
126 #define GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM 0x84F5 | 126 #define GL_ASYNC_PIXEL_TRANSFERS_COMPLETED_CHROMIUM 0x84F5 |
| 127 #define GL_ASYNC_READ_PIXELS_COMPLETED_CHROMIUM 0x84F6 |
127 | 128 |
128 // GL_OES_texure_3D | 129 // GL_OES_texure_3D |
129 #define GL_SAMPLER_3D_OES 0x8B5F | 130 #define GL_SAMPLER_3D_OES 0x8B5F |
130 | 131 |
131 // GL_OES_depth24 | 132 // GL_OES_depth24 |
132 #define GL_DEPTH_COMPONENT24_OES 0x81A6 | 133 #define GL_DEPTH_COMPONENT24_OES 0x81A6 |
133 | 134 |
134 // GL_OES_depth32 | 135 // GL_OES_depth32 |
135 #define GL_DEPTH_COMPONENT32_OES 0x81A7 | 136 #define GL_DEPTH_COMPONENT32_OES 0x81A7 |
136 | 137 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
315 GL_EXPORT extern DriverEGL g_driver_egl; | 316 GL_EXPORT extern DriverEGL g_driver_egl; |
316 | 317 |
317 #endif | 318 #endif |
318 | 319 |
319 // Find an entry point to the mock GL implementation. | 320 // Find an entry point to the mock GL implementation. |
320 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name); | 321 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name); |
321 | 322 |
322 } // namespace gfx | 323 } // namespace gfx |
323 | 324 |
324 #endif // UI_GL_GL_BINDINGS_H_ | 325 #endif // UI_GL_GL_BINDINGS_H_ |
OLD | NEW |