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

Unified Diff: ui/gl/gl_bindings_autogen_mock.cc

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_autogen_mock.h ('k') | ui/gl/gl_mock_autogen_gl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_bindings_autogen_mock.cc
diff --git a/ui/gl/gl_bindings_autogen_mock.cc b/ui/gl/gl_bindings_autogen_mock.cc
index 07b01f54c3efb39c2cdcee10034fcdef8172f288..41a38dfba36bceaf2038ca1ff02b90f9651bea1f 100644
--- a/ui/gl/gl_bindings_autogen_mock.cc
+++ b/ui/gl/gl_bindings_autogen_mock.cc
@@ -26,6 +26,12 @@ void GL_BINDING_CALL MockGLInterface::Mock_glActiveTexture(GLenum texture) {
interface_->ActiveTexture(texture);
}
+void GL_BINDING_CALL
+MockGLInterface::Mock_glApplyFramebufferAttachmentCMAAINTEL(void) {
+ MakeFunctionUnique("glApplyFramebufferAttachmentCMAAINTEL");
+ interface_->ApplyFramebufferAttachmentCMAAINTEL();
+}
+
void GL_BINDING_CALL MockGLInterface::Mock_glAttachShader(GLuint program,
GLuint shader) {
MakeFunctionUnique("glAttachShader");
@@ -2691,6 +2697,8 @@ static void MockInvalidFunction() {
void* GL_BINDING_CALL MockGLInterface::GetGLProcAddress(const char* name) {
if (strcmp(name, "glActiveTexture") == 0)
return reinterpret_cast<void*>(Mock_glActiveTexture);
+ if (strcmp(name, "glApplyFramebufferAttachmentCMAAINTEL") == 0)
+ return reinterpret_cast<void*>(Mock_glApplyFramebufferAttachmentCMAAINTEL);
if (strcmp(name, "glAttachShader") == 0)
return reinterpret_cast<void*>(Mock_glAttachShader);
if (strcmp(name, "glBeginQuery") == 0)
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.h ('k') | ui/gl/gl_mock_autogen_gl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698