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 1467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1478 MojoGLES2MakeCurrent(context_); | 1478 MojoGLES2MakeCurrent(context_); |
1479 glGetTranslatedShaderSourceANGLE(shader, bufsize, length, source); | 1479 glGetTranslatedShaderSourceANGLE(shader, bufsize, length, source); |
1480 } | 1480 } |
1481 void MojoGLES2Impl::PostSubBufferCHROMIUM(GLint x, | 1481 void MojoGLES2Impl::PostSubBufferCHROMIUM(GLint x, |
1482 GLint y, | 1482 GLint y, |
1483 GLint width, | 1483 GLint width, |
1484 GLint height) { | 1484 GLint height) { |
1485 MojoGLES2MakeCurrent(context_); | 1485 MojoGLES2MakeCurrent(context_); |
1486 glPostSubBufferCHROMIUM(x, y, width, height); | 1486 glPostSubBufferCHROMIUM(x, y, width, height); |
1487 } | 1487 } |
1488 void MojoGLES2Impl::TexImageIOSurface2DCHROMIUM(GLenum target, | |
1489 GLsizei width, | |
1490 GLsizei height, | |
1491 GLuint ioSurfaceId, | |
1492 GLuint plane) { | |
1493 MojoGLES2MakeCurrent(context_); | |
1494 glTexImageIOSurface2DCHROMIUM(target, width, height, ioSurfaceId, plane); | |
1495 } | |
1496 void MojoGLES2Impl::CopyTextureCHROMIUM(GLenum source_id, | 1488 void MojoGLES2Impl::CopyTextureCHROMIUM(GLenum source_id, |
1497 GLenum dest_id, | 1489 GLenum dest_id, |
1498 GLint internalformat, | 1490 GLint internalformat, |
1499 GLenum dest_type, | 1491 GLenum dest_type, |
1500 GLboolean unpack_flip_y, | 1492 GLboolean unpack_flip_y, |
1501 GLboolean unpack_premultiply_alpha, | 1493 GLboolean unpack_premultiply_alpha, |
1502 GLboolean unpack_unmultiply_alpha) { | 1494 GLboolean unpack_unmultiply_alpha) { |
1503 MojoGLES2MakeCurrent(context_); | 1495 MojoGLES2MakeCurrent(context_); |
1504 glCopyTextureCHROMIUM(source_id, dest_id, internalformat, dest_type, | 1496 glCopyTextureCHROMIUM(source_id, dest_id, internalformat, dest_type, |
1505 unpack_flip_y, unpack_premultiply_alpha, | 1497 unpack_flip_y, unpack_premultiply_alpha, |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1898 void MojoGLES2Impl::UniformMatrix4fvStreamTextureMatrixCHROMIUM( | 1890 void MojoGLES2Impl::UniformMatrix4fvStreamTextureMatrixCHROMIUM( |
1899 GLint location, | 1891 GLint location, |
1900 GLboolean transpose, | 1892 GLboolean transpose, |
1901 const GLfloat* default_value) { | 1893 const GLfloat* default_value) { |
1902 MojoGLES2MakeCurrent(context_); | 1894 MojoGLES2MakeCurrent(context_); |
1903 glUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, | 1895 glUniformMatrix4fvStreamTextureMatrixCHROMIUM(location, transpose, |
1904 default_value); | 1896 default_value); |
1905 } | 1897 } |
1906 | 1898 |
1907 } // namespace mojo | 1899 } // namespace mojo |
OLD | NEW |