Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(298)

Side by Side Diff: mojo/gpu/mojo_gles2_impl_autogen.cc

Issue 1559203003: Add GLStreamTextureImage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: added enum, removed count parameter. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after
1108 GLboolean transpose, 1108 GLboolean transpose,
1109 const GLfloat* value) { 1109 const GLfloat* value) {
1110 NOTREACHED() << "Unimplemented UniformMatrix4x2fv."; 1110 NOTREACHED() << "Unimplemented UniformMatrix4x2fv.";
1111 } 1111 }
1112 void MojoGLES2Impl::UniformMatrix4x3fv(GLint location, 1112 void MojoGLES2Impl::UniformMatrix4x3fv(GLint location,
1113 GLsizei count, 1113 GLsizei count,
1114 GLboolean transpose, 1114 GLboolean transpose,
1115 const GLfloat* value) { 1115 const GLfloat* value) {
1116 NOTREACHED() << "Unimplemented UniformMatrix4x3fv."; 1116 NOTREACHED() << "Unimplemented UniformMatrix4x3fv.";
1117 } 1117 }
1118 void MojoGLES2Impl::UniformMatrix4fvWithCustomMatrixCHROMIUM(
1119 GLint location,
1120 GLenum custom_matrix,
1121 GLboolean transpose,
1122 const GLfloat* default_value) {
1123 MojoGLES2MakeCurrent(context_);
1124 glUniformMatrix4fvWithCustomMatrixCHROMIUM(location, custom_matrix, transpose,
1125 default_value);
1126 }
1118 void MojoGLES2Impl::UseProgram(GLuint program) { 1127 void MojoGLES2Impl::UseProgram(GLuint program) {
1119 MojoGLES2MakeCurrent(context_); 1128 MojoGLES2MakeCurrent(context_);
1120 glUseProgram(program); 1129 glUseProgram(program);
1121 } 1130 }
1122 void MojoGLES2Impl::ValidateProgram(GLuint program) { 1131 void MojoGLES2Impl::ValidateProgram(GLuint program) {
1123 MojoGLES2MakeCurrent(context_); 1132 MojoGLES2MakeCurrent(context_);
1124 glValidateProgram(program); 1133 glValidateProgram(program);
1125 } 1134 }
1126 void MojoGLES2Impl::VertexAttrib1f(GLuint indx, GLfloat x) { 1135 void MojoGLES2Impl::VertexAttrib1f(GLuint indx, GLfloat x) {
1127 MojoGLES2MakeCurrent(context_); 1136 MojoGLES2MakeCurrent(context_);
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after
1912 const char* name) { 1921 const char* name) {
1913 MojoGLES2MakeCurrent(context_); 1922 MojoGLES2MakeCurrent(context_);
1914 glBindFragDataLocationEXT(program, colorNumber, name); 1923 glBindFragDataLocationEXT(program, colorNumber, name);
1915 } 1924 }
1916 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) { 1925 GLint MojoGLES2Impl::GetFragDataIndexEXT(GLuint program, const char* name) {
1917 MojoGLES2MakeCurrent(context_); 1926 MojoGLES2MakeCurrent(context_);
1918 return glGetFragDataIndexEXT(program, name); 1927 return glGetFragDataIndexEXT(program, name);
1919 } 1928 }
1920 1929
1921 } // namespace mojo 1930 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698