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

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

Issue 1688163002: command_buffer: Implement glGetStringi for GL ES 3.0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@command-buffer-generator-int-types
Patch Set: rebase 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
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « mojo/gpu/mojo_gles2_impl_autogen.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698