Fix crash on app list start page keyboard navigation with <4 apps.
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_implementation_autogen.h
blob5c994e36d41d13aa383f194e76819b9045cfc4b3
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 GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) override;
347 void GetTexParameteriv(GLenum target, GLenum pname, GLint* params) override;
349 void GetTransformFeedbackVarying(GLuint program,
350 GLuint index,
351 GLsizei bufsize,
352 GLsizei* length,
353 GLsizei* size,
354 GLenum* type,
355 char* name) override;
357 GLuint GetUniformBlockIndex(GLuint program, const char* name) override;
359 void GetUniformfv(GLuint program, GLint location, GLfloat* params) override;
361 void GetUniformiv(GLuint program, GLint location, GLint* params) override;
363 void GetUniformIndices(GLuint program,
364 GLsizei count,
365 const char* const* names,
366 GLuint* indices) override;
368 GLint GetUniformLocation(GLuint program, const char* name) override;
370 void GetVertexAttribPointerv(GLuint index,
371 GLenum pname,
372 void** pointer) override;
374 void Hint(GLenum target, GLenum mode) override;
376 void InvalidateFramebuffer(GLenum target,
377 GLsizei count,
378 const GLenum* attachments) override;
380 void InvalidateSubFramebuffer(GLenum target,
381 GLsizei count,
382 const GLenum* attachments,
383 GLint x,
384 GLint y,
385 GLsizei width,
386 GLsizei height) override;
388 GLboolean IsBuffer(GLuint buffer) override;
390 GLboolean IsEnabled(GLenum cap) override;
392 GLboolean IsFramebuffer(GLuint framebuffer) override;
394 GLboolean IsProgram(GLuint program) override;
396 GLboolean IsRenderbuffer(GLuint renderbuffer) override;
398 GLboolean IsSampler(GLuint sampler) override;
400 GLboolean IsShader(GLuint shader) override;
402 GLboolean IsSync(GLsync sync) override;
404 GLboolean IsTexture(GLuint texture) override;
406 GLboolean IsTransformFeedback(GLuint transformfeedback) override;
408 void LineWidth(GLfloat width) override;
410 void LinkProgram(GLuint program) override;
412 void PauseTransformFeedback() override;
414 void PixelStorei(GLenum pname, GLint param) override;
416 void PolygonOffset(GLfloat factor, GLfloat units) override;
418 void ReadBuffer(GLenum src) override;
420 void ReadPixels(GLint x,
421 GLint y,
422 GLsizei width,
423 GLsizei height,
424 GLenum format,
425 GLenum type,
426 void* pixels) override;
428 void ReleaseShaderCompiler() override;
430 void RenderbufferStorage(GLenum target,
431 GLenum internalformat,
432 GLsizei width,
433 GLsizei height) override;
435 void ResumeTransformFeedback() override;
437 void SampleCoverage(GLclampf value, GLboolean invert) override;
439 void SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) override;
441 void SamplerParameterfv(GLuint sampler,
442 GLenum pname,
443 const GLfloat* params) override;
445 void SamplerParameteri(GLuint sampler, GLenum pname, GLint param) override;
447 void SamplerParameteriv(GLuint sampler,
448 GLenum pname,
449 const GLint* params) override;
451 void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) override;
453 void ShaderBinary(GLsizei n,
454 const GLuint* shaders,
455 GLenum binaryformat,
456 const void* binary,
457 GLsizei length) override;
459 void ShaderSource(GLuint shader,
460 GLsizei count,
461 const GLchar* const* str,
462 const GLint* length) override;
464 void ShallowFinishCHROMIUM() override;
466 void ShallowFlushCHROMIUM() override;
468 void OrderingBarrierCHROMIUM() override;
470 void StencilFunc(GLenum func, GLint ref, GLuint mask) override;
472 void StencilFuncSeparate(GLenum face,
473 GLenum func,
474 GLint ref,
475 GLuint mask) override;
477 void StencilMask(GLuint mask) override;
479 void StencilMaskSeparate(GLenum face, GLuint mask) override;
481 void StencilOp(GLenum fail, GLenum zfail, GLenum zpass) override;
483 void StencilOpSeparate(GLenum face,
484 GLenum fail,
485 GLenum zfail,
486 GLenum zpass) override;
488 void TexImage2D(GLenum target,
489 GLint level,
490 GLint internalformat,
491 GLsizei width,
492 GLsizei height,
493 GLint border,
494 GLenum format,
495 GLenum type,
496 const void* pixels) override;
498 void TexImage3D(GLenum target,
499 GLint level,
500 GLint internalformat,
501 GLsizei width,
502 GLsizei height,
503 GLsizei depth,
504 GLint border,
505 GLenum format,
506 GLenum type,
507 const void* pixels) override;
509 void TexParameterf(GLenum target, GLenum pname, GLfloat param) override;
511 void TexParameterfv(GLenum target,
512 GLenum pname,
513 const GLfloat* params) override;
515 void TexParameteri(GLenum target, GLenum pname, GLint param) override;
517 void TexParameteriv(GLenum target, GLenum pname, const GLint* params) override;
519 void TexStorage3D(GLenum target,
520 GLsizei levels,
521 GLenum internalFormat,
522 GLsizei width,
523 GLsizei height,
524 GLsizei depth) override;
526 void TexSubImage2D(GLenum target,
527 GLint level,
528 GLint xoffset,
529 GLint yoffset,
530 GLsizei width,
531 GLsizei height,
532 GLenum format,
533 GLenum type,
534 const void* pixels) override;
536 void TexSubImage3D(GLenum target,
537 GLint level,
538 GLint xoffset,
539 GLint yoffset,
540 GLint zoffset,
541 GLsizei width,
542 GLsizei height,
543 GLsizei depth,
544 GLenum format,
545 GLenum type,
546 const void* pixels) override;
548 void TransformFeedbackVaryings(GLuint program,
549 GLsizei count,
550 const char* const* varyings,
551 GLenum buffermode) override;
553 void Uniform1f(GLint location, GLfloat x) override;
555 void Uniform1fv(GLint location, GLsizei count, const GLfloat* v) override;
557 void Uniform1i(GLint location, GLint x) override;
559 void Uniform1iv(GLint location, GLsizei count, const GLint* v) override;
561 void Uniform1ui(GLint location, GLuint x) override;
563 void Uniform1uiv(GLint location, GLsizei count, const GLuint* v) override;
565 void Uniform2f(GLint location, GLfloat x, GLfloat y) override;
567 void Uniform2fv(GLint location, GLsizei count, const GLfloat* v) override;
569 void Uniform2i(GLint location, GLint x, GLint y) override;
571 void Uniform2iv(GLint location, GLsizei count, const GLint* v) override;
573 void Uniform2ui(GLint location, GLuint x, GLuint y) override;
575 void Uniform2uiv(GLint location, GLsizei count, const GLuint* v) override;
577 void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) override;
579 void Uniform3fv(GLint location, GLsizei count, const GLfloat* v) override;
581 void Uniform3i(GLint location, GLint x, GLint y, GLint z) override;
583 void Uniform3iv(GLint location, GLsizei count, const GLint* v) override;
585 void Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) override;
587 void Uniform3uiv(GLint location, GLsizei count, const GLuint* v) override;
589 void Uniform4f(GLint location,
590 GLfloat x,
591 GLfloat y,
592 GLfloat z,
593 GLfloat w) override;
595 void Uniform4fv(GLint location, GLsizei count, const GLfloat* v) override;
597 void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) override;
599 void Uniform4iv(GLint location, GLsizei count, const GLint* v) override;
601 void Uniform4ui(GLint location,
602 GLuint x,
603 GLuint y,
604 GLuint z,
605 GLuint w) override;
607 void Uniform4uiv(GLint location, GLsizei count, const GLuint* v) override;
609 void UniformBlockBinding(GLuint program, GLuint index, GLuint binding) override;
611 void UniformMatrix2fv(GLint location,
612 GLsizei count,
613 GLboolean transpose,
614 const GLfloat* value) override;
616 void UniformMatrix2x3fv(GLint location,
617 GLsizei count,
618 GLboolean transpose,
619 const GLfloat* value) override;
621 void UniformMatrix2x4fv(GLint location,
622 GLsizei count,
623 GLboolean transpose,
624 const GLfloat* value) override;
626 void UniformMatrix3fv(GLint location,
627 GLsizei count,
628 GLboolean transpose,
629 const GLfloat* value) override;
631 void UniformMatrix3x2fv(GLint location,
632 GLsizei count,
633 GLboolean transpose,
634 const GLfloat* value) override;
636 void UniformMatrix3x4fv(GLint location,
637 GLsizei count,
638 GLboolean transpose,
639 const GLfloat* value) override;
641 void UniformMatrix4fv(GLint location,
642 GLsizei count,
643 GLboolean transpose,
644 const GLfloat* value) override;
646 void UniformMatrix4x2fv(GLint location,
647 GLsizei count,
648 GLboolean transpose,
649 const GLfloat* value) override;
651 void UniformMatrix4x3fv(GLint location,
652 GLsizei count,
653 GLboolean transpose,
654 const GLfloat* value) override;
656 void UseProgram(GLuint program) override;
658 void ValidateProgram(GLuint program) override;
660 void VertexAttrib1f(GLuint indx, GLfloat x) override;
662 void VertexAttrib1fv(GLuint indx, const GLfloat* values) override;
664 void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) override;
666 void VertexAttrib2fv(GLuint indx, const GLfloat* values) override;
668 void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) override;
670 void VertexAttrib3fv(GLuint indx, const GLfloat* values) override;
672 void VertexAttrib4f(GLuint indx,
673 GLfloat x,
674 GLfloat y,
675 GLfloat z,
676 GLfloat w) override;
678 void VertexAttrib4fv(GLuint indx, const GLfloat* values) override;
680 void VertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w) override;
682 void VertexAttribI4iv(GLuint indx, const GLint* values) override;
684 void VertexAttribI4ui(GLuint indx,
685 GLuint x,
686 GLuint y,
687 GLuint z,
688 GLuint w) override;
690 void VertexAttribI4uiv(GLuint indx, const GLuint* values) override;
692 void VertexAttribIPointer(GLuint indx,
693 GLint size,
694 GLenum type,
695 GLsizei stride,
696 const void* ptr) override;
698 void VertexAttribPointer(GLuint indx,
699 GLint size,
700 GLenum type,
701 GLboolean normalized,
702 GLsizei stride,
703 const void* ptr) override;
705 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) override;
707 void WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) override;
709 void BlitFramebufferCHROMIUM(GLint srcX0,
710 GLint srcY0,
711 GLint srcX1,
712 GLint srcY1,
713 GLint dstX0,
714 GLint dstY0,
715 GLint dstX1,
716 GLint dstY1,
717 GLbitfield mask,
718 GLenum filter) override;
720 void RenderbufferStorageMultisampleCHROMIUM(GLenum target,
721 GLsizei samples,
722 GLenum internalformat,
723 GLsizei width,
724 GLsizei height) override;
726 void RenderbufferStorageMultisampleEXT(GLenum target,
727 GLsizei samples,
728 GLenum internalformat,
729 GLsizei width,
730 GLsizei height) override;
732 void FramebufferTexture2DMultisampleEXT(GLenum target,
733 GLenum attachment,
734 GLenum textarget,
735 GLuint texture,
736 GLint level,
737 GLsizei samples) override;
739 void TexStorage2DEXT(GLenum target,
740 GLsizei levels,
741 GLenum internalFormat,
742 GLsizei width,
743 GLsizei height) override;
745 void GenQueriesEXT(GLsizei n, GLuint* queries) override;
747 void DeleteQueriesEXT(GLsizei n, const GLuint* queries) override;
749 GLboolean IsQueryEXT(GLuint id) override;
751 void BeginQueryEXT(GLenum target, GLuint id) override;
753 void BeginTransformFeedback(GLenum primitivemode) override;
755 void EndQueryEXT(GLenum target) override;
757 void EndTransformFeedback() override;
759 void GetQueryivEXT(GLenum target, GLenum pname, GLint* params) override;
761 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override;
763 void InsertEventMarkerEXT(GLsizei length, const GLchar* marker) override;
765 void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) override;
767 void PopGroupMarkerEXT() override;
769 void GenVertexArraysOES(GLsizei n, GLuint* arrays) override;
771 void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) override;
773 GLboolean IsVertexArrayOES(GLuint array) override;
775 void BindVertexArrayOES(GLuint array) override;
777 void SwapBuffers() override;
779 GLuint GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
780 GLsizei count,
781 GLenum type,
782 GLuint offset) override;
784 GLboolean EnableFeatureCHROMIUM(const char* feature) override;
786 void* MapBufferCHROMIUM(GLuint target, GLenum access) override;
788 GLboolean UnmapBufferCHROMIUM(GLuint target) override;
790 void* MapBufferSubDataCHROMIUM(GLuint target,
791 GLintptr offset,
792 GLsizeiptr size,
793 GLenum access) override;
795 void UnmapBufferSubDataCHROMIUM(const void* mem) override;
797 void* MapTexSubImage2DCHROMIUM(GLenum target,
798 GLint level,
799 GLint xoffset,
800 GLint yoffset,
801 GLsizei width,
802 GLsizei height,
803 GLenum format,
804 GLenum type,
805 GLenum access) override;
807 void UnmapTexSubImage2DCHROMIUM(const void* mem) override;
809 void ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) override;
811 const GLchar* GetRequestableExtensionsCHROMIUM() override;
813 void RequestExtensionCHROMIUM(const char* extension) override;
815 void RateLimitOffscreenContextCHROMIUM() override;
817 void GetProgramInfoCHROMIUM(GLuint program,
818 GLsizei bufsize,
819 GLsizei* size,
820 void* info) override;
822 void GetUniformBlocksCHROMIUM(GLuint program,
823 GLsizei bufsize,
824 GLsizei* size,
825 void* info) override;
827 void GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
828 GLsizei bufsize,
829 GLsizei* size,
830 void* info) override;
832 void GetUniformsES3CHROMIUM(GLuint program,
833 GLsizei bufsize,
834 GLsizei* size,
835 void* info) override;
837 GLuint CreateStreamTextureCHROMIUM(GLuint texture) override;
839 GLuint CreateImageCHROMIUM(ClientBuffer buffer,
840 GLsizei width,
841 GLsizei height,
842 GLenum internalformat) override;
844 void DestroyImageCHROMIUM(GLuint image_id) override;
846 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
847 GLsizei height,
848 GLenum internalformat,
849 GLenum usage) override;
851 void GetTranslatedShaderSourceANGLE(GLuint shader,
852 GLsizei bufsize,
853 GLsizei* length,
854 char* source) override;
856 void PostSubBufferCHROMIUM(GLint x,
857 GLint y,
858 GLint width,
859 GLint height) override;
861 void TexImageIOSurface2DCHROMIUM(GLenum target,
862 GLsizei width,
863 GLsizei height,
864 GLuint ioSurfaceId,
865 GLuint plane) override;
867 void CopyTextureCHROMIUM(GLenum target,
868 GLenum source_id,
869 GLenum dest_id,
870 GLint level,
871 GLint internalformat,
872 GLenum dest_type) override;
874 void DrawArraysInstancedANGLE(GLenum mode,
875 GLint first,
876 GLsizei count,
877 GLsizei primcount) override;
879 void DrawElementsInstancedANGLE(GLenum mode,
880 GLsizei count,
881 GLenum type,
882 const void* indices,
883 GLsizei primcount) override;
885 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) override;
887 void GenMailboxCHROMIUM(GLbyte* mailbox) override;
889 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
891 void ProduceTextureDirectCHROMIUM(GLuint texture,
892 GLenum target,
893 const GLbyte* mailbox) override;
895 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
897 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
898 const GLbyte* mailbox) override;
900 void BindUniformLocationCHROMIUM(GLuint program,
901 GLint location,
902 const char* name) override;
904 void GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) override;
906 void DeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers) override;
908 GLboolean IsValuebufferCHROMIUM(GLuint valuebuffer) override;
910 void BindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer) override;
912 void SubscribeValueCHROMIUM(GLenum target, GLenum subscription) override;
914 void PopulateSubscribedValuesCHROMIUM(GLenum target) override;
916 void UniformValuebufferCHROMIUM(GLint location,
917 GLenum target,
918 GLenum subscription) override;
920 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
922 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
924 void TraceBeginCHROMIUM(const char* category_name,
925 const char* trace_name) override;
927 void TraceEndCHROMIUM() override;
929 void AsyncTexSubImage2DCHROMIUM(GLenum target,
930 GLint level,
931 GLint xoffset,
932 GLint yoffset,
933 GLsizei width,
934 GLsizei height,
935 GLenum format,
936 GLenum type,
937 const void* data) override;
939 void AsyncTexImage2DCHROMIUM(GLenum target,
940 GLint level,
941 GLenum internalformat,
942 GLsizei width,
943 GLsizei height,
944 GLint border,
945 GLenum format,
946 GLenum type,
947 const void* pixels) override;
949 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override;
951 void WaitAllAsyncTexImage2DCHROMIUM() override;
953 void DiscardFramebufferEXT(GLenum target,
954 GLsizei count,
955 const GLenum* attachments) override;
957 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
959 GLuint InsertSyncPointCHROMIUM() override;
961 void WaitSyncPointCHROMIUM(GLuint sync_point) override;
963 void DrawBuffersEXT(GLsizei count, const GLenum* bufs) override;
965 void DiscardBackbufferCHROMIUM() override;
967 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
968 GLenum plane_transform,
969 GLuint overlay_texture_id,
970 GLint bounds_x,
971 GLint bounds_y,
972 GLint bounds_width,
973 GLint bounds_height,
974 GLfloat uv_x,
975 GLfloat uv_y,
976 GLfloat uv_width,
977 GLfloat uv_height) override;
979 void SwapInterval(GLint interval) override;
981 void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) override;
983 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) override;
985 void BlendBarrierKHR() override;
987 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_