| 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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 GLsizei bufsize, | 569 GLsizei bufsize, |
| 570 GLsizei* length, | 570 GLsizei* length, |
| 571 char* source) { | 571 char* source) { |
| 572 MojoGLES2MakeCurrent(context_); | 572 MojoGLES2MakeCurrent(context_); |
| 573 glGetShaderSource(shader, bufsize, length, source); | 573 glGetShaderSource(shader, bufsize, length, source); |
| 574 } | 574 } |
| 575 const GLubyte* MojoGLES2Impl::GetString(GLenum name) { | 575 const GLubyte* MojoGLES2Impl::GetString(GLenum name) { |
| 576 MojoGLES2MakeCurrent(context_); | 576 MojoGLES2MakeCurrent(context_); |
| 577 return glGetString(name); | 577 return glGetString(name); |
| 578 } | 578 } |
| 579 const GLubyte* MojoGLES2Impl::GetStringi(GLenum name, GLuint index) { |
| 580 NOTREACHED() << "Unimplemented GetStringi."; |
| 581 return 0; |
| 582 } |
| 579 void MojoGLES2Impl::GetSynciv(GLsync sync, | 583 void MojoGLES2Impl::GetSynciv(GLsync sync, |
| 580 GLenum pname, | 584 GLenum pname, |
| 581 GLsizei bufsize, | 585 GLsizei bufsize, |
| 582 GLsizei* length, | 586 GLsizei* length, |
| 583 GLint* values) { | 587 GLint* values) { |
| 584 NOTREACHED() << "Unimplemented GetSynciv."; | 588 NOTREACHED() << "Unimplemented GetSynciv."; |
| 585 } | 589 } |
| 586 void MojoGLES2Impl::GetTexParameterfv(GLenum target, | 590 void MojoGLES2Impl::GetTexParameterfv(GLenum target, |
| 587 GLenum pname, | 591 GLenum pname, |
| 588 GLfloat* params) { | 592 GLfloat* params) { |
| (...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1912 const char* name) { | 1916 const char* name) { |
| 1913 MojoGLES2MakeCurrent(context_); | 1917 MojoGLES2MakeCurrent(context_); |
| 1914 glBindFragDataLocationEXT(program, colorNumber, name); | 1918 glBindFragDataLocationEXT(program, colorNumber, name); |
| 1915 } | 1919 } |
| 1916 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { | 1920 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { |
| 1917 MojoGLES2MakeCurrent(context_); | 1921 MojoGLES2MakeCurrent(context_); |
| 1918 return glGetFragDataIndexEXT(program, name); | 1922 return glGetFragDataIndexEXT(program, name); |
| 1919 } | 1923 } |
| 1920 | 1924 |
| 1921 } // namespace mojo | 1925 } // namespace mojo |
| OLD | NEW |