Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: ui/gl/gl_bindings.h

Issue 2670213005: Hook ANGLE_request_extension up to the passthrough cmd decoder. (Closed)
Patch Set: Address zmo@'s comments Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | ui/gl/gl_bindings_api_autogen_gl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 113 // GL_ANGLE_client_arrays
114 #define GL_CLIENT_ARRAYS_ANGLE 0x93AA 114 #define GL_CLIENT_ARRAYS_ANGLE 0x93AA
115 115
116 // GL_ANGLE_request_extension
117 #define GL_REQUESTABLE_EXTENSIONS_ANGLE 0x93A8
118 #define GL_NUM_REQUESTABLE_EXTENSIONS_ANGLE 0x93A8
119
116 // GL_EXT_occlusion_query_boolean 120 // GL_EXT_occlusion_query_boolean
117 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F 121 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
118 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A 122 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
119 #define GL_CURRENT_QUERY_EXT 0x8865 123 #define GL_CURRENT_QUERY_EXT 0x8865
120 #define GL_QUERY_RESULT_EXT 0x8866 124 #define GL_QUERY_RESULT_EXT 0x8866
121 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 125 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
122 126
123 // GL_ARB_occlusion_query 127 // GL_ARB_occlusion_query
124 #define GL_SAMPLES_PASSED_ARB 0x8914 128 #define GL_SAMPLES_PASSED_ARB 0x8914
125 129
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 #endif 494 #endif
491 495
492 #if defined(USE_GLX) 496 #if defined(USE_GLX)
493 GL_EXPORT extern GLXApi* g_current_glx_context; 497 GL_EXPORT extern GLXApi* g_current_glx_context;
494 GL_EXPORT extern DriverGLX g_driver_glx; 498 GL_EXPORT extern DriverGLX g_driver_glx;
495 #endif 499 #endif
496 500
497 } // namespace gl 501 } // namespace gl
498 502
499 #endif // UI_GL_GL_BINDINGS_H_ 503 #endif // UI_GL_GL_BINDINGS_H_
OLDNEW
« no previous file with comments | « ui/gl/generate_bindings.py ('k') | ui/gl/gl_bindings_api_autogen_gl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698