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

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

Issue 1298523003: Add GL_CHROMIUM_screen_space_antialiasing to support alternative AA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nit Created 5 years, 3 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/gl_bindings_api_autogen_gl.h ('k') | ui/gl/gl_bindings_autogen_gl.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // This file is auto-generated from 5 // This file is auto-generated from
6 // ui/gl/generate_bindings.py 6 // ui/gl/generate_bindings.py
7 // It's formatted by clang-format using chromium coding style: 7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename 8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT! 9 // DO NOT EDIT!
10 10
11 #ifndef UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ 11 #ifndef UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_
12 #define UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ 12 #define UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_
13 13
14 namespace gfx { 14 namespace gfx {
15 15
16 class GLContext; 16 class GLContext;
17 17
18 typedef void(GL_BINDING_CALL* glActiveTextureProc)(GLenum texture); 18 typedef void(GL_BINDING_CALL* glActiveTextureProc)(GLenum texture);
19 typedef void(GL_BINDING_CALL* glApplyFramebufferAttachmentCMAAINTELProc)(void);
19 typedef void(GL_BINDING_CALL* glAttachShaderProc)(GLuint program, 20 typedef void(GL_BINDING_CALL* glAttachShaderProc)(GLuint program,
20 GLuint shader); 21 GLuint shader);
21 typedef void(GL_BINDING_CALL* glBeginQueryProc)(GLenum target, GLuint id); 22 typedef void(GL_BINDING_CALL* glBeginQueryProc)(GLenum target, GLuint id);
22 typedef void(GL_BINDING_CALL* glBeginTransformFeedbackProc)( 23 typedef void(GL_BINDING_CALL* glBeginTransformFeedbackProc)(
23 GLenum primitiveMode); 24 GLenum primitiveMode);
24 typedef void(GL_BINDING_CALL* glBindAttribLocationProc)(GLuint program, 25 typedef void(GL_BINDING_CALL* glBindAttribLocationProc)(GLuint program,
25 GLuint index, 26 GLuint index,
26 const char* name); 27 const char* name);
27 typedef void(GL_BINDING_CALL* glBindBufferProc)(GLenum target, GLuint buffer); 28 typedef void(GL_BINDING_CALL* glBindBufferProc)(GLenum target, GLuint buffer);
28 typedef void(GL_BINDING_CALL* glBindBufferBaseProc)(GLenum target, 29 typedef void(GL_BINDING_CALL* glBindBufferBaseProc)(GLenum target,
(...skipping 941 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 bool b_GL_EXT_framebuffer_blit; 971 bool b_GL_EXT_framebuffer_blit;
971 bool b_GL_EXT_framebuffer_multisample; 972 bool b_GL_EXT_framebuffer_multisample;
972 bool b_GL_EXT_framebuffer_object; 973 bool b_GL_EXT_framebuffer_object;
973 bool b_GL_EXT_map_buffer_range; 974 bool b_GL_EXT_map_buffer_range;
974 bool b_GL_EXT_multisampled_render_to_texture; 975 bool b_GL_EXT_multisampled_render_to_texture;
975 bool b_GL_EXT_occlusion_query_boolean; 976 bool b_GL_EXT_occlusion_query_boolean;
976 bool b_GL_EXT_robustness; 977 bool b_GL_EXT_robustness;
977 bool b_GL_EXT_texture_storage; 978 bool b_GL_EXT_texture_storage;
978 bool b_GL_EXT_timer_query; 979 bool b_GL_EXT_timer_query;
979 bool b_GL_IMG_multisampled_render_to_texture; 980 bool b_GL_IMG_multisampled_render_to_texture;
981 bool b_GL_INTEL_framebuffer_CMAA;
980 bool b_GL_KHR_blend_equation_advanced; 982 bool b_GL_KHR_blend_equation_advanced;
981 bool b_GL_KHR_robustness; 983 bool b_GL_KHR_robustness;
982 bool b_GL_NV_blend_equation_advanced; 984 bool b_GL_NV_blend_equation_advanced;
983 bool b_GL_NV_fence; 985 bool b_GL_NV_fence;
984 bool b_GL_NV_path_rendering; 986 bool b_GL_NV_path_rendering;
985 bool b_GL_OES_EGL_image; 987 bool b_GL_OES_EGL_image;
986 bool b_GL_OES_get_program_binary; 988 bool b_GL_OES_get_program_binary;
987 bool b_GL_OES_mapbuffer; 989 bool b_GL_OES_mapbuffer;
988 bool b_GL_OES_vertex_array_object; 990 bool b_GL_OES_vertex_array_object;
989 }; 991 };
990 992
991 struct ProcsGL { 993 struct ProcsGL {
992 glActiveTextureProc glActiveTextureFn; 994 glActiveTextureProc glActiveTextureFn;
995 glApplyFramebufferAttachmentCMAAINTELProc
996 glApplyFramebufferAttachmentCMAAINTELFn;
993 glAttachShaderProc glAttachShaderFn; 997 glAttachShaderProc glAttachShaderFn;
994 glBeginQueryProc glBeginQueryFn; 998 glBeginQueryProc glBeginQueryFn;
995 glBeginTransformFeedbackProc glBeginTransformFeedbackFn; 999 glBeginTransformFeedbackProc glBeginTransformFeedbackFn;
996 glBindAttribLocationProc glBindAttribLocationFn; 1000 glBindAttribLocationProc glBindAttribLocationFn;
997 glBindBufferProc glBindBufferFn; 1001 glBindBufferProc glBindBufferFn;
998 glBindBufferBaseProc glBindBufferBaseFn; 1002 glBindBufferBaseProc glBindBufferBaseFn;
999 glBindBufferRangeProc glBindBufferRangeFn; 1003 glBindBufferRangeProc glBindBufferRangeFn;
1000 glBindFragDataLocationProc glBindFragDataLocationFn; 1004 glBindFragDataLocationProc glBindFragDataLocationFn;
1001 glBindFragDataLocationIndexedProc glBindFragDataLocationIndexedFn; 1005 glBindFragDataLocationIndexedProc glBindFragDataLocationIndexedFn;
1002 glBindFramebufferEXTProc glBindFramebufferEXTFn; 1006 glBindFramebufferEXTProc glBindFramebufferEXTFn;
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 glViewportProc glViewportFn; 1299 glViewportProc glViewportFn;
1296 glWaitSyncProc glWaitSyncFn; 1300 glWaitSyncProc glWaitSyncFn;
1297 }; 1301 };
1298 1302
1299 class GL_EXPORT GLApi { 1303 class GL_EXPORT GLApi {
1300 public: 1304 public:
1301 GLApi(); 1305 GLApi();
1302 virtual ~GLApi(); 1306 virtual ~GLApi();
1303 1307
1304 virtual void glActiveTextureFn(GLenum texture) = 0; 1308 virtual void glActiveTextureFn(GLenum texture) = 0;
1309 virtual void glApplyFramebufferAttachmentCMAAINTELFn(void) = 0;
1305 virtual void glAttachShaderFn(GLuint program, GLuint shader) = 0; 1310 virtual void glAttachShaderFn(GLuint program, GLuint shader) = 0;
1306 virtual void glBeginQueryFn(GLenum target, GLuint id) = 0; 1311 virtual void glBeginQueryFn(GLenum target, GLuint id) = 0;
1307 virtual void glBeginTransformFeedbackFn(GLenum primitiveMode) = 0; 1312 virtual void glBeginTransformFeedbackFn(GLenum primitiveMode) = 0;
1308 virtual void glBindAttribLocationFn(GLuint program, 1313 virtual void glBindAttribLocationFn(GLuint program,
1309 GLuint index, 1314 GLuint index,
1310 const char* name) = 0; 1315 const char* name) = 0;
1311 virtual void glBindBufferFn(GLenum target, GLuint buffer) = 0; 1316 virtual void glBindBufferFn(GLenum target, GLuint buffer) = 0;
1312 virtual void glBindBufferBaseFn(GLenum target, 1317 virtual void glBindBufferBaseFn(GLenum target,
1313 GLuint index, 1318 GLuint index,
1314 GLuint buffer) = 0; 1319 GLuint buffer) = 0;
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
2112 GLsizei width, 2117 GLsizei width,
2113 GLsizei height) = 0; 2118 GLsizei height) = 0;
2114 virtual GLenum glWaitSyncFn(GLsync sync, 2119 virtual GLenum glWaitSyncFn(GLsync sync,
2115 GLbitfield flags, 2120 GLbitfield flags,
2116 GLuint64 timeout) = 0; 2121 GLuint64 timeout) = 0;
2117 }; 2122 };
2118 2123
2119 } // namespace gfx 2124 } // namespace gfx
2120 2125
2121 #define glActiveTexture ::gfx::g_current_gl_context->glActiveTextureFn 2126 #define glActiveTexture ::gfx::g_current_gl_context->glActiveTextureFn
2127 #define glApplyFramebufferAttachmentCMAAINTEL \
2128 ::gfx::g_current_gl_context->glApplyFramebufferAttachmentCMAAINTELFn
2122 #define glAttachShader ::gfx::g_current_gl_context->glAttachShaderFn 2129 #define glAttachShader ::gfx::g_current_gl_context->glAttachShaderFn
2123 #define glBeginQuery ::gfx::g_current_gl_context->glBeginQueryFn 2130 #define glBeginQuery ::gfx::g_current_gl_context->glBeginQueryFn
2124 #define glBeginTransformFeedback \ 2131 #define glBeginTransformFeedback \
2125 ::gfx::g_current_gl_context->glBeginTransformFeedbackFn 2132 ::gfx::g_current_gl_context->glBeginTransformFeedbackFn
2126 #define glBindAttribLocation ::gfx::g_current_gl_context->glBindAttribLocationFn 2133 #define glBindAttribLocation ::gfx::g_current_gl_context->glBindAttribLocationFn
2127 #define glBindBuffer ::gfx::g_current_gl_context->glBindBufferFn 2134 #define glBindBuffer ::gfx::g_current_gl_context->glBindBufferFn
2128 #define glBindBufferBase ::gfx::g_current_gl_context->glBindBufferBaseFn 2135 #define glBindBufferBase ::gfx::g_current_gl_context->glBindBufferBaseFn
2129 #define glBindBufferRange ::gfx::g_current_gl_context->glBindBufferRangeFn 2136 #define glBindBufferRange ::gfx::g_current_gl_context->glBindBufferRangeFn
2130 #define glBindFragDataLocation \ 2137 #define glBindFragDataLocation \
2131 ::gfx::g_current_gl_context->glBindFragDataLocationFn 2138 ::gfx::g_current_gl_context->glBindFragDataLocationFn
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
2488 #define glVertexAttribI4ui ::gfx::g_current_gl_context->glVertexAttribI4uiFn 2495 #define glVertexAttribI4ui ::gfx::g_current_gl_context->glVertexAttribI4uiFn
2489 #define glVertexAttribI4uiv ::gfx::g_current_gl_context->glVertexAttribI4uivFn 2496 #define glVertexAttribI4uiv ::gfx::g_current_gl_context->glVertexAttribI4uivFn
2490 #define glVertexAttribIPointer \ 2497 #define glVertexAttribIPointer \
2491 ::gfx::g_current_gl_context->glVertexAttribIPointerFn 2498 ::gfx::g_current_gl_context->glVertexAttribIPointerFn
2492 #define glVertexAttribPointer \ 2499 #define glVertexAttribPointer \
2493 ::gfx::g_current_gl_context->glVertexAttribPointerFn 2500 ::gfx::g_current_gl_context->glVertexAttribPointerFn
2494 #define glViewport ::gfx::g_current_gl_context->glViewportFn 2501 #define glViewport ::gfx::g_current_gl_context->glViewportFn
2495 #define glWaitSync ::gfx::g_current_gl_context->glWaitSyncFn 2502 #define glWaitSync ::gfx::g_current_gl_context->glWaitSyncFn
2496 2503
2497 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_ 2504 #endif // UI_GFX_GL_GL_BINDINGS_AUTOGEN_GL_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_bindings_api_autogen_gl.h ('k') | ui/gl/gl_bindings_autogen_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698