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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_bindings_autogen_gl.h
diff --git a/ui/gl/gl_bindings_autogen_gl.h b/ui/gl/gl_bindings_autogen_gl.h
index 3a16380981bd8e0f995919583d8a02f08b2f110f..15a95186af744a62613de00a2ca9aa14bf86257f 100644
--- a/ui/gl/gl_bindings_autogen_gl.h
+++ b/ui/gl/gl_bindings_autogen_gl.h
@@ -16,6 +16,7 @@ namespace gfx {
class GLContext;
typedef void(GL_BINDING_CALL* glActiveTextureProc)(GLenum texture);
+typedef void(GL_BINDING_CALL* glApplyFramebufferAttachmentCMAAINTELProc)(void);
typedef void(GL_BINDING_CALL* glAttachShaderProc)(GLuint program,
GLuint shader);
typedef void(GL_BINDING_CALL* glBeginQueryProc)(GLenum target, GLuint id);
@@ -977,6 +978,7 @@ struct ExtensionsGL {
bool b_GL_EXT_texture_storage;
bool b_GL_EXT_timer_query;
bool b_GL_IMG_multisampled_render_to_texture;
+ bool b_GL_INTEL_framebuffer_CMAA;
bool b_GL_KHR_blend_equation_advanced;
bool b_GL_KHR_robustness;
bool b_GL_NV_blend_equation_advanced;
@@ -990,6 +992,8 @@ struct ExtensionsGL {
struct ProcsGL {
glActiveTextureProc glActiveTextureFn;
+ glApplyFramebufferAttachmentCMAAINTELProc
+ glApplyFramebufferAttachmentCMAAINTELFn;
glAttachShaderProc glAttachShaderFn;
glBeginQueryProc glBeginQueryFn;
glBeginTransformFeedbackProc glBeginTransformFeedbackFn;
@@ -1302,6 +1306,7 @@ class GL_EXPORT GLApi {
virtual ~GLApi();
virtual void glActiveTextureFn(GLenum texture) = 0;
+ virtual void glApplyFramebufferAttachmentCMAAINTELFn(void) = 0;
virtual void glAttachShaderFn(GLuint program, GLuint shader) = 0;
virtual void glBeginQueryFn(GLenum target, GLuint id) = 0;
virtual void glBeginTransformFeedbackFn(GLenum primitiveMode) = 0;
@@ -2119,6 +2124,8 @@ class GL_EXPORT GLApi {
} // namespace gfx
#define glActiveTexture ::gfx::g_current_gl_context->glActiveTextureFn
+#define glApplyFramebufferAttachmentCMAAINTEL \
+ ::gfx::g_current_gl_context->glApplyFramebufferAttachmentCMAAINTELFn
#define glAttachShader ::gfx::g_current_gl_context->glAttachShaderFn
#define glBeginQuery ::gfx::g_current_gl_context->glBeginQueryFn
#define glBeginTransformFeedback \
« 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