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
3 // found in the LICENSE file.
5 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename
11 // This file is included by gles2_interface_stub.cc.
12 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_IMPL_AUTOGEN_H_
13 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_IMPL_AUTOGEN_H_
15 void GLES2InterfaceStub::ActiveTexture(GLenum
/* texture */) {
17 void GLES2InterfaceStub::AttachShader(GLuint
/* program */,
18 GLuint
/* shader */) {
20 void GLES2InterfaceStub::BindAttribLocation(GLuint
/* program */,
22 const char* /* name */) {
24 void GLES2InterfaceStub::BindBuffer(GLenum
/* target */, GLuint
/* buffer */) {
26 void GLES2InterfaceStub::BindBufferBase(GLenum
/* target */,
28 GLuint
/* buffer */) {
30 void GLES2InterfaceStub::BindBufferRange(GLenum
/* target */,
33 GLintptr
/* offset */,
34 GLsizeiptr
/* size */) {
36 void GLES2InterfaceStub::BindFramebuffer(GLenum
/* target */,
37 GLuint
/* framebuffer */) {
39 void GLES2InterfaceStub::BindRenderbuffer(GLenum
/* target */,
40 GLuint
/* renderbuffer */) {
42 void GLES2InterfaceStub::BindSampler(GLuint
/* unit */, GLuint
/* sampler */) {
44 void GLES2InterfaceStub::BindTexture(GLenum
/* target */,
45 GLuint
/* texture */) {
47 void GLES2InterfaceStub::BindTransformFeedback(GLenum
/* target */,
48 GLuint
/* transformfeedback */) {
50 void GLES2InterfaceStub::BlendColor(GLclampf
/* red */,
53 GLclampf
/* alpha */) {
55 void GLES2InterfaceStub::BlendEquation(GLenum
/* mode */) {
57 void GLES2InterfaceStub::BlendEquationSeparate(GLenum
/* modeRGB */,
58 GLenum
/* modeAlpha */) {
60 void GLES2InterfaceStub::BlendFunc(GLenum
/* sfactor */, GLenum
/* dfactor */) {
62 void GLES2InterfaceStub::BlendFuncSeparate(GLenum
/* srcRGB */,
64 GLenum
/* srcAlpha */,
65 GLenum
/* dstAlpha */) {
67 void GLES2InterfaceStub::BufferData(GLenum
/* target */,
68 GLsizeiptr
/* size */,
69 const void* /* data */,
72 void GLES2InterfaceStub::BufferSubData(GLenum
/* target */,
73 GLintptr
/* offset */,
74 GLsizeiptr
/* size */,
75 const void* /* data */) {
77 GLenum
GLES2InterfaceStub::CheckFramebufferStatus(GLenum
/* target */) {
80 void GLES2InterfaceStub::Clear(GLbitfield
/* mask */) {
82 void GLES2InterfaceStub::ClearBufferfi(GLenum
/* buffer */,
83 GLint
/* drawbuffers */,
85 GLint
/* stencil */) {
87 void GLES2InterfaceStub::ClearBufferfv(GLenum
/* buffer */,
88 GLint
/* drawbuffers */,
89 const GLfloat
* /* value */) {
91 void GLES2InterfaceStub::ClearBufferiv(GLenum
/* buffer */,
92 GLint
/* drawbuffers */,
93 const GLint
* /* value */) {
95 void GLES2InterfaceStub::ClearBufferuiv(GLenum
/* buffer */,
96 GLint
/* drawbuffers */,
97 const GLuint
* /* value */) {
99 void GLES2InterfaceStub::ClearColor(GLclampf
/* red */,
100 GLclampf
/* green */,
102 GLclampf
/* alpha */) {
104 void GLES2InterfaceStub::ClearDepthf(GLclampf
/* depth */) {
106 void GLES2InterfaceStub::ClearStencil(GLint
/* s */) {
108 GLenum
GLES2InterfaceStub::ClientWaitSync(GLsync
/* sync */,
109 GLbitfield
/* flags */,
110 GLuint64
/* timeout */) {
113 void GLES2InterfaceStub::ColorMask(GLboolean
/* red */,
114 GLboolean
/* green */,
115 GLboolean
/* blue */,
116 GLboolean
/* alpha */) {
118 void GLES2InterfaceStub::CompileShader(GLuint
/* shader */) {
120 void GLES2InterfaceStub::CompressedTexImage2D(GLenum
/* target */,
122 GLenum
/* internalformat */,
124 GLsizei
/* height */,
126 GLsizei
/* imageSize */,
127 const void* /* data */) {
129 void GLES2InterfaceStub::CompressedTexSubImage2D(GLenum
/* target */,
134 GLsizei
/* height */,
136 GLsizei
/* imageSize */,
137 const void* /* data */) {
139 void GLES2InterfaceStub::CompressedTexImage3D(GLenum
/* target */,
141 GLenum
/* internalformat */,
143 GLsizei
/* height */,
146 GLsizei
/* imageSize */,
147 const void* /* data */) {
149 void GLES2InterfaceStub::CompressedTexSubImage3D(GLenum
/* target */,
155 GLsizei
/* height */,
158 GLsizei
/* imageSize */,
159 const void* /* data */) {
161 void GLES2InterfaceStub::CopyBufferSubData(GLenum
/* readtarget */,
162 GLenum
/* writetarget */,
163 GLintptr
/* readoffset */,
164 GLintptr
/* writeoffset */,
165 GLsizeiptr
/* size */) {
167 void GLES2InterfaceStub::CopyTexImage2D(GLenum
/* target */,
169 GLenum
/* internalformat */,
173 GLsizei
/* height */,
174 GLint
/* border */) {
176 void GLES2InterfaceStub::CopyTexSubImage2D(GLenum
/* target */,
183 GLsizei
/* height */) {
185 void GLES2InterfaceStub::CopyTexSubImage3D(GLenum
/* target */,
193 GLsizei
/* height */) {
195 GLuint
GLES2InterfaceStub::CreateProgram() {
198 GLuint
GLES2InterfaceStub::CreateShader(GLenum
/* type */) {
201 void GLES2InterfaceStub::CullFace(GLenum
/* mode */) {
203 void GLES2InterfaceStub::DeleteBuffers(GLsizei
/* n */,
204 const GLuint
* /* buffers */) {
206 void GLES2InterfaceStub::DeleteFramebuffers(GLsizei
/* n */,
207 const GLuint
* /* framebuffers */) {
209 void GLES2InterfaceStub::DeleteProgram(GLuint
/* program */) {
211 void GLES2InterfaceStub::DeleteRenderbuffers(
213 const GLuint
* /* renderbuffers */) {
215 void GLES2InterfaceStub::DeleteSamplers(GLsizei
/* n */,
216 const GLuint
* /* samplers */) {
218 void GLES2InterfaceStub::DeleteSync(GLsync
/* sync */) {
220 void GLES2InterfaceStub::DeleteShader(GLuint
/* shader */) {
222 void GLES2InterfaceStub::DeleteTextures(GLsizei
/* n */,
223 const GLuint
* /* textures */) {
225 void GLES2InterfaceStub::DeleteTransformFeedbacks(GLsizei
/* n */,
226 const GLuint
* /* ids */) {
228 void GLES2InterfaceStub::DepthFunc(GLenum
/* func */) {
230 void GLES2InterfaceStub::DepthMask(GLboolean
/* flag */) {
232 void GLES2InterfaceStub::DepthRangef(GLclampf
/* zNear */,
233 GLclampf
/* zFar */) {
235 void GLES2InterfaceStub::DetachShader(GLuint
/* program */,
236 GLuint
/* shader */) {
238 void GLES2InterfaceStub::Disable(GLenum
/* cap */) {
240 void GLES2InterfaceStub::DisableVertexAttribArray(GLuint
/* index */) {
242 void GLES2InterfaceStub::DrawArrays(GLenum
/* mode */,
244 GLsizei
/* count */) {
246 void GLES2InterfaceStub::DrawElements(GLenum
/* mode */,
249 const void* /* indices */) {
251 void GLES2InterfaceStub::DrawRangeElements(GLenum
/* mode */,
256 const void* /* indices */) {
258 void GLES2InterfaceStub::Enable(GLenum
/* cap */) {
260 void GLES2InterfaceStub::EnableVertexAttribArray(GLuint
/* index */) {
262 GLsync
GLES2InterfaceStub::FenceSync(GLenum
/* condition */,
263 GLbitfield
/* flags */) {
266 void GLES2InterfaceStub::Finish() {
268 void GLES2InterfaceStub::Flush() {
270 void GLES2InterfaceStub::FramebufferRenderbuffer(
272 GLenum
/* attachment */,
273 GLenum
/* renderbuffertarget */,
274 GLuint
/* renderbuffer */) {
276 void GLES2InterfaceStub::FramebufferTexture2D(GLenum
/* target */,
277 GLenum
/* attachment */,
278 GLenum
/* textarget */,
279 GLuint
/* texture */,
282 void GLES2InterfaceStub::FramebufferTextureLayer(GLenum
/* target */,
283 GLenum
/* attachment */,
284 GLuint
/* texture */,
288 void GLES2InterfaceStub::FrontFace(GLenum
/* mode */) {
290 void GLES2InterfaceStub::GenBuffers(GLsizei
/* n */, GLuint
* /* buffers */) {
292 void GLES2InterfaceStub::GenerateMipmap(GLenum
/* target */) {
294 void GLES2InterfaceStub::GenFramebuffers(GLsizei
/* n */,
295 GLuint
* /* framebuffers */) {
297 void GLES2InterfaceStub::GenRenderbuffers(GLsizei
/* n */,
298 GLuint
* /* renderbuffers */) {
300 void GLES2InterfaceStub::GenSamplers(GLsizei
/* n */, GLuint
* /* samplers */) {
302 void GLES2InterfaceStub::GenTextures(GLsizei
/* n */, GLuint
* /* textures */) {
304 void GLES2InterfaceStub::GenTransformFeedbacks(GLsizei
/* n */,
307 void GLES2InterfaceStub::GetActiveAttrib(GLuint
/* program */,
309 GLsizei
/* bufsize */,
310 GLsizei
* /* length */,
315 void GLES2InterfaceStub::GetActiveUniform(GLuint
/* program */,
317 GLsizei
/* bufsize */,
318 GLsizei
* /* length */,
323 void GLES2InterfaceStub::GetActiveUniformBlockiv(GLuint
/* program */,
326 GLint
* /* params */) {
328 void GLES2InterfaceStub::GetActiveUniformBlockName(GLuint
/* program */,
330 GLsizei
/* bufsize */,
331 GLsizei
* /* length */,
334 void GLES2InterfaceStub::GetActiveUniformsiv(GLuint
/* program */,
336 const GLuint
* /* indices */,
338 GLint
* /* params */) {
340 void GLES2InterfaceStub::GetAttachedShaders(GLuint
/* program */,
341 GLsizei
/* maxcount */,
342 GLsizei
* /* count */,
343 GLuint
* /* shaders */) {
345 GLint
GLES2InterfaceStub::GetAttribLocation(GLuint
/* program */,
346 const char* /* name */) {
349 void GLES2InterfaceStub::GetBooleanv(GLenum
/* pname */,
350 GLboolean
* /* params */) {
352 void GLES2InterfaceStub::GetBufferParameteriv(GLenum
/* target */,
354 GLint
* /* params */) {
356 GLenum
GLES2InterfaceStub::GetError() {
359 void GLES2InterfaceStub::GetFloatv(GLenum
/* pname */, GLfloat
* /* params */) {
361 GLint
GLES2InterfaceStub::GetFragDataLocation(GLuint
/* program */,
362 const char* /* name */) {
365 void GLES2InterfaceStub::GetFramebufferAttachmentParameteriv(
367 GLenum
/* attachment */,
369 GLint
* /* params */) {
371 void GLES2InterfaceStub::GetInteger64v(GLenum
/* pname */,
372 GLint64
* /* params */) {
374 void GLES2InterfaceStub::GetIntegeri_v(GLenum
/* pname */,
378 void GLES2InterfaceStub::GetInteger64i_v(GLenum
/* pname */,
380 GLint64
* /* data */) {
382 void GLES2InterfaceStub::GetIntegerv(GLenum
/* pname */, GLint
* /* params */) {
384 void GLES2InterfaceStub::GetInternalformativ(GLenum
/* target */,
387 GLsizei
/* bufSize */,
388 GLint
* /* params */) {
390 void GLES2InterfaceStub::GetProgramiv(GLuint
/* program */,
392 GLint
* /* params */) {
394 void GLES2InterfaceStub::GetProgramInfoLog(GLuint
/* program */,
395 GLsizei
/* bufsize */,
396 GLsizei
* /* length */,
397 char* /* infolog */) {
399 void GLES2InterfaceStub::GetRenderbufferParameteriv(GLenum
/* target */,
401 GLint
* /* params */) {
403 void GLES2InterfaceStub::GetSamplerParameterfv(GLuint
/* sampler */,
405 GLfloat
* /* params */) {
407 void GLES2InterfaceStub::GetSamplerParameteriv(GLuint
/* sampler */,
409 GLint
* /* params */) {
411 void GLES2InterfaceStub::GetShaderiv(GLuint
/* shader */,
413 GLint
* /* params */) {
415 void GLES2InterfaceStub::GetShaderInfoLog(GLuint
/* shader */,
416 GLsizei
/* bufsize */,
417 GLsizei
* /* length */,
418 char* /* infolog */) {
420 void GLES2InterfaceStub::GetShaderPrecisionFormat(GLenum
/* shadertype */,
421 GLenum
/* precisiontype */,
423 GLint
* /* precision */) {
425 void GLES2InterfaceStub::GetShaderSource(GLuint
/* shader */,
426 GLsizei
/* bufsize */,
427 GLsizei
* /* length */,
428 char* /* source */) {
430 const GLubyte
* GLES2InterfaceStub::GetString(GLenum
/* name */) {
433 void GLES2InterfaceStub::GetSynciv(GLsync
/* sync */,
435 GLsizei
/* bufsize */,
436 GLsizei
* /* length */,
437 GLint
* /* values */) {
439 void GLES2InterfaceStub::GetTexParameterfv(GLenum
/* target */,
441 GLfloat
* /* params */) {
443 void GLES2InterfaceStub::GetTexParameteriv(GLenum
/* target */,
445 GLint
* /* params */) {
447 void GLES2InterfaceStub::GetTransformFeedbackVarying(GLuint
/* program */,
449 GLsizei
/* bufsize */,
450 GLsizei
* /* length */,
455 GLuint
GLES2InterfaceStub::GetUniformBlockIndex(GLuint
/* program */,
456 const char* /* name */) {
459 void GLES2InterfaceStub::GetUniformfv(GLuint
/* program */,
460 GLint
/* location */,
461 GLfloat
* /* params */) {
463 void GLES2InterfaceStub::GetUniformiv(GLuint
/* program */,
464 GLint
/* location */,
465 GLint
* /* params */) {
467 void GLES2InterfaceStub::GetUniformuiv(GLuint
/* program */,
468 GLint
/* location */,
469 GLuint
* /* params */) {
471 void GLES2InterfaceStub::GetUniformIndices(GLuint
/* program */,
473 const char* const* /* names */,
474 GLuint
* /* indices */) {
476 GLint
GLES2InterfaceStub::GetUniformLocation(GLuint
/* program */,
477 const char* /* name */) {
480 void GLES2InterfaceStub::GetVertexAttribfv(GLuint
/* index */,
482 GLfloat
* /* params */) {
484 void GLES2InterfaceStub::GetVertexAttribiv(GLuint
/* index */,
486 GLint
* /* params */) {
488 void GLES2InterfaceStub::GetVertexAttribIiv(GLuint
/* index */,
490 GLint
* /* params */) {
492 void GLES2InterfaceStub::GetVertexAttribIuiv(GLuint
/* index */,
494 GLuint
* /* params */) {
496 void GLES2InterfaceStub::GetVertexAttribPointerv(GLuint
/* index */,
498 void** /* pointer */) {
500 void GLES2InterfaceStub::Hint(GLenum
/* target */, GLenum
/* mode */) {
502 void GLES2InterfaceStub::InvalidateFramebuffer(
505 const GLenum
* /* attachments */) {
507 void GLES2InterfaceStub::InvalidateSubFramebuffer(
510 const GLenum
* /* attachments */,
514 GLsizei
/* height */) {
516 GLboolean
GLES2InterfaceStub::IsBuffer(GLuint
/* buffer */) {
519 GLboolean
GLES2InterfaceStub::IsEnabled(GLenum
/* cap */) {
522 GLboolean
GLES2InterfaceStub::IsFramebuffer(GLuint
/* framebuffer */) {
525 GLboolean
GLES2InterfaceStub::IsProgram(GLuint
/* program */) {
528 GLboolean
GLES2InterfaceStub::IsRenderbuffer(GLuint
/* renderbuffer */) {
531 GLboolean
GLES2InterfaceStub::IsSampler(GLuint
/* sampler */) {
534 GLboolean
GLES2InterfaceStub::IsShader(GLuint
/* shader */) {
537 GLboolean
GLES2InterfaceStub::IsSync(GLsync
/* sync */) {
540 GLboolean
GLES2InterfaceStub::IsTexture(GLuint
/* texture */) {
543 GLboolean
GLES2InterfaceStub::IsTransformFeedback(
544 GLuint
/* transformfeedback */) {
547 void GLES2InterfaceStub::LineWidth(GLfloat
/* width */) {
549 void GLES2InterfaceStub::LinkProgram(GLuint
/* program */) {
551 void GLES2InterfaceStub::PauseTransformFeedback() {
553 void GLES2InterfaceStub::PixelStorei(GLenum
/* pname */, GLint
/* param */) {
555 void GLES2InterfaceStub::PolygonOffset(GLfloat
/* factor */,
556 GLfloat
/* units */) {
558 void GLES2InterfaceStub::ReadBuffer(GLenum
/* src */) {
560 void GLES2InterfaceStub::ReadPixels(GLint
/* x */,
563 GLsizei
/* height */,
566 void* /* pixels */) {
568 void GLES2InterfaceStub::ReleaseShaderCompiler() {
570 void GLES2InterfaceStub::RenderbufferStorage(GLenum
/* target */,
571 GLenum
/* internalformat */,
573 GLsizei
/* height */) {
575 void GLES2InterfaceStub::ResumeTransformFeedback() {
577 void GLES2InterfaceStub::SampleCoverage(GLclampf
/* value */,
578 GLboolean
/* invert */) {
580 void GLES2InterfaceStub::SamplerParameterf(GLuint
/* sampler */,
582 GLfloat
/* param */) {
584 void GLES2InterfaceStub::SamplerParameterfv(GLuint
/* sampler */,
586 const GLfloat
* /* params */) {
588 void GLES2InterfaceStub::SamplerParameteri(GLuint
/* sampler */,
592 void GLES2InterfaceStub::SamplerParameteriv(GLuint
/* sampler */,
594 const GLint
* /* params */) {
596 void GLES2InterfaceStub::Scissor(GLint
/* x */,
599 GLsizei
/* height */) {
601 void GLES2InterfaceStub::ShaderBinary(GLsizei
/* n */,
602 const GLuint
* /* shaders */,
603 GLenum
/* binaryformat */,
604 const void* /* binary */,
605 GLsizei
/* length */) {
607 void GLES2InterfaceStub::ShaderSource(GLuint
/* shader */,
609 const GLchar
* const* /* str */,
610 const GLint
* /* length */) {
612 void GLES2InterfaceStub::ShallowFinishCHROMIUM() {
614 void GLES2InterfaceStub::ShallowFlushCHROMIUM() {
616 void GLES2InterfaceStub::OrderingBarrierCHROMIUM() {
618 void GLES2InterfaceStub::StencilFunc(GLenum
/* func */,
622 void GLES2InterfaceStub::StencilFuncSeparate(GLenum
/* face */,
627 void GLES2InterfaceStub::StencilMask(GLuint
/* mask */) {
629 void GLES2InterfaceStub::StencilMaskSeparate(GLenum
/* face */,
632 void GLES2InterfaceStub::StencilOp(GLenum
/* fail */,
634 GLenum
/* zpass */) {
636 void GLES2InterfaceStub::StencilOpSeparate(GLenum
/* face */,
639 GLenum
/* zpass */) {
641 void GLES2InterfaceStub::TexImage2D(GLenum
/* target */,
643 GLint
/* internalformat */,
645 GLsizei
/* height */,
649 const void* /* pixels */) {
651 void GLES2InterfaceStub::TexImage3D(GLenum
/* target */,
653 GLint
/* internalformat */,
655 GLsizei
/* height */,
660 const void* /* pixels */) {
662 void GLES2InterfaceStub::TexParameterf(GLenum
/* target */,
664 GLfloat
/* param */) {
666 void GLES2InterfaceStub::TexParameterfv(GLenum
/* target */,
668 const GLfloat
* /* params */) {
670 void GLES2InterfaceStub::TexParameteri(GLenum
/* target */,
674 void GLES2InterfaceStub::TexParameteriv(GLenum
/* target */,
676 const GLint
* /* params */) {
678 void GLES2InterfaceStub::TexStorage3D(GLenum
/* target */,
679 GLsizei
/* levels */,
680 GLenum
/* internalFormat */,
682 GLsizei
/* height */,
683 GLsizei
/* depth */) {
685 void GLES2InterfaceStub::TexSubImage2D(GLenum
/* target */,
690 GLsizei
/* height */,
693 const void* /* pixels */) {
695 void GLES2InterfaceStub::TexSubImage3D(GLenum
/* target */,
701 GLsizei
/* height */,
705 const void* /* pixels */) {
707 void GLES2InterfaceStub::TransformFeedbackVaryings(
708 GLuint
/* program */,
710 const char* const* /* varyings */,
711 GLenum
/* buffermode */) {
713 void GLES2InterfaceStub::Uniform1f(GLint
/* location */, GLfloat
/* x */) {
715 void GLES2InterfaceStub::Uniform1fv(GLint
/* location */,
717 const GLfloat
* /* v */) {
719 void GLES2InterfaceStub::Uniform1i(GLint
/* location */, GLint
/* x */) {
721 void GLES2InterfaceStub::Uniform1iv(GLint
/* location */,
723 const GLint
* /* v */) {
725 void GLES2InterfaceStub::Uniform1ui(GLint
/* location */, GLuint
/* x */) {
727 void GLES2InterfaceStub::Uniform1uiv(GLint
/* location */,
729 const GLuint
* /* v */) {
731 void GLES2InterfaceStub::Uniform2f(GLint
/* location */,
735 void GLES2InterfaceStub::Uniform2fv(GLint
/* location */,
737 const GLfloat
* /* v */) {
739 void GLES2InterfaceStub::Uniform2i(GLint
/* location */,
743 void GLES2InterfaceStub::Uniform2iv(GLint
/* location */,
745 const GLint
* /* v */) {
747 void GLES2InterfaceStub::Uniform2ui(GLint
/* location */,
751 void GLES2InterfaceStub::Uniform2uiv(GLint
/* location */,
753 const GLuint
* /* v */) {
755 void GLES2InterfaceStub::Uniform3f(GLint
/* location */,
760 void GLES2InterfaceStub::Uniform3fv(GLint
/* location */,
762 const GLfloat
* /* v */) {
764 void GLES2InterfaceStub::Uniform3i(GLint
/* location */,
769 void GLES2InterfaceStub::Uniform3iv(GLint
/* location */,
771 const GLint
* /* v */) {
773 void GLES2InterfaceStub::Uniform3ui(GLint
/* location */,
778 void GLES2InterfaceStub::Uniform3uiv(GLint
/* location */,
780 const GLuint
* /* v */) {
782 void GLES2InterfaceStub::Uniform4f(GLint
/* location */,
788 void GLES2InterfaceStub::Uniform4fv(GLint
/* location */,
790 const GLfloat
* /* v */) {
792 void GLES2InterfaceStub::Uniform4i(GLint
/* location */,
798 void GLES2InterfaceStub::Uniform4iv(GLint
/* location */,
800 const GLint
* /* v */) {
802 void GLES2InterfaceStub::Uniform4ui(GLint
/* location */,
808 void GLES2InterfaceStub::Uniform4uiv(GLint
/* location */,
810 const GLuint
* /* v */) {
812 void GLES2InterfaceStub::UniformBlockBinding(GLuint
/* program */,
814 GLuint
/* binding */) {
816 void GLES2InterfaceStub::UniformMatrix2fv(GLint
/* location */,
818 GLboolean
/* transpose */,
819 const GLfloat
* /* value */) {
821 void GLES2InterfaceStub::UniformMatrix2x3fv(GLint
/* location */,
823 GLboolean
/* transpose */,
824 const GLfloat
* /* value */) {
826 void GLES2InterfaceStub::UniformMatrix2x4fv(GLint
/* location */,
828 GLboolean
/* transpose */,
829 const GLfloat
* /* value */) {
831 void GLES2InterfaceStub::UniformMatrix3fv(GLint
/* location */,
833 GLboolean
/* transpose */,
834 const GLfloat
* /* value */) {
836 void GLES2InterfaceStub::UniformMatrix3x2fv(GLint
/* location */,
838 GLboolean
/* transpose */,
839 const GLfloat
* /* value */) {
841 void GLES2InterfaceStub::UniformMatrix3x4fv(GLint
/* location */,
843 GLboolean
/* transpose */,
844 const GLfloat
* /* value */) {
846 void GLES2InterfaceStub::UniformMatrix4fv(GLint
/* location */,
848 GLboolean
/* transpose */,
849 const GLfloat
* /* value */) {
851 void GLES2InterfaceStub::UniformMatrix4x2fv(GLint
/* location */,
853 GLboolean
/* transpose */,
854 const GLfloat
* /* value */) {
856 void GLES2InterfaceStub::UniformMatrix4x3fv(GLint
/* location */,
858 GLboolean
/* transpose */,
859 const GLfloat
* /* value */) {
861 void GLES2InterfaceStub::UseProgram(GLuint
/* program */) {
863 void GLES2InterfaceStub::ValidateProgram(GLuint
/* program */) {
865 void GLES2InterfaceStub::VertexAttrib1f(GLuint
/* indx */, GLfloat
/* x */) {
867 void GLES2InterfaceStub::VertexAttrib1fv(GLuint
/* indx */,
868 const GLfloat
* /* values */) {
870 void GLES2InterfaceStub::VertexAttrib2f(GLuint
/* indx */,
874 void GLES2InterfaceStub::VertexAttrib2fv(GLuint
/* indx */,
875 const GLfloat
* /* values */) {
877 void GLES2InterfaceStub::VertexAttrib3f(GLuint
/* indx */,
882 void GLES2InterfaceStub::VertexAttrib3fv(GLuint
/* indx */,
883 const GLfloat
* /* values */) {
885 void GLES2InterfaceStub::VertexAttrib4f(GLuint
/* indx */,
891 void GLES2InterfaceStub::VertexAttrib4fv(GLuint
/* indx */,
892 const GLfloat
* /* values */) {
894 void GLES2InterfaceStub::VertexAttribI4i(GLuint
/* indx */,
900 void GLES2InterfaceStub::VertexAttribI4iv(GLuint
/* indx */,
901 const GLint
* /* values */) {
903 void GLES2InterfaceStub::VertexAttribI4ui(GLuint
/* indx */,
909 void GLES2InterfaceStub::VertexAttribI4uiv(GLuint
/* indx */,
910 const GLuint
* /* values */) {
912 void GLES2InterfaceStub::VertexAttribIPointer(GLuint
/* indx */,
915 GLsizei
/* stride */,
916 const void* /* ptr */) {
918 void GLES2InterfaceStub::VertexAttribPointer(GLuint
/* indx */,
921 GLboolean
/* normalized */,
922 GLsizei
/* stride */,
923 const void* /* ptr */) {
925 void GLES2InterfaceStub::Viewport(GLint
/* x */,
928 GLsizei
/* height */) {
930 void GLES2InterfaceStub::WaitSync(GLsync
/* sync */,
931 GLbitfield
/* flags */,
932 GLuint64
/* timeout */) {
934 void GLES2InterfaceStub::BlitFramebufferCHROMIUM(GLint
/* srcX0 */,
942 GLbitfield
/* mask */,
943 GLenum
/* filter */) {
945 void GLES2InterfaceStub::RenderbufferStorageMultisampleCHROMIUM(
947 GLsizei
/* samples */,
948 GLenum
/* internalformat */,
950 GLsizei
/* height */) {
952 void GLES2InterfaceStub::RenderbufferStorageMultisampleEXT(
954 GLsizei
/* samples */,
955 GLenum
/* internalformat */,
957 GLsizei
/* height */) {
959 void GLES2InterfaceStub::FramebufferTexture2DMultisampleEXT(
961 GLenum
/* attachment */,
962 GLenum
/* textarget */,
963 GLuint
/* texture */,
965 GLsizei
/* samples */) {
967 void GLES2InterfaceStub::TexStorage2DEXT(GLenum
/* target */,
968 GLsizei
/* levels */,
969 GLenum
/* internalFormat */,
971 GLsizei
/* height */) {
973 void GLES2InterfaceStub::GenQueriesEXT(GLsizei
/* n */, GLuint
* /* queries */) {
975 void GLES2InterfaceStub::DeleteQueriesEXT(GLsizei
/* n */,
976 const GLuint
* /* queries */) {
978 void GLES2InterfaceStub::QueryCounterEXT(GLuint
/* id */, GLenum
/* target */) {
980 GLboolean
GLES2InterfaceStub::IsQueryEXT(GLuint
/* id */) {
983 void GLES2InterfaceStub::BeginQueryEXT(GLenum
/* target */, GLuint
/* id */) {
985 void GLES2InterfaceStub::BeginTransformFeedback(GLenum
/* primitivemode */) {
987 void GLES2InterfaceStub::EndQueryEXT(GLenum
/* target */) {
989 void GLES2InterfaceStub::EndTransformFeedback() {
991 void GLES2InterfaceStub::GetQueryivEXT(GLenum
/* target */,
993 GLint
* /* params */) {
995 void GLES2InterfaceStub::GetQueryObjectuivEXT(GLuint
/* id */,
997 GLuint
* /* params */) {
999 void GLES2InterfaceStub::GetQueryObjectui64vEXT(GLuint
/* id */,
1001 GLuint64
* /* params */) {
1003 void GLES2InterfaceStub::InsertEventMarkerEXT(GLsizei
/* length */,
1004 const GLchar
* /* marker */) {
1006 void GLES2InterfaceStub::PushGroupMarkerEXT(GLsizei
/* length */,
1007 const GLchar
* /* marker */) {
1009 void GLES2InterfaceStub::PopGroupMarkerEXT() {
1011 void GLES2InterfaceStub::GenVertexArraysOES(GLsizei
/* n */,
1012 GLuint
* /* arrays */) {
1014 void GLES2InterfaceStub::DeleteVertexArraysOES(GLsizei
/* n */,
1015 const GLuint
* /* arrays */) {
1017 GLboolean
GLES2InterfaceStub::IsVertexArrayOES(GLuint
/* array */) {
1020 void GLES2InterfaceStub::BindVertexArrayOES(GLuint
/* array */) {
1022 void GLES2InterfaceStub::SwapBuffers() {
1024 GLuint
GLES2InterfaceStub::GetMaxValueInBufferCHROMIUM(GLuint
/* buffer_id */,
1025 GLsizei
/* count */,
1027 GLuint
/* offset */) {
1030 GLboolean
GLES2InterfaceStub::EnableFeatureCHROMIUM(const char* /* feature */) {
1033 void* GLES2InterfaceStub::MapBufferCHROMIUM(GLuint
/* target */,
1034 GLenum
/* access */) {
1037 GLboolean
GLES2InterfaceStub::UnmapBufferCHROMIUM(GLuint
/* target */) {
1040 void* GLES2InterfaceStub::MapBufferSubDataCHROMIUM(GLuint
/* target */,
1041 GLintptr
/* offset */,
1042 GLsizeiptr
/* size */,
1043 GLenum
/* access */) {
1046 void GLES2InterfaceStub::UnmapBufferSubDataCHROMIUM(const void* /* mem */) {
1048 void* GLES2InterfaceStub::MapBufferRange(GLenum
/* target */,
1049 GLintptr
/* offset */,
1050 GLsizeiptr
/* size */,
1051 GLbitfield
/* access */) {
1054 GLboolean
GLES2InterfaceStub::UnmapBuffer(GLenum
/* target */) {
1057 void* GLES2InterfaceStub::MapTexSubImage2DCHROMIUM(GLenum
/* target */,
1059 GLint
/* xoffset */,
1060 GLint
/* yoffset */,
1061 GLsizei
/* width */,
1062 GLsizei
/* height */,
1063 GLenum
/* format */,
1065 GLenum
/* access */) {
1068 void GLES2InterfaceStub::UnmapTexSubImage2DCHROMIUM(const void* /* mem */) {
1070 void GLES2InterfaceStub::ResizeCHROMIUM(GLuint
/* width */,
1071 GLuint
/* height */,
1072 GLfloat
/* scale_factor */) {
1074 const GLchar
* GLES2InterfaceStub::GetRequestableExtensionsCHROMIUM() {
1077 void GLES2InterfaceStub::RequestExtensionCHROMIUM(const char* /* extension */) {
1079 void GLES2InterfaceStub::RateLimitOffscreenContextCHROMIUM() {
1081 void GLES2InterfaceStub::GetProgramInfoCHROMIUM(GLuint
/* program */,
1082 GLsizei
/* bufsize */,
1083 GLsizei
* /* size */,
1086 void GLES2InterfaceStub::GetUniformBlocksCHROMIUM(GLuint
/* program */,
1087 GLsizei
/* bufsize */,
1088 GLsizei
* /* size */,
1091 void GLES2InterfaceStub::GetTransformFeedbackVaryingsCHROMIUM(
1092 GLuint
/* program */,
1093 GLsizei
/* bufsize */,
1094 GLsizei
* /* size */,
1097 void GLES2InterfaceStub::GetUniformsES3CHROMIUM(GLuint
/* program */,
1098 GLsizei
/* bufsize */,
1099 GLsizei
* /* size */,
1102 GLuint
GLES2InterfaceStub::CreateStreamTextureCHROMIUM(GLuint
/* texture */) {
1105 GLuint
GLES2InterfaceStub::CreateImageCHROMIUM(ClientBuffer
/* buffer */,
1106 GLsizei
/* width */,
1107 GLsizei
/* height */,
1108 GLenum
/* internalformat */) {
1111 void GLES2InterfaceStub::DestroyImageCHROMIUM(GLuint
/* image_id */) {
1113 GLuint
GLES2InterfaceStub::CreateGpuMemoryBufferImageCHROMIUM(
1114 GLsizei
/* width */,
1115 GLsizei
/* height */,
1116 GLenum
/* internalformat */,
1117 GLenum
/* usage */) {
1120 void GLES2InterfaceStub::GetTranslatedShaderSourceANGLE(GLuint
/* shader */,
1121 GLsizei
/* bufsize */,
1122 GLsizei
* /* length */,
1123 char* /* source */) {
1125 void GLES2InterfaceStub::PostSubBufferCHROMIUM(GLint
/* x */,
1128 GLint
/* height */) {
1130 void GLES2InterfaceStub::TexImageIOSurface2DCHROMIUM(GLenum
/* target */,
1131 GLsizei
/* width */,
1132 GLsizei
/* height */,
1133 GLuint
/* ioSurfaceId */,
1134 GLuint
/* plane */) {
1136 void GLES2InterfaceStub::CopyTextureCHROMIUM(
1137 GLenum
/* target */,
1138 GLenum
/* source_id */,
1139 GLenum
/* dest_id */,
1140 GLint
/* internalformat */,
1141 GLenum
/* dest_type */,
1142 GLboolean
/* unpack_flip_y */,
1143 GLboolean
/* unpack_premultiply_alpha */,
1144 GLboolean
/* unpack_unmultiply_alpha */) {
1146 void GLES2InterfaceStub::CopySubTextureCHROMIUM(
1147 GLenum
/* target */,
1148 GLenum
/* source_id */,
1149 GLenum
/* dest_id */,
1150 GLint
/* xoffset */,
1151 GLint
/* yoffset */,
1154 GLsizei
/* width */,
1155 GLsizei
/* height */,
1156 GLboolean
/* unpack_flip_y */,
1157 GLboolean
/* unpack_premultiply_alpha */,
1158 GLboolean
/* unpack_unmultiply_alpha */) {
1160 void GLES2InterfaceStub::CompressedCopyTextureCHROMIUM(GLenum
/* target */,
1161 GLenum
/* source_id */,
1162 GLenum
/* dest_id */) {
1164 void GLES2InterfaceStub::DrawArraysInstancedANGLE(GLenum
/* mode */,
1166 GLsizei
/* count */,
1167 GLsizei
/* primcount */) {
1169 void GLES2InterfaceStub::DrawElementsInstancedANGLE(GLenum
/* mode */,
1170 GLsizei
/* count */,
1172 const void* /* indices */,
1173 GLsizei
/* primcount */) {
1175 void GLES2InterfaceStub::VertexAttribDivisorANGLE(GLuint
/* index */,
1176 GLuint
/* divisor */) {
1178 void GLES2InterfaceStub::GenMailboxCHROMIUM(GLbyte
* /* mailbox */) {
1180 void GLES2InterfaceStub::ProduceTextureCHROMIUM(GLenum
/* target */,
1181 const GLbyte
* /* mailbox */) {
1183 void GLES2InterfaceStub::ProduceTextureDirectCHROMIUM(
1184 GLuint
/* texture */,
1185 GLenum
/* target */,
1186 const GLbyte
* /* mailbox */) {
1188 void GLES2InterfaceStub::ConsumeTextureCHROMIUM(GLenum
/* target */,
1189 const GLbyte
* /* mailbox */) {
1191 GLuint
GLES2InterfaceStub::CreateAndConsumeTextureCHROMIUM(
1192 GLenum
/* target */,
1193 const GLbyte
* /* mailbox */) {
1196 void GLES2InterfaceStub::BindUniformLocationCHROMIUM(GLuint
/* program */,
1197 GLint
/* location */,
1198 const char* /* name */) {
1200 void GLES2InterfaceStub::GenValuebuffersCHROMIUM(GLsizei
/* n */,
1201 GLuint
* /* buffers */) {
1203 void GLES2InterfaceStub::DeleteValuebuffersCHROMIUM(
1205 const GLuint
* /* valuebuffers */) {
1207 GLboolean
GLES2InterfaceStub::IsValuebufferCHROMIUM(GLuint
/* valuebuffer */) {
1210 void GLES2InterfaceStub::BindValuebufferCHROMIUM(GLenum
/* target */,
1211 GLuint
/* valuebuffer */) {
1213 void GLES2InterfaceStub::SubscribeValueCHROMIUM(GLenum
/* target */,
1214 GLenum
/* subscription */) {
1216 void GLES2InterfaceStub::PopulateSubscribedValuesCHROMIUM(GLenum
/* target */) {
1218 void GLES2InterfaceStub::UniformValuebufferCHROMIUM(GLint
/* location */,
1219 GLenum
/* target */,
1220 GLenum
/* subscription */) {
1222 void GLES2InterfaceStub::BindTexImage2DCHROMIUM(GLenum
/* target */,
1223 GLint
/* imageId */) {
1225 void GLES2InterfaceStub::ReleaseTexImage2DCHROMIUM(GLenum
/* target */,
1226 GLint
/* imageId */) {
1228 void GLES2InterfaceStub::TraceBeginCHROMIUM(const char* /* category_name */,
1229 const char* /* trace_name */) {
1231 void GLES2InterfaceStub::TraceEndCHROMIUM() {
1233 void GLES2InterfaceStub::AsyncTexSubImage2DCHROMIUM(GLenum
/* target */,
1235 GLint
/* xoffset */,
1236 GLint
/* yoffset */,
1237 GLsizei
/* width */,
1238 GLsizei
/* height */,
1239 GLenum
/* format */,
1241 const void* /* data */) {
1243 void GLES2InterfaceStub::AsyncTexImage2DCHROMIUM(GLenum
/* target */,
1245 GLenum
/* internalformat */,
1246 GLsizei
/* width */,
1247 GLsizei
/* height */,
1249 GLenum
/* format */,
1251 const void* /* pixels */) {
1253 void GLES2InterfaceStub::WaitAsyncTexImage2DCHROMIUM(GLenum
/* target */) {
1255 void GLES2InterfaceStub::WaitAllAsyncTexImage2DCHROMIUM() {
1257 void GLES2InterfaceStub::DiscardFramebufferEXT(
1258 GLenum
/* target */,
1259 GLsizei
/* count */,
1260 const GLenum
* /* attachments */) {
1262 void GLES2InterfaceStub::LoseContextCHROMIUM(GLenum
/* current */,
1263 GLenum
/* other */) {
1265 GLuint
GLES2InterfaceStub::InsertSyncPointCHROMIUM() {
1268 void GLES2InterfaceStub::WaitSyncPointCHROMIUM(GLuint
/* sync_point */) {
1270 void GLES2InterfaceStub::DrawBuffersEXT(GLsizei
/* count */,
1271 const GLenum
* /* bufs */) {
1273 void GLES2InterfaceStub::DiscardBackbufferCHROMIUM() {
1275 void GLES2InterfaceStub::ScheduleOverlayPlaneCHROMIUM(
1276 GLint
/* plane_z_order */,
1277 GLenum
/* plane_transform */,
1278 GLuint
/* overlay_texture_id */,
1279 GLint
/* bounds_x */,
1280 GLint
/* bounds_y */,
1281 GLint
/* bounds_width */,
1282 GLint
/* bounds_height */,
1285 GLfloat
/* uv_width */,
1286 GLfloat
/* uv_height */) {
1288 void GLES2InterfaceStub::SwapInterval(GLint
/* interval */) {
1290 void GLES2InterfaceStub::FlushDriverCachesCHROMIUM() {
1292 void GLES2InterfaceStub::MatrixLoadfCHROMIUM(GLenum
/* matrixMode */,
1293 const GLfloat
* /* m */) {
1295 void GLES2InterfaceStub::MatrixLoadIdentityCHROMIUM(GLenum
/* matrixMode */) {
1297 GLuint
GLES2InterfaceStub::GenPathsCHROMIUM(GLsizei
/* range */) {
1300 void GLES2InterfaceStub::DeletePathsCHROMIUM(GLuint
/* path */,
1301 GLsizei
/* range */) {
1303 GLboolean
GLES2InterfaceStub::IsPathCHROMIUM(GLuint
/* path */) {
1306 void GLES2InterfaceStub::PathCommandsCHROMIUM(GLuint
/* path */,
1307 GLsizei
/* numCommands */,
1308 const GLubyte
* /* commands */,
1309 GLsizei
/* numCoords */,
1310 GLenum
/* coordType */,
1311 const GLvoid
* /* coords */) {
1313 void GLES2InterfaceStub::PathParameterfCHROMIUM(GLuint
/* path */,
1315 GLfloat
/* value */) {
1317 void GLES2InterfaceStub::PathParameteriCHROMIUM(GLuint
/* path */,
1319 GLint
/* value */) {
1321 void GLES2InterfaceStub::PathStencilFuncCHROMIUM(GLenum
/* func */,
1323 GLuint
/* mask */) {
1325 void GLES2InterfaceStub::StencilFillPathCHROMIUM(GLuint
/* path */,
1326 GLenum
/* fillMode */,
1327 GLuint
/* mask */) {
1329 void GLES2InterfaceStub::StencilStrokePathCHROMIUM(GLuint
/* path */,
1330 GLint
/* reference */,
1331 GLuint
/* mask */) {
1333 void GLES2InterfaceStub::CoverFillPathCHROMIUM(GLuint
/* path */,
1334 GLenum
/* coverMode */) {
1336 void GLES2InterfaceStub::CoverStrokePathCHROMIUM(GLuint
/* path */,
1337 GLenum
/* coverMode */) {
1339 void GLES2InterfaceStub::StencilThenCoverFillPathCHROMIUM(
1341 GLenum
/* fillMode */,
1343 GLenum
/* coverMode */) {
1345 void GLES2InterfaceStub::StencilThenCoverStrokePathCHROMIUM(
1347 GLint
/* reference */,
1349 GLenum
/* coverMode */) {
1351 GLenum
GLES2InterfaceStub::GetGraphicsResetStatusKHR() {
1354 void GLES2InterfaceStub::BlendBarrierKHR() {
1356 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_STUB_IMPL_AUTOGEN_H_