Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_implementation_autogen.h
blob64bfdf482b2fe2a1aa9c856f41c039c73bd6caaa
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 CompressedTexImage3D(GLenum target,
129 GLint level,
130 GLenum internalformat,
131 GLsizei width,
132 GLsizei height,
133 GLsizei depth,
134 GLint border,
135 GLsizei imageSize,
136 const void* data) override;
138 void CompressedTexSubImage3D(GLenum target,
139 GLint level,
140 GLint xoffset,
141 GLint yoffset,
142 GLint zoffset,
143 GLsizei width,
144 GLsizei height,
145 GLsizei depth,
146 GLenum format,
147 GLsizei imageSize,
148 const void* data) override;
150 void CopyBufferSubData(GLenum readtarget,
151 GLenum writetarget,
152 GLintptr readoffset,
153 GLintptr writeoffset,
154 GLsizeiptr size) override;
156 void CopyTexImage2D(GLenum target,
157 GLint level,
158 GLenum internalformat,
159 GLint x,
160 GLint y,
161 GLsizei width,
162 GLsizei height,
163 GLint border) override;
165 void CopyTexSubImage2D(GLenum target,
166 GLint level,
167 GLint xoffset,
168 GLint yoffset,
169 GLint x,
170 GLint y,
171 GLsizei width,
172 GLsizei height) override;
174 void CopyTexSubImage3D(GLenum target,
175 GLint level,
176 GLint xoffset,
177 GLint yoffset,
178 GLint zoffset,
179 GLint x,
180 GLint y,
181 GLsizei width,
182 GLsizei height) override;
184 GLuint CreateProgram() override;
186 GLuint CreateShader(GLenum type) override;
188 void CullFace(GLenum mode) override;
190 void DeleteBuffers(GLsizei n, const GLuint* buffers) override;
192 void DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) override;
194 void DeleteProgram(GLuint program) override;
196 void DeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) override;
198 void DeleteSamplers(GLsizei n, const GLuint* samplers) override;
200 void DeleteSync(GLsync sync) override;
202 void DeleteShader(GLuint shader) override;
204 void DeleteTextures(GLsizei n, const GLuint* textures) override;
206 void DeleteTransformFeedbacks(GLsizei n, const GLuint* ids) override;
208 void DepthFunc(GLenum func) override;
210 void DepthMask(GLboolean flag) override;
212 void DepthRangef(GLclampf zNear, GLclampf zFar) override;
214 void DetachShader(GLuint program, GLuint shader) override;
216 void Disable(GLenum cap) override;
218 void DrawArrays(GLenum mode, GLint first, GLsizei count) override;
220 void DrawElements(GLenum mode,
221 GLsizei count,
222 GLenum type,
223 const void* indices) override;
225 void DrawRangeElements(GLenum mode,
226 GLuint start,
227 GLuint end,
228 GLsizei count,
229 GLenum type,
230 const void* indices) override;
232 void Enable(GLenum cap) override;
234 GLsync FenceSync(GLenum condition, GLbitfield flags) override;
236 void Finish() override;
238 void Flush() override;
240 void FramebufferRenderbuffer(GLenum target,
241 GLenum attachment,
242 GLenum renderbuffertarget,
243 GLuint renderbuffer) override;
245 void FramebufferTexture2D(GLenum target,
246 GLenum attachment,
247 GLenum textarget,
248 GLuint texture,
249 GLint level) override;
251 void FramebufferTextureLayer(GLenum target,
252 GLenum attachment,
253 GLuint texture,
254 GLint level,
255 GLint layer) override;
257 void FrontFace(GLenum mode) override;
259 void GenBuffers(GLsizei n, GLuint* buffers) override;
261 void GenerateMipmap(GLenum target) override;
263 void GenFramebuffers(GLsizei n, GLuint* framebuffers) override;
265 void GenRenderbuffers(GLsizei n, GLuint* renderbuffers) override;
267 void GenSamplers(GLsizei n, GLuint* samplers) override;
269 void GenTextures(GLsizei n, GLuint* textures) override;
271 void GenTransformFeedbacks(GLsizei n, GLuint* ids) override;
273 void GetActiveAttrib(GLuint program,
274 GLuint index,
275 GLsizei bufsize,
276 GLsizei* length,
277 GLint* size,
278 GLenum* type,
279 char* name) override;
281 void GetActiveUniform(GLuint program,
282 GLuint index,
283 GLsizei bufsize,
284 GLsizei* length,
285 GLint* size,
286 GLenum* type,
287 char* name) override;
289 void GetActiveUniformBlockiv(GLuint program,
290 GLuint index,
291 GLenum pname,
292 GLint* params) override;
294 void GetActiveUniformBlockName(GLuint program,
295 GLuint index,
296 GLsizei bufsize,
297 GLsizei* length,
298 char* name) override;
300 void GetActiveUniformsiv(GLuint program,
301 GLsizei count,
302 const GLuint* indices,
303 GLenum pname,
304 GLint* params) override;
306 void GetAttachedShaders(GLuint program,
307 GLsizei maxcount,
308 GLsizei* count,
309 GLuint* shaders) override;
311 GLint GetAttribLocation(GLuint program, const char* name) override;
313 void GetBooleanv(GLenum pname, GLboolean* params) override;
315 void GetBufferParameteri64v(GLenum target,
316 GLenum pname,
317 GLint64* params) override;
319 void GetBufferParameteriv(GLenum target, GLenum pname, GLint* params) override;
321 GLenum GetError() override;
323 void GetFloatv(GLenum pname, GLfloat* params) override;
325 GLint GetFragDataLocation(GLuint program, const char* name) override;
327 void GetFramebufferAttachmentParameteriv(GLenum target,
328 GLenum attachment,
329 GLenum pname,
330 GLint* params) override;
332 void GetInteger64v(GLenum pname, GLint64* params) override;
334 void GetIntegeri_v(GLenum pname, GLuint index, GLint* data) override;
336 void GetInteger64i_v(GLenum pname, GLuint index, GLint64* data) override;
338 void GetIntegerv(GLenum pname, GLint* params) override;
340 void GetInternalformativ(GLenum target,
341 GLenum format,
342 GLenum pname,
343 GLsizei bufSize,
344 GLint* params) override;
346 void GetProgramiv(GLuint program, GLenum pname, GLint* params) override;
348 void GetProgramInfoLog(GLuint program,
349 GLsizei bufsize,
350 GLsizei* length,
351 char* infolog) override;
353 void GetRenderbufferParameteriv(GLenum target,
354 GLenum pname,
355 GLint* params) override;
357 void GetSamplerParameterfv(GLuint sampler,
358 GLenum pname,
359 GLfloat* params) override;
361 void GetSamplerParameteriv(GLuint sampler,
362 GLenum pname,
363 GLint* params) override;
365 void GetShaderiv(GLuint shader, GLenum pname, GLint* params) override;
367 void GetShaderInfoLog(GLuint shader,
368 GLsizei bufsize,
369 GLsizei* length,
370 char* infolog) override;
372 void GetShaderPrecisionFormat(GLenum shadertype,
373 GLenum precisiontype,
374 GLint* range,
375 GLint* precision) override;
377 void GetShaderSource(GLuint shader,
378 GLsizei bufsize,
379 GLsizei* length,
380 char* source) override;
382 const GLubyte* GetString(GLenum name) override;
384 void GetSynciv(GLsync sync,
385 GLenum pname,
386 GLsizei bufsize,
387 GLsizei* length,
388 GLint* values) override;
390 void GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) override;
392 void GetTexParameteriv(GLenum target, GLenum pname, GLint* params) override;
394 void GetTransformFeedbackVarying(GLuint program,
395 GLuint index,
396 GLsizei bufsize,
397 GLsizei* length,
398 GLsizei* size,
399 GLenum* type,
400 char* name) override;
402 GLuint GetUniformBlockIndex(GLuint program, const char* name) override;
404 void GetUniformfv(GLuint program, GLint location, GLfloat* params) override;
406 void GetUniformiv(GLuint program, GLint location, GLint* params) override;
408 void GetUniformuiv(GLuint program, GLint location, GLuint* params) override;
410 void GetUniformIndices(GLuint program,
411 GLsizei count,
412 const char* const* names,
413 GLuint* indices) override;
415 GLint GetUniformLocation(GLuint program, const char* name) override;
417 void GetVertexAttribPointerv(GLuint index,
418 GLenum pname,
419 void** pointer) override;
421 void Hint(GLenum target, GLenum mode) override;
423 void InvalidateFramebuffer(GLenum target,
424 GLsizei count,
425 const GLenum* attachments) override;
427 void InvalidateSubFramebuffer(GLenum target,
428 GLsizei count,
429 const GLenum* attachments,
430 GLint x,
431 GLint y,
432 GLsizei width,
433 GLsizei height) override;
435 GLboolean IsBuffer(GLuint buffer) override;
437 GLboolean IsEnabled(GLenum cap) override;
439 GLboolean IsFramebuffer(GLuint framebuffer) override;
441 GLboolean IsProgram(GLuint program) override;
443 GLboolean IsRenderbuffer(GLuint renderbuffer) override;
445 GLboolean IsSampler(GLuint sampler) override;
447 GLboolean IsShader(GLuint shader) override;
449 GLboolean IsSync(GLsync sync) override;
451 GLboolean IsTexture(GLuint texture) override;
453 GLboolean IsTransformFeedback(GLuint transformfeedback) override;
455 void LineWidth(GLfloat width) override;
457 void LinkProgram(GLuint program) override;
459 void PauseTransformFeedback() override;
461 void PixelStorei(GLenum pname, GLint param) override;
463 void PolygonOffset(GLfloat factor, GLfloat units) override;
465 void ReadBuffer(GLenum src) override;
467 void ReadPixels(GLint x,
468 GLint y,
469 GLsizei width,
470 GLsizei height,
471 GLenum format,
472 GLenum type,
473 void* pixels) override;
475 void ReleaseShaderCompiler() override;
477 void RenderbufferStorage(GLenum target,
478 GLenum internalformat,
479 GLsizei width,
480 GLsizei height) override;
482 void ResumeTransformFeedback() override;
484 void SampleCoverage(GLclampf value, GLboolean invert) override;
486 void SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) override;
488 void SamplerParameterfv(GLuint sampler,
489 GLenum pname,
490 const GLfloat* params) override;
492 void SamplerParameteri(GLuint sampler, GLenum pname, GLint param) override;
494 void SamplerParameteriv(GLuint sampler,
495 GLenum pname,
496 const GLint* params) override;
498 void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) override;
500 void ShaderBinary(GLsizei n,
501 const GLuint* shaders,
502 GLenum binaryformat,
503 const void* binary,
504 GLsizei length) override;
506 void ShaderSource(GLuint shader,
507 GLsizei count,
508 const GLchar* const* str,
509 const GLint* length) override;
511 void ShallowFinishCHROMIUM() override;
513 void ShallowFlushCHROMIUM() override;
515 void OrderingBarrierCHROMIUM() override;
517 void StencilFunc(GLenum func, GLint ref, GLuint mask) override;
519 void StencilFuncSeparate(GLenum face,
520 GLenum func,
521 GLint ref,
522 GLuint mask) override;
524 void StencilMask(GLuint mask) override;
526 void StencilMaskSeparate(GLenum face, GLuint mask) override;
528 void StencilOp(GLenum fail, GLenum zfail, GLenum zpass) override;
530 void StencilOpSeparate(GLenum face,
531 GLenum fail,
532 GLenum zfail,
533 GLenum zpass) override;
535 void TexImage2D(GLenum target,
536 GLint level,
537 GLint internalformat,
538 GLsizei width,
539 GLsizei height,
540 GLint border,
541 GLenum format,
542 GLenum type,
543 const void* pixels) override;
545 void TexImage3D(GLenum target,
546 GLint level,
547 GLint internalformat,
548 GLsizei width,
549 GLsizei height,
550 GLsizei depth,
551 GLint border,
552 GLenum format,
553 GLenum type,
554 const void* pixels) override;
556 void TexParameterf(GLenum target, GLenum pname, GLfloat param) override;
558 void TexParameterfv(GLenum target,
559 GLenum pname,
560 const GLfloat* params) override;
562 void TexParameteri(GLenum target, GLenum pname, GLint param) override;
564 void TexParameteriv(GLenum target, GLenum pname, const GLint* params) override;
566 void TexStorage3D(GLenum target,
567 GLsizei levels,
568 GLenum internalFormat,
569 GLsizei width,
570 GLsizei height,
571 GLsizei depth) override;
573 void TexSubImage2D(GLenum target,
574 GLint level,
575 GLint xoffset,
576 GLint yoffset,
577 GLsizei width,
578 GLsizei height,
579 GLenum format,
580 GLenum type,
581 const void* pixels) override;
583 void TexSubImage3D(GLenum target,
584 GLint level,
585 GLint xoffset,
586 GLint yoffset,
587 GLint zoffset,
588 GLsizei width,
589 GLsizei height,
590 GLsizei depth,
591 GLenum format,
592 GLenum type,
593 const void* pixels) override;
595 void TransformFeedbackVaryings(GLuint program,
596 GLsizei count,
597 const char* const* varyings,
598 GLenum buffermode) override;
600 void Uniform1f(GLint location, GLfloat x) override;
602 void Uniform1fv(GLint location, GLsizei count, const GLfloat* v) override;
604 void Uniform1i(GLint location, GLint x) override;
606 void Uniform1iv(GLint location, GLsizei count, const GLint* v) override;
608 void Uniform1ui(GLint location, GLuint x) override;
610 void Uniform1uiv(GLint location, GLsizei count, const GLuint* v) override;
612 void Uniform2f(GLint location, GLfloat x, GLfloat y) override;
614 void Uniform2fv(GLint location, GLsizei count, const GLfloat* v) override;
616 void Uniform2i(GLint location, GLint x, GLint y) override;
618 void Uniform2iv(GLint location, GLsizei count, const GLint* v) override;
620 void Uniform2ui(GLint location, GLuint x, GLuint y) override;
622 void Uniform2uiv(GLint location, GLsizei count, const GLuint* v) override;
624 void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) override;
626 void Uniform3fv(GLint location, GLsizei count, const GLfloat* v) override;
628 void Uniform3i(GLint location, GLint x, GLint y, GLint z) override;
630 void Uniform3iv(GLint location, GLsizei count, const GLint* v) override;
632 void Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) override;
634 void Uniform3uiv(GLint location, GLsizei count, const GLuint* v) override;
636 void Uniform4f(GLint location,
637 GLfloat x,
638 GLfloat y,
639 GLfloat z,
640 GLfloat w) override;
642 void Uniform4fv(GLint location, GLsizei count, const GLfloat* v) override;
644 void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) override;
646 void Uniform4iv(GLint location, GLsizei count, const GLint* v) override;
648 void Uniform4ui(GLint location,
649 GLuint x,
650 GLuint y,
651 GLuint z,
652 GLuint w) override;
654 void Uniform4uiv(GLint location, GLsizei count, const GLuint* v) override;
656 void UniformBlockBinding(GLuint program, GLuint index, GLuint binding) override;
658 void UniformMatrix2fv(GLint location,
659 GLsizei count,
660 GLboolean transpose,
661 const GLfloat* value) override;
663 void UniformMatrix2x3fv(GLint location,
664 GLsizei count,
665 GLboolean transpose,
666 const GLfloat* value) override;
668 void UniformMatrix2x4fv(GLint location,
669 GLsizei count,
670 GLboolean transpose,
671 const GLfloat* value) override;
673 void UniformMatrix3fv(GLint location,
674 GLsizei count,
675 GLboolean transpose,
676 const GLfloat* value) override;
678 void UniformMatrix3x2fv(GLint location,
679 GLsizei count,
680 GLboolean transpose,
681 const GLfloat* value) override;
683 void UniformMatrix3x4fv(GLint location,
684 GLsizei count,
685 GLboolean transpose,
686 const GLfloat* value) override;
688 void UniformMatrix4fv(GLint location,
689 GLsizei count,
690 GLboolean transpose,
691 const GLfloat* value) override;
693 void UniformMatrix4x2fv(GLint location,
694 GLsizei count,
695 GLboolean transpose,
696 const GLfloat* value) override;
698 void UniformMatrix4x3fv(GLint location,
699 GLsizei count,
700 GLboolean transpose,
701 const GLfloat* value) override;
703 void UseProgram(GLuint program) override;
705 void ValidateProgram(GLuint program) override;
707 void VertexAttrib1f(GLuint indx, GLfloat x) override;
709 void VertexAttrib1fv(GLuint indx, const GLfloat* values) override;
711 void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) override;
713 void VertexAttrib2fv(GLuint indx, const GLfloat* values) override;
715 void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) override;
717 void VertexAttrib3fv(GLuint indx, const GLfloat* values) override;
719 void VertexAttrib4f(GLuint indx,
720 GLfloat x,
721 GLfloat y,
722 GLfloat z,
723 GLfloat w) override;
725 void VertexAttrib4fv(GLuint indx, const GLfloat* values) override;
727 void VertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w) override;
729 void VertexAttribI4iv(GLuint indx, const GLint* values) override;
731 void VertexAttribI4ui(GLuint indx,
732 GLuint x,
733 GLuint y,
734 GLuint z,
735 GLuint w) override;
737 void VertexAttribI4uiv(GLuint indx, const GLuint* values) override;
739 void VertexAttribIPointer(GLuint indx,
740 GLint size,
741 GLenum type,
742 GLsizei stride,
743 const void* ptr) override;
745 void VertexAttribPointer(GLuint indx,
746 GLint size,
747 GLenum type,
748 GLboolean normalized,
749 GLsizei stride,
750 const void* ptr) override;
752 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) override;
754 void WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) override;
756 void BlitFramebufferCHROMIUM(GLint srcX0,
757 GLint srcY0,
758 GLint srcX1,
759 GLint srcY1,
760 GLint dstX0,
761 GLint dstY0,
762 GLint dstX1,
763 GLint dstY1,
764 GLbitfield mask,
765 GLenum filter) override;
767 void RenderbufferStorageMultisampleCHROMIUM(GLenum target,
768 GLsizei samples,
769 GLenum internalformat,
770 GLsizei width,
771 GLsizei height) override;
773 void RenderbufferStorageMultisampleEXT(GLenum target,
774 GLsizei samples,
775 GLenum internalformat,
776 GLsizei width,
777 GLsizei height) override;
779 void FramebufferTexture2DMultisampleEXT(GLenum target,
780 GLenum attachment,
781 GLenum textarget,
782 GLuint texture,
783 GLint level,
784 GLsizei samples) override;
786 void TexStorage2DEXT(GLenum target,
787 GLsizei levels,
788 GLenum internalFormat,
789 GLsizei width,
790 GLsizei height) override;
792 void GenQueriesEXT(GLsizei n, GLuint* queries) override;
794 void DeleteQueriesEXT(GLsizei n, const GLuint* queries) override;
796 void QueryCounterEXT(GLuint id, GLenum target) override;
798 GLboolean IsQueryEXT(GLuint id) override;
800 void BeginQueryEXT(GLenum target, GLuint id) override;
802 void BeginTransformFeedback(GLenum primitivemode) override;
804 void EndQueryEXT(GLenum target) override;
806 void EndTransformFeedback() override;
808 void GetQueryivEXT(GLenum target, GLenum pname, GLint* params) override;
810 void GetQueryObjectivEXT(GLuint id, GLenum pname, GLint* params) override;
812 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override;
814 void GetQueryObjecti64vEXT(GLuint id, GLenum pname, GLint64* params) override;
816 void GetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64* params) override;
818 void SetDisjointValueSyncCHROMIUM() override;
820 void InsertEventMarkerEXT(GLsizei length, const GLchar* marker) override;
822 void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) override;
824 void PopGroupMarkerEXT() override;
826 void GenVertexArraysOES(GLsizei n, GLuint* arrays) override;
828 void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) override;
830 GLboolean IsVertexArrayOES(GLuint array) override;
832 void BindVertexArrayOES(GLuint array) override;
834 void SwapBuffers() override;
836 GLuint GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
837 GLsizei count,
838 GLenum type,
839 GLuint offset) override;
841 GLboolean EnableFeatureCHROMIUM(const char* feature) override;
843 void* MapBufferCHROMIUM(GLuint target, GLenum access) override;
845 GLboolean UnmapBufferCHROMIUM(GLuint target) override;
847 void* MapBufferSubDataCHROMIUM(GLuint target,
848 GLintptr offset,
849 GLsizeiptr size,
850 GLenum access) override;
852 void UnmapBufferSubDataCHROMIUM(const void* mem) override;
854 void* MapBufferRange(GLenum target,
855 GLintptr offset,
856 GLsizeiptr size,
857 GLbitfield access) override;
859 GLboolean UnmapBuffer(GLenum target) override;
861 void* MapTexSubImage2DCHROMIUM(GLenum target,
862 GLint level,
863 GLint xoffset,
864 GLint yoffset,
865 GLsizei width,
866 GLsizei height,
867 GLenum format,
868 GLenum type,
869 GLenum access) override;
871 void UnmapTexSubImage2DCHROMIUM(const void* mem) override;
873 void ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) override;
875 const GLchar* GetRequestableExtensionsCHROMIUM() override;
877 void RequestExtensionCHROMIUM(const char* extension) override;
879 void RateLimitOffscreenContextCHROMIUM() override;
881 void GetProgramInfoCHROMIUM(GLuint program,
882 GLsizei bufsize,
883 GLsizei* size,
884 void* info) override;
886 void GetUniformBlocksCHROMIUM(GLuint program,
887 GLsizei bufsize,
888 GLsizei* size,
889 void* info) override;
891 void GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
892 GLsizei bufsize,
893 GLsizei* size,
894 void* info) override;
896 void GetUniformsES3CHROMIUM(GLuint program,
897 GLsizei bufsize,
898 GLsizei* size,
899 void* info) override;
901 GLuint CreateStreamTextureCHROMIUM(GLuint texture) override;
903 GLuint CreateImageCHROMIUM(ClientBuffer buffer,
904 GLsizei width,
905 GLsizei height,
906 GLenum internalformat) override;
908 void DestroyImageCHROMIUM(GLuint image_id) override;
910 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
911 GLsizei height,
912 GLenum internalformat,
913 GLenum usage) override;
915 void GetTranslatedShaderSourceANGLE(GLuint shader,
916 GLsizei bufsize,
917 GLsizei* length,
918 char* source) override;
920 void PostSubBufferCHROMIUM(GLint x,
921 GLint y,
922 GLint width,
923 GLint height) override;
925 void TexImageIOSurface2DCHROMIUM(GLenum target,
926 GLsizei width,
927 GLsizei height,
928 GLuint ioSurfaceId,
929 GLuint plane) override;
931 void CopyTextureCHROMIUM(GLenum target,
932 GLenum source_id,
933 GLenum dest_id,
934 GLint internalformat,
935 GLenum dest_type,
936 GLboolean unpack_flip_y,
937 GLboolean unpack_premultiply_alpha,
938 GLboolean unpack_unmultiply_alpha) override;
940 void CopySubTextureCHROMIUM(GLenum target,
941 GLenum source_id,
942 GLenum dest_id,
943 GLint xoffset,
944 GLint yoffset,
945 GLint x,
946 GLint y,
947 GLsizei width,
948 GLsizei height,
949 GLboolean unpack_flip_y,
950 GLboolean unpack_premultiply_alpha,
951 GLboolean unpack_unmultiply_alpha) override;
953 void CompressedCopyTextureCHROMIUM(GLenum target,
954 GLenum source_id,
955 GLenum dest_id) override;
957 void CompressedCopySubTextureCHROMIUM(GLenum target,
958 GLenum source_id,
959 GLenum dest_id,
960 GLint xoffset,
961 GLint yoffset,
962 GLint x,
963 GLint y,
964 GLsizei width,
965 GLsizei height) override;
967 void DrawArraysInstancedANGLE(GLenum mode,
968 GLint first,
969 GLsizei count,
970 GLsizei primcount) override;
972 void DrawElementsInstancedANGLE(GLenum mode,
973 GLsizei count,
974 GLenum type,
975 const void* indices,
976 GLsizei primcount) override;
978 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) override;
980 void GenMailboxCHROMIUM(GLbyte* mailbox) override;
982 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
984 void ProduceTextureDirectCHROMIUM(GLuint texture,
985 GLenum target,
986 const GLbyte* mailbox) override;
988 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
990 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
991 const GLbyte* mailbox) override;
993 void BindUniformLocationCHROMIUM(GLuint program,
994 GLint location,
995 const char* name) override;
997 void GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) override;
999 void DeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers) override;
1001 GLboolean IsValuebufferCHROMIUM(GLuint valuebuffer) override;
1003 void BindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer) override;
1005 void SubscribeValueCHROMIUM(GLenum target, GLenum subscription) override;
1007 void PopulateSubscribedValuesCHROMIUM(GLenum target) override;
1009 void UniformValuebufferCHROMIUM(GLint location,
1010 GLenum target,
1011 GLenum subscription) override;
1013 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
1015 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
1017 void TraceBeginCHROMIUM(const char* category_name,
1018 const char* trace_name) override;
1020 void TraceEndCHROMIUM() override;
1022 void AsyncTexSubImage2DCHROMIUM(GLenum target,
1023 GLint level,
1024 GLint xoffset,
1025 GLint yoffset,
1026 GLsizei width,
1027 GLsizei height,
1028 GLenum format,
1029 GLenum type,
1030 const void* data) override;
1032 void AsyncTexImage2DCHROMIUM(GLenum target,
1033 GLint level,
1034 GLenum internalformat,
1035 GLsizei width,
1036 GLsizei height,
1037 GLint border,
1038 GLenum format,
1039 GLenum type,
1040 const void* pixels) override;
1042 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override;
1044 void WaitAllAsyncTexImage2DCHROMIUM() override;
1046 void DiscardFramebufferEXT(GLenum target,
1047 GLsizei count,
1048 const GLenum* attachments) override;
1050 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
1052 GLuint InsertSyncPointCHROMIUM() override;
1054 void WaitSyncPointCHROMIUM(GLuint sync_point) override;
1056 void DrawBuffersEXT(GLsizei count, const GLenum* bufs) override;
1058 void DiscardBackbufferCHROMIUM() override;
1060 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
1061 GLenum plane_transform,
1062 GLuint overlay_texture_id,
1063 GLint bounds_x,
1064 GLint bounds_y,
1065 GLint bounds_width,
1066 GLint bounds_height,
1067 GLfloat uv_x,
1068 GLfloat uv_y,
1069 GLfloat uv_width,
1070 GLfloat uv_height) override;
1072 void SwapInterval(GLint interval) override;
1074 void FlushDriverCachesCHROMIUM() override;
1076 void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) override;
1078 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) override;
1080 GLuint GenPathsCHROMIUM(GLsizei range) override;
1082 void DeletePathsCHROMIUM(GLuint path, GLsizei range) override;
1084 GLboolean IsPathCHROMIUM(GLuint path) override;
1086 void PathCommandsCHROMIUM(GLuint path,
1087 GLsizei numCommands,
1088 const GLubyte* commands,
1089 GLsizei numCoords,
1090 GLenum coordType,
1091 const GLvoid* coords) override;
1093 void PathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value) override;
1095 void PathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value) override;
1097 void PathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask) override;
1099 void StencilFillPathCHROMIUM(GLuint path,
1100 GLenum fillMode,
1101 GLuint mask) override;
1103 void StencilStrokePathCHROMIUM(GLuint path,
1104 GLint reference,
1105 GLuint mask) override;
1107 void CoverFillPathCHROMIUM(GLuint path, GLenum coverMode) override;
1109 void CoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) override;
1111 void StencilThenCoverFillPathCHROMIUM(GLuint path,
1112 GLenum fillMode,
1113 GLuint mask,
1114 GLenum coverMode) override;
1116 void StencilThenCoverStrokePathCHROMIUM(GLuint path,
1117 GLint reference,
1118 GLuint mask,
1119 GLenum coverMode) override;
1121 GLenum GetGraphicsResetStatusKHR() override;
1123 void BlendBarrierKHR() override;
1125 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_