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

Side by Side Diff: ui/gl/gl_bindings_autogen_mock.cc

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/gl_bindings_autogen_mock.h ('k') | ui/gl/gl_context.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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
(...skipping 2915 matching lines...) Expand 10 before | Expand all | Expand 10 after
2926 MockGLInterface::Mock_glRenderbufferStorageMultisampleIMG(GLenum target, 2926 MockGLInterface::Mock_glRenderbufferStorageMultisampleIMG(GLenum target,
2927 GLsizei samples, 2927 GLsizei samples,
2928 GLenum internalformat, 2928 GLenum internalformat,
2929 GLsizei width, 2929 GLsizei width,
2930 GLsizei height) { 2930 GLsizei height) {
2931 MakeFunctionUnique("glRenderbufferStorageMultisampleIMG"); 2931 MakeFunctionUnique("glRenderbufferStorageMultisampleIMG");
2932 interface_->RenderbufferStorageMultisampleIMG(target, samples, internalformat, 2932 interface_->RenderbufferStorageMultisampleIMG(target, samples, internalformat,
2933 width, height); 2933 width, height);
2934 } 2934 }
2935 2935
2936 void GL_BINDING_CALL
2937 MockGLInterface::Mock_glRequestExtensionANGLE(const char* name) {
2938 MakeFunctionUnique("glRequestExtensionANGLE");
2939 interface_->RequestExtensionANGLE(name);
2940 }
2941
2936 void GL_BINDING_CALL MockGLInterface::Mock_glResumeTransformFeedback(void) { 2942 void GL_BINDING_CALL MockGLInterface::Mock_glResumeTransformFeedback(void) {
2937 MakeFunctionUnique("glResumeTransformFeedback"); 2943 MakeFunctionUnique("glResumeTransformFeedback");
2938 interface_->ResumeTransformFeedback(); 2944 interface_->ResumeTransformFeedback();
2939 } 2945 }
2940 2946
2941 void GL_BINDING_CALL MockGLInterface::Mock_glSampleCoverage(GLclampf value, 2947 void GL_BINDING_CALL MockGLInterface::Mock_glSampleCoverage(GLclampf value,
2942 GLboolean invert) { 2948 GLboolean invert) {
2943 MakeFunctionUnique("glSampleCoverage"); 2949 MakeFunctionUnique("glSampleCoverage");
2944 interface_->SampleCoverage(value, invert); 2950 interface_->SampleCoverage(value, invert);
2945 } 2951 }
(...skipping 1770 matching lines...) Expand 10 before | Expand all | Expand 10 after
4716 Mock_glRenderbufferStorageMultisample); 4722 Mock_glRenderbufferStorageMultisample);
4717 if (strcmp(name, "glRenderbufferStorageMultisampleANGLE") == 0) 4723 if (strcmp(name, "glRenderbufferStorageMultisampleANGLE") == 0)
4718 return reinterpret_cast<GLFunctionPointerType>( 4724 return reinterpret_cast<GLFunctionPointerType>(
4719 Mock_glRenderbufferStorageMultisampleANGLE); 4725 Mock_glRenderbufferStorageMultisampleANGLE);
4720 if (strcmp(name, "glRenderbufferStorageMultisampleEXT") == 0) 4726 if (strcmp(name, "glRenderbufferStorageMultisampleEXT") == 0)
4721 return reinterpret_cast<GLFunctionPointerType>( 4727 return reinterpret_cast<GLFunctionPointerType>(
4722 Mock_glRenderbufferStorageMultisampleEXT); 4728 Mock_glRenderbufferStorageMultisampleEXT);
4723 if (strcmp(name, "glRenderbufferStorageMultisampleIMG") == 0) 4729 if (strcmp(name, "glRenderbufferStorageMultisampleIMG") == 0)
4724 return reinterpret_cast<GLFunctionPointerType>( 4730 return reinterpret_cast<GLFunctionPointerType>(
4725 Mock_glRenderbufferStorageMultisampleIMG); 4731 Mock_glRenderbufferStorageMultisampleIMG);
4732 if (strcmp(name, "glRequestExtensionANGLE") == 0)
4733 return reinterpret_cast<GLFunctionPointerType>(
4734 Mock_glRequestExtensionANGLE);
4726 if (strcmp(name, "glResumeTransformFeedback") == 0) 4735 if (strcmp(name, "glResumeTransformFeedback") == 0)
4727 return reinterpret_cast<GLFunctionPointerType>( 4736 return reinterpret_cast<GLFunctionPointerType>(
4728 Mock_glResumeTransformFeedback); 4737 Mock_glResumeTransformFeedback);
4729 if (strcmp(name, "glSampleCoverage") == 0) 4738 if (strcmp(name, "glSampleCoverage") == 0)
4730 return reinterpret_cast<GLFunctionPointerType>(Mock_glSampleCoverage); 4739 return reinterpret_cast<GLFunctionPointerType>(Mock_glSampleCoverage);
4731 if (strcmp(name, "glSamplerParameterIivRobustANGLE") == 0) 4740 if (strcmp(name, "glSamplerParameterIivRobustANGLE") == 0)
4732 return reinterpret_cast<GLFunctionPointerType>( 4741 return reinterpret_cast<GLFunctionPointerType>(
4733 Mock_glSamplerParameterIivRobustANGLE); 4742 Mock_glSamplerParameterIivRobustANGLE);
4734 if (strcmp(name, "glSamplerParameterIuivRobustANGLE") == 0) 4743 if (strcmp(name, "glSamplerParameterIuivRobustANGLE") == 0)
4735 return reinterpret_cast<GLFunctionPointerType>( 4744 return reinterpret_cast<GLFunctionPointerType>(
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
4961 if (strcmp(name, "glVertexAttribPointer") == 0) 4970 if (strcmp(name, "glVertexAttribPointer") == 0)
4962 return reinterpret_cast<GLFunctionPointerType>(Mock_glVertexAttribPointer); 4971 return reinterpret_cast<GLFunctionPointerType>(Mock_glVertexAttribPointer);
4963 if (strcmp(name, "glViewport") == 0) 4972 if (strcmp(name, "glViewport") == 0)
4964 return reinterpret_cast<GLFunctionPointerType>(Mock_glViewport); 4973 return reinterpret_cast<GLFunctionPointerType>(Mock_glViewport);
4965 if (strcmp(name, "glWaitSync") == 0) 4974 if (strcmp(name, "glWaitSync") == 0)
4966 return reinterpret_cast<GLFunctionPointerType>(Mock_glWaitSync); 4975 return reinterpret_cast<GLFunctionPointerType>(Mock_glWaitSync);
4967 return reinterpret_cast<GLFunctionPointerType>(&MockInvalidFunction); 4976 return reinterpret_cast<GLFunctionPointerType>(&MockInvalidFunction);
4968 } 4977 }
4969 4978
4970 } // namespace gl 4979 } // namespace gl
OLDNEW
« no previous file with comments | « ui/gl/gl_bindings_autogen_mock.h ('k') | ui/gl/gl_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698