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 // gpu/command_buffer/build_gles2_cmd_buffer.py | 6 // gpu/command_buffer/build_gles2_cmd_buffer.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 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1415 glResizeCHROMIUM(width, height, scale_factor); | 1415 glResizeCHROMIUM(width, height, scale_factor); |
1416 } | 1416 } |
1417 const GLchar* MojoGLES2Impl::GetRequestableExtensionsCHROMIUM() { | 1417 const GLchar* MojoGLES2Impl::GetRequestableExtensionsCHROMIUM() { |
1418 MojoGLES2MakeCurrent(context_); | 1418 MojoGLES2MakeCurrent(context_); |
1419 return glGetRequestableExtensionsCHROMIUM(); | 1419 return glGetRequestableExtensionsCHROMIUM(); |
1420 } | 1420 } |
1421 void MojoGLES2Impl::RequestExtensionCHROMIUM(const char* extension) { | 1421 void MojoGLES2Impl::RequestExtensionCHROMIUM(const char* extension) { |
1422 MojoGLES2MakeCurrent(context_); | 1422 MojoGLES2MakeCurrent(context_); |
1423 glRequestExtensionCHROMIUM(extension); | 1423 glRequestExtensionCHROMIUM(extension); |
1424 } | 1424 } |
1425 void MojoGLES2Impl::RateLimitOffscreenContextCHROMIUM() { | |
1426 MojoGLES2MakeCurrent(context_); | |
1427 glRateLimitOffscreenContextCHROMIUM(); | |
1428 } | |
1429 void MojoGLES2Impl::GetProgramInfoCHROMIUM(GLuint program, | 1425 void MojoGLES2Impl::GetProgramInfoCHROMIUM(GLuint program, |
1430 GLsizei bufsize, | 1426 GLsizei bufsize, |
1431 GLsizei* size, | 1427 GLsizei* size, |
1432 void* info) { | 1428 void* info) { |
1433 MojoGLES2MakeCurrent(context_); | 1429 MojoGLES2MakeCurrent(context_); |
1434 glGetProgramInfoCHROMIUM(program, bufsize, size, info); | 1430 glGetProgramInfoCHROMIUM(program, bufsize, size, info); |
1435 } | 1431 } |
1436 void MojoGLES2Impl::GetUniformBlocksCHROMIUM(GLuint program, | 1432 void MojoGLES2Impl::GetUniformBlocksCHROMIUM(GLuint program, |
1437 GLsizei bufsize, | 1433 GLsizei bufsize, |
1438 GLsizei* size, | 1434 GLsizei* size, |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1782 void MojoGLES2Impl::BlendBarrierKHR() { | 1778 void MojoGLES2Impl::BlendBarrierKHR() { |
1783 MojoGLES2MakeCurrent(context_); | 1779 MojoGLES2MakeCurrent(context_); |
1784 glBlendBarrierKHR(); | 1780 glBlendBarrierKHR(); |
1785 } | 1781 } |
1786 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { | 1782 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { |
1787 MojoGLES2MakeCurrent(context_); | 1783 MojoGLES2MakeCurrent(context_); |
1788 glApplyScreenSpaceAntialiasingCHROMIUM(); | 1784 glApplyScreenSpaceAntialiasingCHROMIUM(); |
1789 } | 1785 } |
1790 | 1786 |
1791 } // namespace mojo | 1787 } // namespace mojo |
OLD | NEW |