| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 #define GL_RGB32F_EXT 0x8815 | 95 #define GL_RGB32F_EXT 0x8815 |
| 96 #define GL_ALPHA32F_EXT 0x8816 | 96 #define GL_ALPHA32F_EXT 0x8816 |
| 97 #define GL_LUMINANCE32F_EXT 0x8818 | 97 #define GL_LUMINANCE32F_EXT 0x8818 |
| 98 #define GL_LUMINANCE_ALPHA32F_EXT 0x8819 | 98 #define GL_LUMINANCE_ALPHA32F_EXT 0x8819 |
| 99 #define GL_RGBA16F_EXT 0x881A | 99 #define GL_RGBA16F_EXT 0x881A |
| 100 #define GL_RGB16F_EXT 0x881B | 100 #define GL_RGB16F_EXT 0x881B |
| 101 #define GL_ALPHA16F_EXT 0x881C | 101 #define GL_ALPHA16F_EXT 0x881C |
| 102 #define GL_LUMINANCE16F_EXT 0x881E | 102 #define GL_LUMINANCE16F_EXT 0x881E |
| 103 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F | 103 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F |
| 104 #define GL_BGRA8_EXT 0x93A1 | 104 #define GL_BGRA8_EXT 0x93A1 |
| 105 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 |
| 105 | 106 |
| 106 // GL_ANGLE_instanced_arrays | 107 // GL_ANGLE_instanced_arrays |
| 107 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE | 108 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE |
| 108 | 109 |
| 109 // GL_EXT_occlusion_query_boolean | 110 // GL_EXT_occlusion_query_boolean |
| 110 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F | 111 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F |
| 111 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A | 112 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A |
| 112 #define GL_CURRENT_QUERY_EXT 0x8865 | 113 #define GL_CURRENT_QUERY_EXT 0x8865 |
| 113 #define GL_QUERY_RESULT_EXT 0x8866 | 114 #define GL_QUERY_RESULT_EXT 0x8866 |
| 114 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 | 115 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 GL_EXPORT extern DriverEGL g_driver_egl; | 329 GL_EXPORT extern DriverEGL g_driver_egl; |
| 329 | 330 |
| 330 #endif | 331 #endif |
| 331 | 332 |
| 332 // Find an entry point to the mock GL implementation. | 333 // Find an entry point to the mock GL implementation. |
| 333 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name); | 334 void* GL_BINDING_CALL GetMockGLProcAddress(const char* name); |
| 334 | 335 |
| 335 } // namespace gfx | 336 } // namespace gfx |
| 336 | 337 |
| 337 #endif // UI_GL_GL_BINDINGS_H_ | 338 #endif // UI_GL_GL_BINDINGS_H_ |
| OLD | NEW |