Add ICU message format support
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_implementation_autogen.h
blob06ac9483279d99545f7b0c64c1cf01d93e39d7cd
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 GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override;
812 void GetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64* params) override;
814 void InsertEventMarkerEXT(GLsizei length, const GLchar* marker) override;
816 void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) override;
818 void PopGroupMarkerEXT() override;
820 void GenVertexArraysOES(GLsizei n, GLuint* arrays) override;
822 void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) override;
824 GLboolean IsVertexArrayOES(GLuint array) override;
826 void BindVertexArrayOES(GLuint array) override;
828 void SwapBuffers() override;
830 GLuint GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
831 GLsizei count,
832 GLenum type,
833 GLuint offset) override;
835 GLboolean EnableFeatureCHROMIUM(const char* feature) override;
837 void* MapBufferCHROMIUM(GLuint target, GLenum access) override;
839 GLboolean UnmapBufferCHROMIUM(GLuint target) override;
841 void* MapBufferSubDataCHROMIUM(GLuint target,
842 GLintptr offset,
843 GLsizeiptr size,
844 GLenum access) override;
846 void UnmapBufferSubDataCHROMIUM(const void* mem) override;
848 void* MapBufferRange(GLenum target,
849 GLintptr offset,
850 GLsizeiptr size,
851 GLbitfield access) override;
853 GLboolean UnmapBuffer(GLenum target) override;
855 void* MapTexSubImage2DCHROMIUM(GLenum target,
856 GLint level,
857 GLint xoffset,
858 GLint yoffset,
859 GLsizei width,
860 GLsizei height,
861 GLenum format,
862 GLenum type,
863 GLenum access) override;
865 void UnmapTexSubImage2DCHROMIUM(const void* mem) override;
867 void ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) override;
869 const GLchar* GetRequestableExtensionsCHROMIUM() override;
871 void RequestExtensionCHROMIUM(const char* extension) override;
873 void RateLimitOffscreenContextCHROMIUM() override;
875 void GetProgramInfoCHROMIUM(GLuint program,
876 GLsizei bufsize,
877 GLsizei* size,
878 void* info) override;
880 void GetUniformBlocksCHROMIUM(GLuint program,
881 GLsizei bufsize,
882 GLsizei* size,
883 void* info) override;
885 void GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
886 GLsizei bufsize,
887 GLsizei* size,
888 void* info) override;
890 void GetUniformsES3CHROMIUM(GLuint program,
891 GLsizei bufsize,
892 GLsizei* size,
893 void* info) override;
895 GLuint CreateStreamTextureCHROMIUM(GLuint texture) override;
897 GLuint CreateImageCHROMIUM(ClientBuffer buffer,
898 GLsizei width,
899 GLsizei height,
900 GLenum internalformat) override;
902 void DestroyImageCHROMIUM(GLuint image_id) override;
904 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
905 GLsizei height,
906 GLenum internalformat,
907 GLenum usage) override;
909 void GetTranslatedShaderSourceANGLE(GLuint shader,
910 GLsizei bufsize,
911 GLsizei* length,
912 char* source) override;
914 void PostSubBufferCHROMIUM(GLint x,
915 GLint y,
916 GLint width,
917 GLint height) override;
919 void TexImageIOSurface2DCHROMIUM(GLenum target,
920 GLsizei width,
921 GLsizei height,
922 GLuint ioSurfaceId,
923 GLuint plane) override;
925 void CopyTextureCHROMIUM(GLenum target,
926 GLenum source_id,
927 GLenum dest_id,
928 GLint internalformat,
929 GLenum dest_type,
930 GLboolean unpack_flip_y,
931 GLboolean unpack_premultiply_alpha,
932 GLboolean unpack_unmultiply_alpha) override;
934 void CopySubTextureCHROMIUM(GLenum target,
935 GLenum source_id,
936 GLenum dest_id,
937 GLint xoffset,
938 GLint yoffset,
939 GLint x,
940 GLint y,
941 GLsizei width,
942 GLsizei height,
943 GLboolean unpack_flip_y,
944 GLboolean unpack_premultiply_alpha,
945 GLboolean unpack_unmultiply_alpha) override;
947 void CompressedCopyTextureCHROMIUM(GLenum target,
948 GLenum source_id,
949 GLenum dest_id) override;
951 void DrawArraysInstancedANGLE(GLenum mode,
952 GLint first,
953 GLsizei count,
954 GLsizei primcount) override;
956 void DrawElementsInstancedANGLE(GLenum mode,
957 GLsizei count,
958 GLenum type,
959 const void* indices,
960 GLsizei primcount) override;
962 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) override;
964 void GenMailboxCHROMIUM(GLbyte* mailbox) override;
966 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
968 void ProduceTextureDirectCHROMIUM(GLuint texture,
969 GLenum target,
970 const GLbyte* mailbox) override;
972 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
974 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
975 const GLbyte* mailbox) override;
977 void BindUniformLocationCHROMIUM(GLuint program,
978 GLint location,
979 const char* name) override;
981 void GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) override;
983 void DeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers) override;
985 GLboolean IsValuebufferCHROMIUM(GLuint valuebuffer) override;
987 void BindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer) override;
989 void SubscribeValueCHROMIUM(GLenum target, GLenum subscription) override;
991 void PopulateSubscribedValuesCHROMIUM(GLenum target) override;
993 void UniformValuebufferCHROMIUM(GLint location,
994 GLenum target,
995 GLenum subscription) override;
997 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
999 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
1001 void TraceBeginCHROMIUM(const char* category_name,
1002 const char* trace_name) override;
1004 void TraceEndCHROMIUM() override;
1006 void AsyncTexSubImage2DCHROMIUM(GLenum target,
1007 GLint level,
1008 GLint xoffset,
1009 GLint yoffset,
1010 GLsizei width,
1011 GLsizei height,
1012 GLenum format,
1013 GLenum type,
1014 const void* data) override;
1016 void AsyncTexImage2DCHROMIUM(GLenum target,
1017 GLint level,
1018 GLenum internalformat,
1019 GLsizei width,
1020 GLsizei height,
1021 GLint border,
1022 GLenum format,
1023 GLenum type,
1024 const void* pixels) override;
1026 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override;
1028 void WaitAllAsyncTexImage2DCHROMIUM() override;
1030 void DiscardFramebufferEXT(GLenum target,
1031 GLsizei count,
1032 const GLenum* attachments) override;
1034 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
1036 GLuint InsertSyncPointCHROMIUM() override;
1038 void WaitSyncPointCHROMIUM(GLuint sync_point) override;
1040 void DrawBuffersEXT(GLsizei count, const GLenum* bufs) override;
1042 void DiscardBackbufferCHROMIUM() override;
1044 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
1045 GLenum plane_transform,
1046 GLuint overlay_texture_id,
1047 GLint bounds_x,
1048 GLint bounds_y,
1049 GLint bounds_width,
1050 GLint bounds_height,
1051 GLfloat uv_x,
1052 GLfloat uv_y,
1053 GLfloat uv_width,
1054 GLfloat uv_height) override;
1056 void SwapInterval(GLint interval) override;
1058 void FlushDriverCachesCHROMIUM() override;
1060 void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) override;
1062 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) override;
1064 GLuint GenPathsCHROMIUM(GLsizei range) override;
1066 void DeletePathsCHROMIUM(GLuint path, GLsizei range) override;
1068 GLboolean IsPathCHROMIUM(GLuint path) override;
1070 void PathCommandsCHROMIUM(GLuint path,
1071 GLsizei numCommands,
1072 const GLubyte* commands,
1073 GLsizei numCoords,
1074 GLenum coordType,
1075 const GLvoid* coords) override;
1077 void PathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value) override;
1079 void PathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value) override;
1081 void PathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask) override;
1083 void StencilFillPathCHROMIUM(GLuint path,
1084 GLenum fillMode,
1085 GLuint mask) override;
1087 void StencilStrokePathCHROMIUM(GLuint path,
1088 GLint reference,
1089 GLuint mask) override;
1091 void CoverFillPathCHROMIUM(GLuint path, GLenum coverMode) override;
1093 void CoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) override;
1095 void StencilThenCoverFillPathCHROMIUM(GLuint path,
1096 GLenum fillMode,
1097 GLuint mask,
1098 GLenum coverMode) override;
1100 void StencilThenCoverStrokePathCHROMIUM(GLuint path,
1101 GLint reference,
1102 GLuint mask,
1103 GLenum coverMode) override;
1105 GLenum GetGraphicsResetStatusKHR() override;
1107 void BlendBarrierKHR() override;
1109 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_