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

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

Issue 2670213005: Hook ANGLE_request_extension up to the passthrough cmd decoder. (Closed)
Patch Set: Fix extension check. Created 3 years, 10 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
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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_request_extension
114 #define GL_REQUESTABLE_EXTENSIONS_ANGLE 0x93A8
115 #define GL_NUM_REQUESTABLE_EXTENSIONS_ANGLE 0x93A8
116
113 // GL_EXT_occlusion_query_boolean 117 // GL_EXT_occlusion_query_boolean
114 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F 118 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
115 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A 119 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
116 #define GL_CURRENT_QUERY_EXT 0x8865 120 #define GL_CURRENT_QUERY_EXT 0x8865
117 #define GL_QUERY_RESULT_EXT 0x8866 121 #define GL_QUERY_RESULT_EXT 0x8866
118 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 122 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
119 123
120 // GL_ARB_occlusion_query 124 // GL_ARB_occlusion_query
121 #define GL_SAMPLES_PASSED_ARB 0x8914 125 #define GL_SAMPLES_PASSED_ARB 0x8914
122 126
(...skipping 367 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

Powered by Google App Engine
This is Rietveld 408576698