| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 #define GL_ALPHA16F_EXT 0x881C | 103 #define GL_ALPHA16F_EXT 0x881C |
| 104 #define GL_LUMINANCE16F_EXT 0x881E | 104 #define GL_LUMINANCE16F_EXT 0x881E |
| 105 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F | 105 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F |
| 106 #define GL_R32F_EXT 0x822E | 106 #define GL_R32F_EXT 0x822E |
| 107 #define GL_RG32F_EXT 0x8230 | 107 #define GL_RG32F_EXT 0x8230 |
| 108 #define GL_BGRA8_EXT 0x93A1 | 108 #define GL_BGRA8_EXT 0x93A1 |
| 109 | 109 |
| 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_ANGLE_client_arrays |
| 114 #define GL_CLIENT_ARRAYS_ANGLE 0x93AA |
| 115 |
| 113 // GL_EXT_occlusion_query_boolean | 116 // GL_EXT_occlusion_query_boolean |
| 114 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F | 117 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F |
| 115 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A | 118 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A |
| 116 #define GL_CURRENT_QUERY_EXT 0x8865 | 119 #define GL_CURRENT_QUERY_EXT 0x8865 |
| 117 #define GL_QUERY_RESULT_EXT 0x8866 | 120 #define GL_QUERY_RESULT_EXT 0x8866 |
| 118 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 | 121 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 |
| 119 | 122 |
| 120 // GL_ARB_occlusion_query | 123 // GL_ARB_occlusion_query |
| 121 #define GL_SAMPLES_PASSED_ARB 0x8914 | 124 #define GL_SAMPLES_PASSED_ARB 0x8914 |
| 122 | 125 |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 #endif | 490 #endif |
| 488 | 491 |
| 489 #if defined(USE_GLX) | 492 #if defined(USE_GLX) |
| 490 GL_EXPORT extern GLXApi* g_current_glx_context; | 493 GL_EXPORT extern GLXApi* g_current_glx_context; |
| 491 GL_EXPORT extern DriverGLX g_driver_glx; | 494 GL_EXPORT extern DriverGLX g_driver_glx; |
| 492 #endif | 495 #endif |
| 493 | 496 |
| 494 } // namespace gl | 497 } // namespace gl |
| 495 | 498 |
| 496 #endif // UI_GL_GL_BINDINGS_H_ | 499 #endif // UI_GL_GL_BINDINGS_H_ |
| OLD | NEW |