OLD | NEW |
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 |
(...skipping 1811 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1822 interface_->RenderbufferStorageEXT(target, internalformat, width, height); | 1822 interface_->RenderbufferStorageEXT(target, internalformat, width, height); |
1823 } | 1823 } |
1824 | 1824 |
1825 void GL_BINDING_CALL | 1825 void GL_BINDING_CALL |
1826 MockGLInterface::Mock_glRenderbufferStorageMultisample(GLenum target, | 1826 MockGLInterface::Mock_glRenderbufferStorageMultisample(GLenum target, |
1827 GLsizei samples, | 1827 GLsizei samples, |
1828 GLenum internalformat, | 1828 GLenum internalformat, |
1829 GLsizei width, | 1829 GLsizei width, |
1830 GLsizei height) { | 1830 GLsizei height) { |
1831 MakeFunctionUnique("glRenderbufferStorageMultisample"); | 1831 MakeFunctionUnique("glRenderbufferStorageMultisample"); |
1832 interface_->RenderbufferStorageMultisampleEXT(target, samples, internalformat, | 1832 interface_->RenderbufferStorageMultisample(target, samples, internalformat, |
1833 width, height); | 1833 width, height); |
1834 } | 1834 } |
1835 | 1835 |
1836 void GL_BINDING_CALL | 1836 void GL_BINDING_CALL |
1837 MockGLInterface::Mock_glRenderbufferStorageMultisampleANGLE( | 1837 MockGLInterface::Mock_glRenderbufferStorageMultisampleANGLE( |
1838 GLenum target, | 1838 GLenum target, |
1839 GLsizei samples, | 1839 GLsizei samples, |
1840 GLenum internalformat, | 1840 GLenum internalformat, |
1841 GLsizei width, | 1841 GLsizei width, |
1842 GLsizei height) { | 1842 GLsizei height) { |
1843 MakeFunctionUnique("glRenderbufferStorageMultisampleANGLE"); | 1843 MakeFunctionUnique("glRenderbufferStorageMultisampleANGLE"); |
(...skipping 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3210 if (strcmp(name, "glVertexAttribPointer") == 0) | 3210 if (strcmp(name, "glVertexAttribPointer") == 0) |
3211 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); | 3211 return reinterpret_cast<void*>(Mock_glVertexAttribPointer); |
3212 if (strcmp(name, "glViewport") == 0) | 3212 if (strcmp(name, "glViewport") == 0) |
3213 return reinterpret_cast<void*>(Mock_glViewport); | 3213 return reinterpret_cast<void*>(Mock_glViewport); |
3214 if (strcmp(name, "glWaitSync") == 0) | 3214 if (strcmp(name, "glWaitSync") == 0) |
3215 return reinterpret_cast<void*>(Mock_glWaitSync); | 3215 return reinterpret_cast<void*>(Mock_glWaitSync); |
3216 return reinterpret_cast<void*>(&MockInvalidFunction); | 3216 return reinterpret_cast<void*>(&MockInvalidFunction); |
3217 } | 3217 } |
3218 | 3218 |
3219 } // namespace gfx | 3219 } // namespace gfx |
OLD | NEW |