Reland "Non-SFI mode: Switch to newlib. (patchset #4 id:60001 of https://codereview...
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_implementation_autogen.h
blobf2c1b5e5e545146d7a36cb1961e1235e51761d3f
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 GetBufferParameteriv(GLenum target, GLenum pname, GLint* params) override;
317 GLenum GetError() override;
319 void GetFloatv(GLenum pname, GLfloat* params) override;
321 GLint GetFragDataLocation(GLuint program, const char* name) override;
323 void GetFramebufferAttachmentParameteriv(GLenum target,
324 GLenum attachment,
325 GLenum pname,
326 GLint* params) override;
328 void GetInteger64v(GLenum pname, GLint64* params) override;
330 void GetIntegeri_v(GLenum pname, GLuint index, GLint* data) override;
332 void GetInteger64i_v(GLenum pname, GLuint index, GLint64* data) override;
334 void GetIntegerv(GLenum pname, GLint* params) override;
336 void GetInternalformativ(GLenum target,
337 GLenum format,
338 GLenum pname,
339 GLsizei bufSize,
340 GLint* params) override;
342 void GetProgramiv(GLuint program, GLenum pname, GLint* params) override;
344 void GetProgramInfoLog(GLuint program,
345 GLsizei bufsize,
346 GLsizei* length,
347 char* infolog) override;
349 void GetRenderbufferParameteriv(GLenum target,
350 GLenum pname,
351 GLint* params) override;
353 void GetSamplerParameterfv(GLuint sampler,
354 GLenum pname,
355 GLfloat* params) override;
357 void GetSamplerParameteriv(GLuint sampler,
358 GLenum pname,
359 GLint* params) override;
361 void GetShaderiv(GLuint shader, GLenum pname, GLint* params) override;
363 void GetShaderInfoLog(GLuint shader,
364 GLsizei bufsize,
365 GLsizei* length,
366 char* infolog) override;
368 void GetShaderPrecisionFormat(GLenum shadertype,
369 GLenum precisiontype,
370 GLint* range,
371 GLint* precision) override;
373 void GetShaderSource(GLuint shader,
374 GLsizei bufsize,
375 GLsizei* length,
376 char* source) override;
378 const GLubyte* GetString(GLenum name) override;
380 void GetSynciv(GLsync sync,
381 GLenum pname,
382 GLsizei bufsize,
383 GLsizei* length,
384 GLint* values) override;
386 void GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) override;
388 void GetTexParameteriv(GLenum target, GLenum pname, GLint* params) override;
390 void GetTransformFeedbackVarying(GLuint program,
391 GLuint index,
392 GLsizei bufsize,
393 GLsizei* length,
394 GLsizei* size,
395 GLenum* type,
396 char* name) override;
398 GLuint GetUniformBlockIndex(GLuint program, const char* name) override;
400 void GetUniformfv(GLuint program, GLint location, GLfloat* params) override;
402 void GetUniformiv(GLuint program, GLint location, GLint* params) override;
404 void GetUniformuiv(GLuint program, GLint location, GLuint* params) override;
406 void GetUniformIndices(GLuint program,
407 GLsizei count,
408 const char* const* names,
409 GLuint* indices) override;
411 GLint GetUniformLocation(GLuint program, const char* name) override;
413 void GetVertexAttribPointerv(GLuint index,
414 GLenum pname,
415 void** pointer) override;
417 void Hint(GLenum target, GLenum mode) override;
419 void InvalidateFramebuffer(GLenum target,
420 GLsizei count,
421 const GLenum* attachments) override;
423 void InvalidateSubFramebuffer(GLenum target,
424 GLsizei count,
425 const GLenum* attachments,
426 GLint x,
427 GLint y,
428 GLsizei width,
429 GLsizei height) override;
431 GLboolean IsBuffer(GLuint buffer) override;
433 GLboolean IsEnabled(GLenum cap) override;
435 GLboolean IsFramebuffer(GLuint framebuffer) override;
437 GLboolean IsProgram(GLuint program) override;
439 GLboolean IsRenderbuffer(GLuint renderbuffer) override;
441 GLboolean IsSampler(GLuint sampler) override;
443 GLboolean IsShader(GLuint shader) override;
445 GLboolean IsSync(GLsync sync) override;
447 GLboolean IsTexture(GLuint texture) override;
449 GLboolean IsTransformFeedback(GLuint transformfeedback) override;
451 void LineWidth(GLfloat width) override;
453 void LinkProgram(GLuint program) override;
455 void PauseTransformFeedback() override;
457 void PixelStorei(GLenum pname, GLint param) override;
459 void PolygonOffset(GLfloat factor, GLfloat units) override;
461 void ReadBuffer(GLenum src) override;
463 void ReadPixels(GLint x,
464 GLint y,
465 GLsizei width,
466 GLsizei height,
467 GLenum format,
468 GLenum type,
469 void* pixels) override;
471 void ReleaseShaderCompiler() override;
473 void RenderbufferStorage(GLenum target,
474 GLenum internalformat,
475 GLsizei width,
476 GLsizei height) override;
478 void ResumeTransformFeedback() override;
480 void SampleCoverage(GLclampf value, GLboolean invert) override;
482 void SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) override;
484 void SamplerParameterfv(GLuint sampler,
485 GLenum pname,
486 const GLfloat* params) override;
488 void SamplerParameteri(GLuint sampler, GLenum pname, GLint param) override;
490 void SamplerParameteriv(GLuint sampler,
491 GLenum pname,
492 const GLint* params) override;
494 void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) override;
496 void ShaderBinary(GLsizei n,
497 const GLuint* shaders,
498 GLenum binaryformat,
499 const void* binary,
500 GLsizei length) override;
502 void ShaderSource(GLuint shader,
503 GLsizei count,
504 const GLchar* const* str,
505 const GLint* length) override;
507 void ShallowFinishCHROMIUM() override;
509 void ShallowFlushCHROMIUM() override;
511 void OrderingBarrierCHROMIUM() override;
513 void StencilFunc(GLenum func, GLint ref, GLuint mask) override;
515 void StencilFuncSeparate(GLenum face,
516 GLenum func,
517 GLint ref,
518 GLuint mask) override;
520 void StencilMask(GLuint mask) override;
522 void StencilMaskSeparate(GLenum face, GLuint mask) override;
524 void StencilOp(GLenum fail, GLenum zfail, GLenum zpass) override;
526 void StencilOpSeparate(GLenum face,
527 GLenum fail,
528 GLenum zfail,
529 GLenum zpass) override;
531 void TexImage2D(GLenum target,
532 GLint level,
533 GLint internalformat,
534 GLsizei width,
535 GLsizei height,
536 GLint border,
537 GLenum format,
538 GLenum type,
539 const void* pixels) override;
541 void TexImage3D(GLenum target,
542 GLint level,
543 GLint internalformat,
544 GLsizei width,
545 GLsizei height,
546 GLsizei depth,
547 GLint border,
548 GLenum format,
549 GLenum type,
550 const void* pixels) override;
552 void TexParameterf(GLenum target, GLenum pname, GLfloat param) override;
554 void TexParameterfv(GLenum target,
555 GLenum pname,
556 const GLfloat* params) override;
558 void TexParameteri(GLenum target, GLenum pname, GLint param) override;
560 void TexParameteriv(GLenum target, GLenum pname, const GLint* params) override;
562 void TexStorage3D(GLenum target,
563 GLsizei levels,
564 GLenum internalFormat,
565 GLsizei width,
566 GLsizei height,
567 GLsizei depth) override;
569 void TexSubImage2D(GLenum target,
570 GLint level,
571 GLint xoffset,
572 GLint yoffset,
573 GLsizei width,
574 GLsizei height,
575 GLenum format,
576 GLenum type,
577 const void* pixels) override;
579 void TexSubImage3D(GLenum target,
580 GLint level,
581 GLint xoffset,
582 GLint yoffset,
583 GLint zoffset,
584 GLsizei width,
585 GLsizei height,
586 GLsizei depth,
587 GLenum format,
588 GLenum type,
589 const void* pixels) override;
591 void TransformFeedbackVaryings(GLuint program,
592 GLsizei count,
593 const char* const* varyings,
594 GLenum buffermode) override;
596 void Uniform1f(GLint location, GLfloat x) override;
598 void Uniform1fv(GLint location, GLsizei count, const GLfloat* v) override;
600 void Uniform1i(GLint location, GLint x) override;
602 void Uniform1iv(GLint location, GLsizei count, const GLint* v) override;
604 void Uniform1ui(GLint location, GLuint x) override;
606 void Uniform1uiv(GLint location, GLsizei count, const GLuint* v) override;
608 void Uniform2f(GLint location, GLfloat x, GLfloat y) override;
610 void Uniform2fv(GLint location, GLsizei count, const GLfloat* v) override;
612 void Uniform2i(GLint location, GLint x, GLint y) override;
614 void Uniform2iv(GLint location, GLsizei count, const GLint* v) override;
616 void Uniform2ui(GLint location, GLuint x, GLuint y) override;
618 void Uniform2uiv(GLint location, GLsizei count, const GLuint* v) override;
620 void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) override;
622 void Uniform3fv(GLint location, GLsizei count, const GLfloat* v) override;
624 void Uniform3i(GLint location, GLint x, GLint y, GLint z) override;
626 void Uniform3iv(GLint location, GLsizei count, const GLint* v) override;
628 void Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) override;
630 void Uniform3uiv(GLint location, GLsizei count, const GLuint* v) override;
632 void Uniform4f(GLint location,
633 GLfloat x,
634 GLfloat y,
635 GLfloat z,
636 GLfloat w) override;
638 void Uniform4fv(GLint location, GLsizei count, const GLfloat* v) override;
640 void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) override;
642 void Uniform4iv(GLint location, GLsizei count, const GLint* v) override;
644 void Uniform4ui(GLint location,
645 GLuint x,
646 GLuint y,
647 GLuint z,
648 GLuint w) override;
650 void Uniform4uiv(GLint location, GLsizei count, const GLuint* v) override;
652 void UniformBlockBinding(GLuint program, GLuint index, GLuint binding) override;
654 void UniformMatrix2fv(GLint location,
655 GLsizei count,
656 GLboolean transpose,
657 const GLfloat* value) override;
659 void UniformMatrix2x3fv(GLint location,
660 GLsizei count,
661 GLboolean transpose,
662 const GLfloat* value) override;
664 void UniformMatrix2x4fv(GLint location,
665 GLsizei count,
666 GLboolean transpose,
667 const GLfloat* value) override;
669 void UniformMatrix3fv(GLint location,
670 GLsizei count,
671 GLboolean transpose,
672 const GLfloat* value) override;
674 void UniformMatrix3x2fv(GLint location,
675 GLsizei count,
676 GLboolean transpose,
677 const GLfloat* value) override;
679 void UniformMatrix3x4fv(GLint location,
680 GLsizei count,
681 GLboolean transpose,
682 const GLfloat* value) override;
684 void UniformMatrix4fv(GLint location,
685 GLsizei count,
686 GLboolean transpose,
687 const GLfloat* value) override;
689 void UniformMatrix4x2fv(GLint location,
690 GLsizei count,
691 GLboolean transpose,
692 const GLfloat* value) override;
694 void UniformMatrix4x3fv(GLint location,
695 GLsizei count,
696 GLboolean transpose,
697 const GLfloat* value) override;
699 void UseProgram(GLuint program) override;
701 void ValidateProgram(GLuint program) override;
703 void VertexAttrib1f(GLuint indx, GLfloat x) override;
705 void VertexAttrib1fv(GLuint indx, const GLfloat* values) override;
707 void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) override;
709 void VertexAttrib2fv(GLuint indx, const GLfloat* values) override;
711 void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) override;
713 void VertexAttrib3fv(GLuint indx, const GLfloat* values) override;
715 void VertexAttrib4f(GLuint indx,
716 GLfloat x,
717 GLfloat y,
718 GLfloat z,
719 GLfloat w) override;
721 void VertexAttrib4fv(GLuint indx, const GLfloat* values) override;
723 void VertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w) override;
725 void VertexAttribI4iv(GLuint indx, const GLint* values) override;
727 void VertexAttribI4ui(GLuint indx,
728 GLuint x,
729 GLuint y,
730 GLuint z,
731 GLuint w) override;
733 void VertexAttribI4uiv(GLuint indx, const GLuint* values) override;
735 void VertexAttribIPointer(GLuint indx,
736 GLint size,
737 GLenum type,
738 GLsizei stride,
739 const void* ptr) override;
741 void VertexAttribPointer(GLuint indx,
742 GLint size,
743 GLenum type,
744 GLboolean normalized,
745 GLsizei stride,
746 const void* ptr) override;
748 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) override;
750 void WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) override;
752 void BlitFramebufferCHROMIUM(GLint srcX0,
753 GLint srcY0,
754 GLint srcX1,
755 GLint srcY1,
756 GLint dstX0,
757 GLint dstY0,
758 GLint dstX1,
759 GLint dstY1,
760 GLbitfield mask,
761 GLenum filter) override;
763 void RenderbufferStorageMultisampleCHROMIUM(GLenum target,
764 GLsizei samples,
765 GLenum internalformat,
766 GLsizei width,
767 GLsizei height) override;
769 void RenderbufferStorageMultisampleEXT(GLenum target,
770 GLsizei samples,
771 GLenum internalformat,
772 GLsizei width,
773 GLsizei height) override;
775 void FramebufferTexture2DMultisampleEXT(GLenum target,
776 GLenum attachment,
777 GLenum textarget,
778 GLuint texture,
779 GLint level,
780 GLsizei samples) override;
782 void TexStorage2DEXT(GLenum target,
783 GLsizei levels,
784 GLenum internalFormat,
785 GLsizei width,
786 GLsizei height) override;
788 void GenQueriesEXT(GLsizei n, GLuint* queries) override;
790 void DeleteQueriesEXT(GLsizei n, const GLuint* queries) override;
792 GLboolean IsQueryEXT(GLuint id) override;
794 void BeginQueryEXT(GLenum target, GLuint id) override;
796 void BeginTransformFeedback(GLenum primitivemode) override;
798 void EndQueryEXT(GLenum target) override;
800 void EndTransformFeedback() override;
802 void GetQueryivEXT(GLenum target, GLenum pname, GLint* params) override;
804 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override;
806 void InsertEventMarkerEXT(GLsizei length, const GLchar* marker) override;
808 void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) override;
810 void PopGroupMarkerEXT() override;
812 void GenVertexArraysOES(GLsizei n, GLuint* arrays) override;
814 void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) override;
816 GLboolean IsVertexArrayOES(GLuint array) override;
818 void BindVertexArrayOES(GLuint array) override;
820 void SwapBuffers() override;
822 GLuint GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
823 GLsizei count,
824 GLenum type,
825 GLuint offset) override;
827 GLboolean EnableFeatureCHROMIUM(const char* feature) override;
829 void* MapBufferCHROMIUM(GLuint target, GLenum access) override;
831 GLboolean UnmapBufferCHROMIUM(GLuint target) override;
833 void* MapBufferSubDataCHROMIUM(GLuint target,
834 GLintptr offset,
835 GLsizeiptr size,
836 GLenum access) override;
838 void UnmapBufferSubDataCHROMIUM(const void* mem) override;
840 void* MapBufferRange(GLenum target,
841 GLintptr offset,
842 GLsizeiptr size,
843 GLbitfield access) override;
845 GLboolean UnmapBuffer(GLenum target) override;
847 void* MapTexSubImage2DCHROMIUM(GLenum target,
848 GLint level,
849 GLint xoffset,
850 GLint yoffset,
851 GLsizei width,
852 GLsizei height,
853 GLenum format,
854 GLenum type,
855 GLenum access) override;
857 void UnmapTexSubImage2DCHROMIUM(const void* mem) override;
859 void ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) override;
861 const GLchar* GetRequestableExtensionsCHROMIUM() override;
863 void RequestExtensionCHROMIUM(const char* extension) override;
865 void RateLimitOffscreenContextCHROMIUM() override;
867 void GetProgramInfoCHROMIUM(GLuint program,
868 GLsizei bufsize,
869 GLsizei* size,
870 void* info) override;
872 void GetUniformBlocksCHROMIUM(GLuint program,
873 GLsizei bufsize,
874 GLsizei* size,
875 void* info) override;
877 void GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
878 GLsizei bufsize,
879 GLsizei* size,
880 void* info) override;
882 void GetUniformsES3CHROMIUM(GLuint program,
883 GLsizei bufsize,
884 GLsizei* size,
885 void* info) override;
887 GLuint CreateStreamTextureCHROMIUM(GLuint texture) override;
889 GLuint CreateImageCHROMIUM(ClientBuffer buffer,
890 GLsizei width,
891 GLsizei height,
892 GLenum internalformat) override;
894 void DestroyImageCHROMIUM(GLuint image_id) override;
896 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
897 GLsizei height,
898 GLenum internalformat,
899 GLenum usage) override;
901 void GetTranslatedShaderSourceANGLE(GLuint shader,
902 GLsizei bufsize,
903 GLsizei* length,
904 char* source) override;
906 void PostSubBufferCHROMIUM(GLint x,
907 GLint y,
908 GLint width,
909 GLint height) override;
911 void TexImageIOSurface2DCHROMIUM(GLenum target,
912 GLsizei width,
913 GLsizei height,
914 GLuint ioSurfaceId,
915 GLuint plane) override;
917 void CopyTextureCHROMIUM(GLenum target,
918 GLenum source_id,
919 GLenum dest_id,
920 GLint internalformat,
921 GLenum dest_type) override;
923 void CopySubTextureCHROMIUM(GLenum target,
924 GLenum source_id,
925 GLenum dest_id,
926 GLint xoffset,
927 GLint yoffset,
928 GLint x,
929 GLint y,
930 GLsizei width,
931 GLsizei height) override;
933 void CompressedCopyTextureCHROMIUM(GLenum target,
934 GLenum source_id,
935 GLenum dest_id) override;
937 void DrawArraysInstancedANGLE(GLenum mode,
938 GLint first,
939 GLsizei count,
940 GLsizei primcount) override;
942 void DrawElementsInstancedANGLE(GLenum mode,
943 GLsizei count,
944 GLenum type,
945 const void* indices,
946 GLsizei primcount) override;
948 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) override;
950 void GenMailboxCHROMIUM(GLbyte* mailbox) override;
952 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
954 void ProduceTextureDirectCHROMIUM(GLuint texture,
955 GLenum target,
956 const GLbyte* mailbox) override;
958 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
960 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
961 const GLbyte* mailbox) override;
963 void BindUniformLocationCHROMIUM(GLuint program,
964 GLint location,
965 const char* name) override;
967 void GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) override;
969 void DeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers) override;
971 GLboolean IsValuebufferCHROMIUM(GLuint valuebuffer) override;
973 void BindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer) override;
975 void SubscribeValueCHROMIUM(GLenum target, GLenum subscription) override;
977 void PopulateSubscribedValuesCHROMIUM(GLenum target) override;
979 void UniformValuebufferCHROMIUM(GLint location,
980 GLenum target,
981 GLenum subscription) override;
983 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
985 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
987 void TraceBeginCHROMIUM(const char* category_name,
988 const char* trace_name) override;
990 void TraceEndCHROMIUM() override;
992 void AsyncTexSubImage2DCHROMIUM(GLenum target,
993 GLint level,
994 GLint xoffset,
995 GLint yoffset,
996 GLsizei width,
997 GLsizei height,
998 GLenum format,
999 GLenum type,
1000 const void* data) override;
1002 void AsyncTexImage2DCHROMIUM(GLenum target,
1003 GLint level,
1004 GLenum internalformat,
1005 GLsizei width,
1006 GLsizei height,
1007 GLint border,
1008 GLenum format,
1009 GLenum type,
1010 const void* pixels) override;
1012 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override;
1014 void WaitAllAsyncTexImage2DCHROMIUM() override;
1016 void DiscardFramebufferEXT(GLenum target,
1017 GLsizei count,
1018 const GLenum* attachments) override;
1020 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
1022 GLuint InsertSyncPointCHROMIUM() override;
1024 void WaitSyncPointCHROMIUM(GLuint sync_point) override;
1026 void DrawBuffersEXT(GLsizei count, const GLenum* bufs) override;
1028 void DiscardBackbufferCHROMIUM() override;
1030 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
1031 GLenum plane_transform,
1032 GLuint overlay_texture_id,
1033 GLint bounds_x,
1034 GLint bounds_y,
1035 GLint bounds_width,
1036 GLint bounds_height,
1037 GLfloat uv_x,
1038 GLfloat uv_y,
1039 GLfloat uv_width,
1040 GLfloat uv_height) override;
1042 void SwapInterval(GLint interval) override;
1044 void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) override;
1046 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) override;
1048 GLenum GetGraphicsResetStatusKHR() override;
1050 void BlendBarrierKHR() override;
1052 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_