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

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

Issue 2440783002: Load missing glGetInternalformativRobustANGLE entry point. (Closed)
Patch Set: Created 4 years, 2 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_mock_autogen_gl.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 1524 matching lines...) Expand 10 before | Expand all | Expand 10 after
1535 GLenum internalformat, 1535 GLenum internalformat,
1536 GLenum pname, 1536 GLenum pname,
1537 GLsizei bufSize, 1537 GLsizei bufSize,
1538 GLint* params) { 1538 GLint* params) {
1539 MakeFunctionUnique("glGetInternalformativ"); 1539 MakeFunctionUnique("glGetInternalformativ");
1540 interface_->GetInternalformativ(target, internalformat, pname, bufSize, 1540 interface_->GetInternalformativ(target, internalformat, pname, bufSize,
1541 params); 1541 params);
1542 } 1542 }
1543 1543
1544 void GL_BINDING_CALL 1544 void GL_BINDING_CALL
1545 MockGLInterface::Mock_glGetInternalformativRobustANGLE(GLenum target,
1546 GLenum internalformat,
1547 GLenum pname,
1548 GLsizei bufSize,
1549 GLsizei* length,
1550 GLint* params) {
1551 MakeFunctionUnique("glGetInternalformativRobustANGLE");
1552 interface_->GetInternalformativRobustANGLE(target, internalformat, pname,
1553 bufSize, length, params);
1554 }
1555
1556 void GL_BINDING_CALL
1545 MockGLInterface::Mock_glGetMultisamplefvRobustANGLE(GLenum pname, 1557 MockGLInterface::Mock_glGetMultisamplefvRobustANGLE(GLenum pname,
1546 GLuint index, 1558 GLuint index,
1547 GLsizei bufSize, 1559 GLsizei bufSize,
1548 GLsizei* length, 1560 GLsizei* length,
1549 GLfloat* val) { 1561 GLfloat* val) {
1550 MakeFunctionUnique("glGetMultisamplefvRobustANGLE"); 1562 MakeFunctionUnique("glGetMultisamplefvRobustANGLE");
1551 interface_->GetMultisamplefvRobustANGLE(pname, index, bufSize, length, val); 1563 interface_->GetMultisamplefvRobustANGLE(pname, index, bufSize, length, val);
1552 } 1564 }
1553 1565
1554 void GL_BINDING_CALL 1566 void GL_BINDING_CALL
(...skipping 2497 matching lines...) Expand 10 before | Expand all | Expand 10 after
4052 if (strcmp(name, "glGetIntegeri_v") == 0) 4064 if (strcmp(name, "glGetIntegeri_v") == 0)
4053 return reinterpret_cast<void*>(Mock_glGetIntegeri_v); 4065 return reinterpret_cast<void*>(Mock_glGetIntegeri_v);
4054 if (strcmp(name, "glGetIntegeri_vRobustANGLE") == 0) 4066 if (strcmp(name, "glGetIntegeri_vRobustANGLE") == 0)
4055 return reinterpret_cast<void*>(Mock_glGetIntegeri_vRobustANGLE); 4067 return reinterpret_cast<void*>(Mock_glGetIntegeri_vRobustANGLE);
4056 if (strcmp(name, "glGetIntegerv") == 0) 4068 if (strcmp(name, "glGetIntegerv") == 0)
4057 return reinterpret_cast<void*>(Mock_glGetIntegerv); 4069 return reinterpret_cast<void*>(Mock_glGetIntegerv);
4058 if (strcmp(name, "glGetIntegervRobustANGLE") == 0) 4070 if (strcmp(name, "glGetIntegervRobustANGLE") == 0)
4059 return reinterpret_cast<void*>(Mock_glGetIntegervRobustANGLE); 4071 return reinterpret_cast<void*>(Mock_glGetIntegervRobustANGLE);
4060 if (strcmp(name, "glGetInternalformativ") == 0) 4072 if (strcmp(name, "glGetInternalformativ") == 0)
4061 return reinterpret_cast<void*>(Mock_glGetInternalformativ); 4073 return reinterpret_cast<void*>(Mock_glGetInternalformativ);
4074 if (strcmp(name, "glGetInternalformativRobustANGLE") == 0)
4075 return reinterpret_cast<void*>(Mock_glGetInternalformativRobustANGLE);
4062 if (strcmp(name, "glGetMultisamplefvRobustANGLE") == 0) 4076 if (strcmp(name, "glGetMultisamplefvRobustANGLE") == 0)
4063 return reinterpret_cast<void*>(Mock_glGetMultisamplefvRobustANGLE); 4077 return reinterpret_cast<void*>(Mock_glGetMultisamplefvRobustANGLE);
4064 if (strcmp(name, "glGetPointervRobustANGLERobustANGLE") == 0) 4078 if (strcmp(name, "glGetPointervRobustANGLERobustANGLE") == 0)
4065 return reinterpret_cast<void*>(Mock_glGetPointervRobustANGLERobustANGLE); 4079 return reinterpret_cast<void*>(Mock_glGetPointervRobustANGLERobustANGLE);
4066 if (strcmp(name, "glGetProgramBinary") == 0) 4080 if (strcmp(name, "glGetProgramBinary") == 0)
4067 return reinterpret_cast<void*>(Mock_glGetProgramBinary); 4081 return reinterpret_cast<void*>(Mock_glGetProgramBinary);
4068 if (strcmp(name, "glGetProgramBinaryOES") == 0) 4082 if (strcmp(name, "glGetProgramBinaryOES") == 0)
4069 return reinterpret_cast<void*>(Mock_glGetProgramBinaryOES); 4083 return reinterpret_cast<void*>(Mock_glGetProgramBinaryOES);
4070 if (strcmp(name, "glGetProgramInfoLog") == 0) 4084 if (strcmp(name, "glGetProgramInfoLog") == 0)
4071 return reinterpret_cast<void*>(Mock_glGetProgramInfoLog); 4085 return reinterpret_cast<void*>(Mock_glGetProgramInfoLog);
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
4562 if (strcmp(name, "glVertexAttribPointer") == 0) 4576 if (strcmp(name, "glVertexAttribPointer") == 0)
4563 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); 4577 return reinterpret_cast<void*>(Mock_glVertexAttribPointer);
4564 if (strcmp(name, "glViewport") == 0) 4578 if (strcmp(name, "glViewport") == 0)
4565 return reinterpret_cast<void*>(Mock_glViewport); 4579 return reinterpret_cast<void*>(Mock_glViewport);
4566 if (strcmp(name, "glWaitSync") == 0) 4580 if (strcmp(name, "glWaitSync") == 0)
4567 return reinterpret_cast<void*>(Mock_glWaitSync); 4581 return reinterpret_cast<void*>(Mock_glWaitSync);
4568 return reinterpret_cast<void*>(&MockInvalidFunction); 4582 return reinterpret_cast<void*>(&MockInvalidFunction);
4569 } 4583 }
4570 4584
4571 } // namespace gl 4585 } // namespace gl
OLDNEW
« 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