| 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 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1440 GLsizei* size, | 1440 GLsizei* size, |
| 1441 void* info) { | 1441 void* info) { |
| 1442 NOTREACHED() << "Unimplemented GetTransformFeedbackVaryingsCHROMIUM."; | 1442 NOTREACHED() << "Unimplemented GetTransformFeedbackVaryingsCHROMIUM."; |
| 1443 } | 1443 } |
| 1444 void MojoGLES2Impl::GetUniformsES3CHROMIUM(GLuint program, | 1444 void MojoGLES2Impl::GetUniformsES3CHROMIUM(GLuint program, |
| 1445 GLsizei bufsize, | 1445 GLsizei bufsize, |
| 1446 GLsizei* size, | 1446 GLsizei* size, |
| 1447 void* info) { | 1447 void* info) { |
| 1448 NOTREACHED() << "Unimplemented GetUniformsES3CHROMIUM."; | 1448 NOTREACHED() << "Unimplemented GetUniformsES3CHROMIUM."; |
| 1449 } | 1449 } |
| 1450 GLuint MojoGLES2Impl::CreateStreamTextureCHROMIUM(GLuint texture) { | |
| 1451 MojoGLES2MakeCurrent(context_); | |
| 1452 return glCreateStreamTextureCHROMIUM(texture); | |
| 1453 } | |
| 1454 GLuint MojoGLES2Impl::CreateImageCHROMIUM(ClientBuffer buffer, | 1450 GLuint MojoGLES2Impl::CreateImageCHROMIUM(ClientBuffer buffer, |
| 1455 GLsizei width, | 1451 GLsizei width, |
| 1456 GLsizei height, | 1452 GLsizei height, |
| 1457 GLenum internalformat) { | 1453 GLenum internalformat) { |
| 1458 MojoGLES2MakeCurrent(context_); | 1454 MojoGLES2MakeCurrent(context_); |
| 1459 return glCreateImageCHROMIUM(buffer, width, height, internalformat); | 1455 return glCreateImageCHROMIUM(buffer, width, height, internalformat); |
| 1460 } | 1456 } |
| 1461 void MojoGLES2Impl::DestroyImageCHROMIUM(GLuint image_id) { | 1457 void MojoGLES2Impl::DestroyImageCHROMIUM(GLuint image_id) { |
| 1462 MojoGLES2MakeCurrent(context_); | 1458 MojoGLES2MakeCurrent(context_); |
| 1463 glDestroyImageCHROMIUM(image_id); | 1459 glDestroyImageCHROMIUM(image_id); |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1893 void MojoGLES2Impl::BlendBarrierKHR() { | 1889 void MojoGLES2Impl::BlendBarrierKHR() { |
| 1894 MojoGLES2MakeCurrent(context_); | 1890 MojoGLES2MakeCurrent(context_); |
| 1895 glBlendBarrierKHR(); | 1891 glBlendBarrierKHR(); |
| 1896 } | 1892 } |
| 1897 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { | 1893 void MojoGLES2Impl::ApplyScreenSpaceAntialiasingCHROMIUM() { |
| 1898 MojoGLES2MakeCurrent(context_); | 1894 MojoGLES2MakeCurrent(context_); |
| 1899 glApplyScreenSpaceAntialiasingCHROMIUM(); | 1895 glApplyScreenSpaceAntialiasingCHROMIUM(); |
| 1900 } | 1896 } |
| 1901 | 1897 |
| 1902 } // namespace mojo | 1898 } // namespace mojo |
| OLD | NEW |