| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // GL_ANGLE_instanced_arrays | 110 // GL_ANGLE_instanced_arrays |
| 111 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE | 111 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE |
| 112 | 112 |
| 113 // GL_EXT_occlusion_query_boolean | 113 // GL_EXT_occlusion_query_boolean |
| 114 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F | 114 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F |
| 115 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A | 115 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A |
| 116 #define GL_CURRENT_QUERY_EXT 0x8865 | 116 #define GL_CURRENT_QUERY_EXT 0x8865 |
| 117 #define GL_QUERY_RESULT_EXT 0x8866 | 117 #define GL_QUERY_RESULT_EXT 0x8866 |
| 118 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 | 118 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 |
| 119 | 119 |
| 120 // GL_ARB_occlusion_query |
| 121 #define GL_SAMPLES_PASSED_ARB 0x8914 |
| 122 |
| 120 // GL_CHROMIUM_command_buffer_query | 123 // GL_CHROMIUM_command_buffer_query |
| 121 #define GL_COMMANDS_ISSUED_CHROMIUM 0x6004 | 124 #define GL_COMMANDS_ISSUED_CHROMIUM 0x6004 |
| 122 | 125 |
| 123 /* GL_CHROMIUM_get_error_query */ | 126 /* GL_CHROMIUM_get_error_query */ |
| 124 #define GL_GET_ERROR_QUERY_CHROMIUM 0x6003 | 127 #define GL_GET_ERROR_QUERY_CHROMIUM 0x6003 |
| 125 | 128 |
| 126 /* GL_CHROMIUM_command_buffer_latency_query */ | 129 /* GL_CHROMIUM_command_buffer_latency_query */ |
| 127 #define GL_LATENCY_QUERY_CHROMIUM 0x6007 | 130 #define GL_LATENCY_QUERY_CHROMIUM 0x6007 |
| 128 | 131 |
| 129 /* GL_CHROMIUM_async_pixel_transfers */ | 132 /* GL_CHROMIUM_async_pixel_transfers */ |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 #endif | 499 #endif |
| 497 | 500 |
| 498 #if defined(USE_GLX) | 501 #if defined(USE_GLX) |
| 499 GL_EXPORT extern GLXApi* g_current_glx_context; | 502 GL_EXPORT extern GLXApi* g_current_glx_context; |
| 500 GL_EXPORT extern DriverGLX g_driver_glx; | 503 GL_EXPORT extern DriverGLX g_driver_glx; |
| 501 #endif | 504 #endif |
| 502 | 505 |
| 503 } // namespace gl | 506 } // namespace gl |
| 504 | 507 |
| 505 #endif // UI_GL_GL_BINDINGS_H_ | 508 #endif // UI_GL_GL_BINDINGS_H_ |
| OLD | NEW |