Rewrite AndroidSyncSettings to be significantly simpler.
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_implementation_autogen.h
blobc570c4527e879f42d927a8a341a269d55cbb4581
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
9 // DO NOT EDIT!
11 // This file is included by gles2_implementation.h to declare the
12 // GL api functions.
13 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_
14 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_
16 void ActiveTexture(GLenum texture) override;
18 void AttachShader(GLuint program, GLuint shader) override;
20 void BindAttribLocation(GLuint program,
21 GLuint index,
22 const char* name) override;
24 void BindBuffer(GLenum target, GLuint buffer) override;
26 void BindBufferBase(GLenum target, GLuint index, GLuint buffer) override;
28 void BindBufferRange(GLenum target,
29 GLuint index,
30 GLuint buffer,
31 GLintptr offset,
32 GLsizeiptr size) override;
34 void BindFramebuffer(GLenum target, GLuint framebuffer) override;
36 void BindRenderbuffer(GLenum target, GLuint renderbuffer) override;
38 void BindSampler(GLuint unit, GLuint sampler) override;
40 void BindTexture(GLenum target, GLuint texture) override;
42 void BindTransformFeedback(GLenum target, GLuint transformfeedback) override;
44 void BlendColor(GLclampf red,
45 GLclampf green,
46 GLclampf blue,
47 GLclampf alpha) override;
49 void BlendEquation(GLenum mode) override;
51 void BlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) override;
53 void BlendFunc(GLenum sfactor, GLenum dfactor) override;
55 void BlendFuncSeparate(GLenum srcRGB,
56 GLenum dstRGB,
57 GLenum srcAlpha,
58 GLenum dstAlpha) override;
60 void BufferData(GLenum target,
61 GLsizeiptr size,
62 const void* data,
63 GLenum usage) override;
65 void BufferSubData(GLenum target,
66 GLintptr offset,
67 GLsizeiptr size,
68 const void* data) override;
70 GLenum CheckFramebufferStatus(GLenum target) override;
72 void Clear(GLbitfield mask) override;
74 void ClearBufferfi(GLenum buffer,
75 GLint drawbuffers,
76 GLfloat depth,
77 GLint stencil) override;
79 void ClearBufferfv(GLenum buffer,
80 GLint drawbuffers,
81 const GLfloat* value) override;
83 void ClearBufferiv(GLenum buffer,
84 GLint drawbuffers,
85 const GLint* value) override;
87 void ClearBufferuiv(GLenum buffer,
88 GLint drawbuffers,
89 const GLuint* value) override;
91 void ClearColor(GLclampf red,
92 GLclampf green,
93 GLclampf blue,
94 GLclampf alpha) override;
96 void ClearDepthf(GLclampf depth) override;
98 void ClearStencil(GLint s) override;
100 GLenum ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) override;
102 void ColorMask(GLboolean red,
103 GLboolean green,
104 GLboolean blue,
105 GLboolean alpha) override;
107 void CompileShader(GLuint shader) override;
109 void CompressedTexImage2D(GLenum target,
110 GLint level,
111 GLenum internalformat,
112 GLsizei width,
113 GLsizei height,
114 GLint border,
115 GLsizei imageSize,
116 const void* data) override;
118 void CompressedTexSubImage2D(GLenum target,
119 GLint level,
120 GLint xoffset,
121 GLint yoffset,
122 GLsizei width,
123 GLsizei height,
124 GLenum format,
125 GLsizei imageSize,
126 const void* data) override;
128 void CopyBufferSubData(GLenum readtarget,
129 GLenum writetarget,
130 GLintptr readoffset,
131 GLintptr writeoffset,
132 GLsizeiptr size) override;
134 void CopyTexImage2D(GLenum target,
135 GLint level,
136 GLenum internalformat,
137 GLint x,
138 GLint y,
139 GLsizei width,
140 GLsizei height,
141 GLint border) override;
143 void CopyTexSubImage2D(GLenum target,
144 GLint level,
145 GLint xoffset,
146 GLint yoffset,
147 GLint x,
148 GLint y,
149 GLsizei width,
150 GLsizei height) override;
152 void CopyTexSubImage3D(GLenum target,
153 GLint level,
154 GLint xoffset,
155 GLint yoffset,
156 GLint zoffset,
157 GLint x,
158 GLint y,
159 GLsizei width,
160 GLsizei height) override;
162 GLuint CreateProgram() override;
164 GLuint CreateShader(GLenum type) override;
166 void CullFace(GLenum mode) override;
168 void DeleteBuffers(GLsizei n, const GLuint* buffers) override;
170 void DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) override;
172 void DeleteProgram(GLuint program) override;
174 void DeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) override;
176 void DeleteSamplers(GLsizei n, const GLuint* samplers) override;
178 void DeleteSync(GLsync sync) override;
180 void DeleteShader(GLuint shader) override;
182 void DeleteTextures(GLsizei n, const GLuint* textures) override;
184 void DeleteTransformFeedbacks(GLsizei n, const GLuint* ids) override;
186 void DepthFunc(GLenum func) override;
188 void DepthMask(GLboolean flag) override;
190 void DepthRangef(GLclampf zNear, GLclampf zFar) override;
192 void DetachShader(GLuint program, GLuint shader) override;
194 void Disable(GLenum cap) override;
196 void DrawArrays(GLenum mode, GLint first, GLsizei count) override;
198 void DrawElements(GLenum mode,
199 GLsizei count,
200 GLenum type,
201 const void* indices) override;
203 void Enable(GLenum cap) override;
205 GLsync FenceSync(GLenum condition, GLbitfield flags) override;
207 void Finish() override;
209 void Flush() override;
211 void FramebufferRenderbuffer(GLenum target,
212 GLenum attachment,
213 GLenum renderbuffertarget,
214 GLuint renderbuffer) override;
216 void FramebufferTexture2D(GLenum target,
217 GLenum attachment,
218 GLenum textarget,
219 GLuint texture,
220 GLint level) override;
222 void FramebufferTextureLayer(GLenum target,
223 GLenum attachment,
224 GLuint texture,
225 GLint level,
226 GLint layer) override;
228 void FrontFace(GLenum mode) override;
230 void GenBuffers(GLsizei n, GLuint* buffers) override;
232 void GenerateMipmap(GLenum target) override;
234 void GenFramebuffers(GLsizei n, GLuint* framebuffers) override;
236 void GenRenderbuffers(GLsizei n, GLuint* renderbuffers) override;
238 void GenSamplers(GLsizei n, GLuint* samplers) override;
240 void GenTextures(GLsizei n, GLuint* textures) override;
242 void GenTransformFeedbacks(GLsizei n, GLuint* ids) override;
244 void GetActiveAttrib(GLuint program,
245 GLuint index,
246 GLsizei bufsize,
247 GLsizei* length,
248 GLint* size,
249 GLenum* type,
250 char* name) override;
252 void GetActiveUniform(GLuint program,
253 GLuint index,
254 GLsizei bufsize,
255 GLsizei* length,
256 GLint* size,
257 GLenum* type,
258 char* name) override;
260 void GetActiveUniformBlockiv(GLuint program,
261 GLuint index,
262 GLenum pname,
263 GLint* params) override;
265 void GetActiveUniformBlockName(GLuint program,
266 GLuint index,
267 GLsizei bufsize,
268 GLsizei* length,
269 char* name) override;
271 void GetActiveUniformsiv(GLuint program,
272 GLsizei count,
273 const GLuint* indices,
274 GLenum pname,
275 GLint* params) override;
277 void GetAttachedShaders(GLuint program,
278 GLsizei maxcount,
279 GLsizei* count,
280 GLuint* shaders) override;
282 GLint GetAttribLocation(GLuint program, const char* name) override;
284 void GetBooleanv(GLenum pname, GLboolean* params) override;
286 void GetBufferParameteriv(GLenum target, GLenum pname, GLint* params) override;
288 GLenum GetError() override;
290 void GetFloatv(GLenum pname, GLfloat* params) override;
292 GLint GetFragDataLocation(GLuint program, const char* name) override;
294 void GetFramebufferAttachmentParameteriv(GLenum target,
295 GLenum attachment,
296 GLenum pname,
297 GLint* params) override;
299 void GetIntegerv(GLenum pname, GLint* params) override;
301 void GetInternalformativ(GLenum target,
302 GLenum format,
303 GLenum pname,
304 GLsizei bufSize,
305 GLint* params) override;
307 void GetProgramiv(GLuint program, GLenum pname, GLint* params) override;
309 void GetProgramInfoLog(GLuint program,
310 GLsizei bufsize,
311 GLsizei* length,
312 char* infolog) override;
314 void GetRenderbufferParameteriv(GLenum target,
315 GLenum pname,
316 GLint* params) override;
318 void GetSamplerParameterfv(GLuint sampler,
319 GLenum pname,
320 GLfloat* params) override;
322 void GetSamplerParameteriv(GLuint sampler,
323 GLenum pname,
324 GLint* params) override;
326 void GetShaderiv(GLuint shader, GLenum pname, GLint* params) override;
328 void GetShaderInfoLog(GLuint shader,
329 GLsizei bufsize,
330 GLsizei* length,
331 char* infolog) override;
333 void GetShaderPrecisionFormat(GLenum shadertype,
334 GLenum precisiontype,
335 GLint* range,
336 GLint* precision) override;
338 void GetShaderSource(GLuint shader,
339 GLsizei bufsize,
340 GLsizei* length,
341 char* source) override;
343 const GLubyte* GetString(GLenum name) override;
345 void GetSynciv(GLsync sync,
346 GLenum pname,
347 GLsizei bufsize,
348 GLsizei* length,
349 GLint* values) override;
351 void GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) override;
353 void GetTexParameteriv(GLenum target, GLenum pname, GLint* params) override;
355 void GetTransformFeedbackVarying(GLuint program,
356 GLuint index,
357 GLsizei bufsize,
358 GLsizei* length,
359 GLsizei* size,
360 GLenum* type,
361 char* name) override;
363 GLuint GetUniformBlockIndex(GLuint program, const char* name) override;
365 void GetUniformfv(GLuint program, GLint location, GLfloat* params) override;
367 void GetUniformiv(GLuint program, GLint location, GLint* params) override;
369 void GetUniformIndices(GLuint program,
370 GLsizei count,
371 const char* const* names,
372 GLuint* indices) override;
374 GLint GetUniformLocation(GLuint program, const char* name) override;
376 void GetVertexAttribPointerv(GLuint index,
377 GLenum pname,
378 void** pointer) override;
380 void Hint(GLenum target, GLenum mode) override;
382 void InvalidateFramebuffer(GLenum target,
383 GLsizei count,
384 const GLenum* attachments) override;
386 void InvalidateSubFramebuffer(GLenum target,
387 GLsizei count,
388 const GLenum* attachments,
389 GLint x,
390 GLint y,
391 GLsizei width,
392 GLsizei height) override;
394 GLboolean IsBuffer(GLuint buffer) override;
396 GLboolean IsEnabled(GLenum cap) override;
398 GLboolean IsFramebuffer(GLuint framebuffer) override;
400 GLboolean IsProgram(GLuint program) override;
402 GLboolean IsRenderbuffer(GLuint renderbuffer) override;
404 GLboolean IsSampler(GLuint sampler) override;
406 GLboolean IsShader(GLuint shader) override;
408 GLboolean IsSync(GLsync sync) override;
410 GLboolean IsTexture(GLuint texture) override;
412 GLboolean IsTransformFeedback(GLuint transformfeedback) override;
414 void LineWidth(GLfloat width) override;
416 void LinkProgram(GLuint program) override;
418 void PauseTransformFeedback() override;
420 void PixelStorei(GLenum pname, GLint param) override;
422 void PolygonOffset(GLfloat factor, GLfloat units) override;
424 void ReadBuffer(GLenum src) override;
426 void ReadPixels(GLint x,
427 GLint y,
428 GLsizei width,
429 GLsizei height,
430 GLenum format,
431 GLenum type,
432 void* pixels) override;
434 void ReleaseShaderCompiler() override;
436 void RenderbufferStorage(GLenum target,
437 GLenum internalformat,
438 GLsizei width,
439 GLsizei height) override;
441 void ResumeTransformFeedback() override;
443 void SampleCoverage(GLclampf value, GLboolean invert) override;
445 void SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) override;
447 void SamplerParameterfv(GLuint sampler,
448 GLenum pname,
449 const GLfloat* params) override;
451 void SamplerParameteri(GLuint sampler, GLenum pname, GLint param) override;
453 void SamplerParameteriv(GLuint sampler,
454 GLenum pname,
455 const GLint* params) override;
457 void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) override;
459 void ShaderBinary(GLsizei n,
460 const GLuint* shaders,
461 GLenum binaryformat,
462 const void* binary,
463 GLsizei length) override;
465 void ShaderSource(GLuint shader,
466 GLsizei count,
467 const GLchar* const* str,
468 const GLint* length) override;
470 void ShallowFinishCHROMIUM() override;
472 void ShallowFlushCHROMIUM() override;
474 void OrderingBarrierCHROMIUM() override;
476 void StencilFunc(GLenum func, GLint ref, GLuint mask) override;
478 void StencilFuncSeparate(GLenum face,
479 GLenum func,
480 GLint ref,
481 GLuint mask) override;
483 void StencilMask(GLuint mask) override;
485 void StencilMaskSeparate(GLenum face, GLuint mask) override;
487 void StencilOp(GLenum fail, GLenum zfail, GLenum zpass) override;
489 void StencilOpSeparate(GLenum face,
490 GLenum fail,
491 GLenum zfail,
492 GLenum zpass) override;
494 void TexImage2D(GLenum target,
495 GLint level,
496 GLint internalformat,
497 GLsizei width,
498 GLsizei height,
499 GLint border,
500 GLenum format,
501 GLenum type,
502 const void* pixels) override;
504 void TexImage3D(GLenum target,
505 GLint level,
506 GLint internalformat,
507 GLsizei width,
508 GLsizei height,
509 GLsizei depth,
510 GLint border,
511 GLenum format,
512 GLenum type,
513 const void* pixels) override;
515 void TexParameterf(GLenum target, GLenum pname, GLfloat param) override;
517 void TexParameterfv(GLenum target,
518 GLenum pname,
519 const GLfloat* params) override;
521 void TexParameteri(GLenum target, GLenum pname, GLint param) override;
523 void TexParameteriv(GLenum target, GLenum pname, const GLint* params) override;
525 void TexStorage3D(GLenum target,
526 GLsizei levels,
527 GLenum internalFormat,
528 GLsizei width,
529 GLsizei height,
530 GLsizei depth) override;
532 void TexSubImage2D(GLenum target,
533 GLint level,
534 GLint xoffset,
535 GLint yoffset,
536 GLsizei width,
537 GLsizei height,
538 GLenum format,
539 GLenum type,
540 const void* pixels) override;
542 void TexSubImage3D(GLenum target,
543 GLint level,
544 GLint xoffset,
545 GLint yoffset,
546 GLint zoffset,
547 GLsizei width,
548 GLsizei height,
549 GLsizei depth,
550 GLenum format,
551 GLenum type,
552 const void* pixels) override;
554 void TransformFeedbackVaryings(GLuint program,
555 GLsizei count,
556 const char* const* varyings,
557 GLenum buffermode) override;
559 void Uniform1f(GLint location, GLfloat x) override;
561 void Uniform1fv(GLint location, GLsizei count, const GLfloat* v) override;
563 void Uniform1i(GLint location, GLint x) override;
565 void Uniform1iv(GLint location, GLsizei count, const GLint* v) override;
567 void Uniform1ui(GLint location, GLuint x) override;
569 void Uniform1uiv(GLint location, GLsizei count, const GLuint* v) override;
571 void Uniform2f(GLint location, GLfloat x, GLfloat y) override;
573 void Uniform2fv(GLint location, GLsizei count, const GLfloat* v) override;
575 void Uniform2i(GLint location, GLint x, GLint y) override;
577 void Uniform2iv(GLint location, GLsizei count, const GLint* v) override;
579 void Uniform2ui(GLint location, GLuint x, GLuint y) override;
581 void Uniform2uiv(GLint location, GLsizei count, const GLuint* v) override;
583 void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) override;
585 void Uniform3fv(GLint location, GLsizei count, const GLfloat* v) override;
587 void Uniform3i(GLint location, GLint x, GLint y, GLint z) override;
589 void Uniform3iv(GLint location, GLsizei count, const GLint* v) override;
591 void Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) override;
593 void Uniform3uiv(GLint location, GLsizei count, const GLuint* v) override;
595 void Uniform4f(GLint location,
596 GLfloat x,
597 GLfloat y,
598 GLfloat z,
599 GLfloat w) override;
601 void Uniform4fv(GLint location, GLsizei count, const GLfloat* v) override;
603 void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) override;
605 void Uniform4iv(GLint location, GLsizei count, const GLint* v) override;
607 void Uniform4ui(GLint location,
608 GLuint x,
609 GLuint y,
610 GLuint z,
611 GLuint w) override;
613 void Uniform4uiv(GLint location, GLsizei count, const GLuint* v) override;
615 void UniformBlockBinding(GLuint program, GLuint index, GLuint binding) override;
617 void UniformMatrix2fv(GLint location,
618 GLsizei count,
619 GLboolean transpose,
620 const GLfloat* value) override;
622 void UniformMatrix2x3fv(GLint location,
623 GLsizei count,
624 GLboolean transpose,
625 const GLfloat* value) override;
627 void UniformMatrix2x4fv(GLint location,
628 GLsizei count,
629 GLboolean transpose,
630 const GLfloat* value) override;
632 void UniformMatrix3fv(GLint location,
633 GLsizei count,
634 GLboolean transpose,
635 const GLfloat* value) override;
637 void UniformMatrix3x2fv(GLint location,
638 GLsizei count,
639 GLboolean transpose,
640 const GLfloat* value) override;
642 void UniformMatrix3x4fv(GLint location,
643 GLsizei count,
644 GLboolean transpose,
645 const GLfloat* value) override;
647 void UniformMatrix4fv(GLint location,
648 GLsizei count,
649 GLboolean transpose,
650 const GLfloat* value) override;
652 void UniformMatrix4x2fv(GLint location,
653 GLsizei count,
654 GLboolean transpose,
655 const GLfloat* value) override;
657 void UniformMatrix4x3fv(GLint location,
658 GLsizei count,
659 GLboolean transpose,
660 const GLfloat* value) override;
662 void UseProgram(GLuint program) override;
664 void ValidateProgram(GLuint program) override;
666 void VertexAttrib1f(GLuint indx, GLfloat x) override;
668 void VertexAttrib1fv(GLuint indx, const GLfloat* values) override;
670 void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) override;
672 void VertexAttrib2fv(GLuint indx, const GLfloat* values) override;
674 void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) override;
676 void VertexAttrib3fv(GLuint indx, const GLfloat* values) override;
678 void VertexAttrib4f(GLuint indx,
679 GLfloat x,
680 GLfloat y,
681 GLfloat z,
682 GLfloat w) override;
684 void VertexAttrib4fv(GLuint indx, const GLfloat* values) override;
686 void VertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w) override;
688 void VertexAttribI4iv(GLuint indx, const GLint* values) override;
690 void VertexAttribI4ui(GLuint indx,
691 GLuint x,
692 GLuint y,
693 GLuint z,
694 GLuint w) override;
696 void VertexAttribI4uiv(GLuint indx, const GLuint* values) override;
698 void VertexAttribIPointer(GLuint indx,
699 GLint size,
700 GLenum type,
701 GLsizei stride,
702 const void* ptr) override;
704 void VertexAttribPointer(GLuint indx,
705 GLint size,
706 GLenum type,
707 GLboolean normalized,
708 GLsizei stride,
709 const void* ptr) override;
711 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) override;
713 void WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) override;
715 void BlitFramebufferCHROMIUM(GLint srcX0,
716 GLint srcY0,
717 GLint srcX1,
718 GLint srcY1,
719 GLint dstX0,
720 GLint dstY0,
721 GLint dstX1,
722 GLint dstY1,
723 GLbitfield mask,
724 GLenum filter) override;
726 void RenderbufferStorageMultisampleCHROMIUM(GLenum target,
727 GLsizei samples,
728 GLenum internalformat,
729 GLsizei width,
730 GLsizei height) override;
732 void RenderbufferStorageMultisampleEXT(GLenum target,
733 GLsizei samples,
734 GLenum internalformat,
735 GLsizei width,
736 GLsizei height) override;
738 void FramebufferTexture2DMultisampleEXT(GLenum target,
739 GLenum attachment,
740 GLenum textarget,
741 GLuint texture,
742 GLint level,
743 GLsizei samples) override;
745 void TexStorage2DEXT(GLenum target,
746 GLsizei levels,
747 GLenum internalFormat,
748 GLsizei width,
749 GLsizei height) override;
751 void GenQueriesEXT(GLsizei n, GLuint* queries) override;
753 void DeleteQueriesEXT(GLsizei n, const GLuint* queries) override;
755 GLboolean IsQueryEXT(GLuint id) override;
757 void BeginQueryEXT(GLenum target, GLuint id) override;
759 void BeginTransformFeedback(GLenum primitivemode) override;
761 void EndQueryEXT(GLenum target) override;
763 void EndTransformFeedback() override;
765 void GetQueryivEXT(GLenum target, GLenum pname, GLint* params) override;
767 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override;
769 void InsertEventMarkerEXT(GLsizei length, const GLchar* marker) override;
771 void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) override;
773 void PopGroupMarkerEXT() override;
775 void GenVertexArraysOES(GLsizei n, GLuint* arrays) override;
777 void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) override;
779 GLboolean IsVertexArrayOES(GLuint array) override;
781 void BindVertexArrayOES(GLuint array) override;
783 void SwapBuffers() override;
785 GLuint GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
786 GLsizei count,
787 GLenum type,
788 GLuint offset) override;
790 GLboolean EnableFeatureCHROMIUM(const char* feature) override;
792 void* MapBufferCHROMIUM(GLuint target, GLenum access) override;
794 GLboolean UnmapBufferCHROMIUM(GLuint target) override;
796 void* MapBufferSubDataCHROMIUM(GLuint target,
797 GLintptr offset,
798 GLsizeiptr size,
799 GLenum access) override;
801 void UnmapBufferSubDataCHROMIUM(const void* mem) override;
803 void* MapTexSubImage2DCHROMIUM(GLenum target,
804 GLint level,
805 GLint xoffset,
806 GLint yoffset,
807 GLsizei width,
808 GLsizei height,
809 GLenum format,
810 GLenum type,
811 GLenum access) override;
813 void UnmapTexSubImage2DCHROMIUM(const void* mem) override;
815 void ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) override;
817 const GLchar* GetRequestableExtensionsCHROMIUM() override;
819 void RequestExtensionCHROMIUM(const char* extension) override;
821 void RateLimitOffscreenContextCHROMIUM() override;
823 void GetProgramInfoCHROMIUM(GLuint program,
824 GLsizei bufsize,
825 GLsizei* size,
826 void* info) override;
828 void GetUniformBlocksCHROMIUM(GLuint program,
829 GLsizei bufsize,
830 GLsizei* size,
831 void* info) override;
833 void GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
834 GLsizei bufsize,
835 GLsizei* size,
836 void* info) override;
838 void GetUniformsES3CHROMIUM(GLuint program,
839 GLsizei bufsize,
840 GLsizei* size,
841 void* info) override;
843 GLuint CreateStreamTextureCHROMIUM(GLuint texture) override;
845 GLuint CreateImageCHROMIUM(ClientBuffer buffer,
846 GLsizei width,
847 GLsizei height,
848 GLenum internalformat) override;
850 void DestroyImageCHROMIUM(GLuint image_id) override;
852 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
853 GLsizei height,
854 GLenum internalformat,
855 GLenum usage) override;
857 void GetTranslatedShaderSourceANGLE(GLuint shader,
858 GLsizei bufsize,
859 GLsizei* length,
860 char* source) override;
862 void PostSubBufferCHROMIUM(GLint x,
863 GLint y,
864 GLint width,
865 GLint height) override;
867 void TexImageIOSurface2DCHROMIUM(GLenum target,
868 GLsizei width,
869 GLsizei height,
870 GLuint ioSurfaceId,
871 GLuint plane) override;
873 void CopyTextureCHROMIUM(GLenum target,
874 GLenum source_id,
875 GLenum dest_id,
876 GLint level,
877 GLint internalformat,
878 GLenum dest_type) override;
880 void DrawArraysInstancedANGLE(GLenum mode,
881 GLint first,
882 GLsizei count,
883 GLsizei primcount) override;
885 void DrawElementsInstancedANGLE(GLenum mode,
886 GLsizei count,
887 GLenum type,
888 const void* indices,
889 GLsizei primcount) override;
891 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) override;
893 void GenMailboxCHROMIUM(GLbyte* mailbox) override;
895 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
897 void ProduceTextureDirectCHROMIUM(GLuint texture,
898 GLenum target,
899 const GLbyte* mailbox) override;
901 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
903 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
904 const GLbyte* mailbox) override;
906 void BindUniformLocationCHROMIUM(GLuint program,
907 GLint location,
908 const char* name) override;
910 void GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) override;
912 void DeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers) override;
914 GLboolean IsValuebufferCHROMIUM(GLuint valuebuffer) override;
916 void BindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer) override;
918 void SubscribeValueCHROMIUM(GLenum target, GLenum subscription) override;
920 void PopulateSubscribedValuesCHROMIUM(GLenum target) override;
922 void UniformValuebufferCHROMIUM(GLint location,
923 GLenum target,
924 GLenum subscription) override;
926 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
928 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
930 void TraceBeginCHROMIUM(const char* category_name,
931 const char* trace_name) override;
933 void TraceEndCHROMIUM() override;
935 void AsyncTexSubImage2DCHROMIUM(GLenum target,
936 GLint level,
937 GLint xoffset,
938 GLint yoffset,
939 GLsizei width,
940 GLsizei height,
941 GLenum format,
942 GLenum type,
943 const void* data) override;
945 void AsyncTexImage2DCHROMIUM(GLenum target,
946 GLint level,
947 GLenum internalformat,
948 GLsizei width,
949 GLsizei height,
950 GLint border,
951 GLenum format,
952 GLenum type,
953 const void* pixels) override;
955 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override;
957 void WaitAllAsyncTexImage2DCHROMIUM() override;
959 void DiscardFramebufferEXT(GLenum target,
960 GLsizei count,
961 const GLenum* attachments) override;
963 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
965 GLuint InsertSyncPointCHROMIUM() override;
967 void WaitSyncPointCHROMIUM(GLuint sync_point) override;
969 void DrawBuffersEXT(GLsizei count, const GLenum* bufs) override;
971 void DiscardBackbufferCHROMIUM() override;
973 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
974 GLenum plane_transform,
975 GLuint overlay_texture_id,
976 GLint bounds_x,
977 GLint bounds_y,
978 GLint bounds_width,
979 GLint bounds_height,
980 GLfloat uv_x,
981 GLfloat uv_y,
982 GLfloat uv_width,
983 GLfloat uv_height) override;
985 void SwapInterval(GLint interval) override;
987 void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) override;
989 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) override;
991 void BlendBarrierKHR() override;
993 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_