Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_implementation_autogen.h
blobe1c5718b892a9d69d131938d605564e720b02e8c
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 void QueryCounterEXT(GLuint id, GLenum target) override;
794 GLboolean IsQueryEXT(GLuint id) override;
796 void BeginQueryEXT(GLenum target, GLuint id) override;
798 void BeginTransformFeedback(GLenum primitivemode) override;
800 void EndQueryEXT(GLenum target) override;
802 void EndTransformFeedback() override;
804 void GetQueryivEXT(GLenum target, GLenum pname, GLint* params) override;
806 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override;
808 void GetQueryObjectui64vEXT(GLuint id, GLenum pname, GLuint64* params) override;
810 void InsertEventMarkerEXT(GLsizei length, const GLchar* marker) override;
812 void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) override;
814 void PopGroupMarkerEXT() override;
816 void GenVertexArraysOES(GLsizei n, GLuint* arrays) override;
818 void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) override;
820 GLboolean IsVertexArrayOES(GLuint array) override;
822 void BindVertexArrayOES(GLuint array) override;
824 void SwapBuffers() override;
826 GLuint GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
827 GLsizei count,
828 GLenum type,
829 GLuint offset) override;
831 GLboolean EnableFeatureCHROMIUM(const char* feature) override;
833 void* MapBufferCHROMIUM(GLuint target, GLenum access) override;
835 GLboolean UnmapBufferCHROMIUM(GLuint target) override;
837 void* MapBufferSubDataCHROMIUM(GLuint target,
838 GLintptr offset,
839 GLsizeiptr size,
840 GLenum access) override;
842 void UnmapBufferSubDataCHROMIUM(const void* mem) override;
844 void* MapBufferRange(GLenum target,
845 GLintptr offset,
846 GLsizeiptr size,
847 GLbitfield access) override;
849 GLboolean UnmapBuffer(GLenum target) override;
851 void* MapTexSubImage2DCHROMIUM(GLenum target,
852 GLint level,
853 GLint xoffset,
854 GLint yoffset,
855 GLsizei width,
856 GLsizei height,
857 GLenum format,
858 GLenum type,
859 GLenum access) override;
861 void UnmapTexSubImage2DCHROMIUM(const void* mem) override;
863 void ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) override;
865 const GLchar* GetRequestableExtensionsCHROMIUM() override;
867 void RequestExtensionCHROMIUM(const char* extension) override;
869 void RateLimitOffscreenContextCHROMIUM() override;
871 void GetProgramInfoCHROMIUM(GLuint program,
872 GLsizei bufsize,
873 GLsizei* size,
874 void* info) override;
876 void GetUniformBlocksCHROMIUM(GLuint program,
877 GLsizei bufsize,
878 GLsizei* size,
879 void* info) override;
881 void GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
882 GLsizei bufsize,
883 GLsizei* size,
884 void* info) override;
886 void GetUniformsES3CHROMIUM(GLuint program,
887 GLsizei bufsize,
888 GLsizei* size,
889 void* info) override;
891 GLuint CreateStreamTextureCHROMIUM(GLuint texture) override;
893 GLuint CreateImageCHROMIUM(ClientBuffer buffer,
894 GLsizei width,
895 GLsizei height,
896 GLenum internalformat) override;
898 void DestroyImageCHROMIUM(GLuint image_id) override;
900 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
901 GLsizei height,
902 GLenum internalformat,
903 GLenum usage) override;
905 void GetTranslatedShaderSourceANGLE(GLuint shader,
906 GLsizei bufsize,
907 GLsizei* length,
908 char* source) override;
910 void PostSubBufferCHROMIUM(GLint x,
911 GLint y,
912 GLint width,
913 GLint height) override;
915 void TexImageIOSurface2DCHROMIUM(GLenum target,
916 GLsizei width,
917 GLsizei height,
918 GLuint ioSurfaceId,
919 GLuint plane) override;
921 void CopyTextureCHROMIUM(GLenum target,
922 GLenum source_id,
923 GLenum dest_id,
924 GLint internalformat,
925 GLenum dest_type,
926 GLboolean unpack_flip_y,
927 GLboolean unpack_premultiply_alpha,
928 GLboolean unpack_unmultiply_alpha) override;
930 void CopySubTextureCHROMIUM(GLenum target,
931 GLenum source_id,
932 GLenum dest_id,
933 GLint xoffset,
934 GLint yoffset,
935 GLint x,
936 GLint y,
937 GLsizei width,
938 GLsizei height,
939 GLboolean unpack_flip_y,
940 GLboolean unpack_premultiply_alpha,
941 GLboolean unpack_unmultiply_alpha) override;
943 void CompressedCopyTextureCHROMIUM(GLenum target,
944 GLenum source_id,
945 GLenum dest_id) override;
947 void DrawArraysInstancedANGLE(GLenum mode,
948 GLint first,
949 GLsizei count,
950 GLsizei primcount) override;
952 void DrawElementsInstancedANGLE(GLenum mode,
953 GLsizei count,
954 GLenum type,
955 const void* indices,
956 GLsizei primcount) override;
958 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) override;
960 void GenMailboxCHROMIUM(GLbyte* mailbox) override;
962 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
964 void ProduceTextureDirectCHROMIUM(GLuint texture,
965 GLenum target,
966 const GLbyte* mailbox) override;
968 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
970 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
971 const GLbyte* mailbox) override;
973 void BindUniformLocationCHROMIUM(GLuint program,
974 GLint location,
975 const char* name) override;
977 void GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) override;
979 void DeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers) override;
981 GLboolean IsValuebufferCHROMIUM(GLuint valuebuffer) override;
983 void BindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer) override;
985 void SubscribeValueCHROMIUM(GLenum target, GLenum subscription) override;
987 void PopulateSubscribedValuesCHROMIUM(GLenum target) override;
989 void UniformValuebufferCHROMIUM(GLint location,
990 GLenum target,
991 GLenum subscription) override;
993 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
995 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
997 void TraceBeginCHROMIUM(const char* category_name,
998 const char* trace_name) override;
1000 void TraceEndCHROMIUM() override;
1002 void AsyncTexSubImage2DCHROMIUM(GLenum target,
1003 GLint level,
1004 GLint xoffset,
1005 GLint yoffset,
1006 GLsizei width,
1007 GLsizei height,
1008 GLenum format,
1009 GLenum type,
1010 const void* data) override;
1012 void AsyncTexImage2DCHROMIUM(GLenum target,
1013 GLint level,
1014 GLenum internalformat,
1015 GLsizei width,
1016 GLsizei height,
1017 GLint border,
1018 GLenum format,
1019 GLenum type,
1020 const void* pixels) override;
1022 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override;
1024 void WaitAllAsyncTexImage2DCHROMIUM() override;
1026 void DiscardFramebufferEXT(GLenum target,
1027 GLsizei count,
1028 const GLenum* attachments) override;
1030 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
1032 GLuint InsertSyncPointCHROMIUM() override;
1034 void WaitSyncPointCHROMIUM(GLuint sync_point) override;
1036 void DrawBuffersEXT(GLsizei count, const GLenum* bufs) override;
1038 void DiscardBackbufferCHROMIUM() override;
1040 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
1041 GLenum plane_transform,
1042 GLuint overlay_texture_id,
1043 GLint bounds_x,
1044 GLint bounds_y,
1045 GLint bounds_width,
1046 GLint bounds_height,
1047 GLfloat uv_x,
1048 GLfloat uv_y,
1049 GLfloat uv_width,
1050 GLfloat uv_height) override;
1052 void SwapInterval(GLint interval) override;
1054 void FlushDriverCachesCHROMIUM() override;
1056 void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) override;
1058 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) override;
1060 GLuint GenPathsCHROMIUM(GLsizei range) override;
1062 void DeletePathsCHROMIUM(GLuint path, GLsizei range) override;
1064 GLboolean IsPathCHROMIUM(GLuint path) override;
1066 void PathCommandsCHROMIUM(GLuint path,
1067 GLsizei numCommands,
1068 const GLubyte* commands,
1069 GLsizei numCoords,
1070 GLenum coordType,
1071 const GLvoid* coords) override;
1073 void PathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value) override;
1075 void PathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value) override;
1077 void PathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask) override;
1079 void StencilFillPathCHROMIUM(GLuint path,
1080 GLenum fillMode,
1081 GLuint mask) override;
1083 void StencilStrokePathCHROMIUM(GLuint path,
1084 GLint reference,
1085 GLuint mask) override;
1087 void CoverFillPathCHROMIUM(GLuint path, GLenum coverMode) override;
1089 void CoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) override;
1091 void StencilThenCoverFillPathCHROMIUM(GLuint path,
1092 GLenum fillMode,
1093 GLuint mask,
1094 GLenum coverMode) override;
1096 void StencilThenCoverStrokePathCHROMIUM(GLuint path,
1097 GLint reference,
1098 GLuint mask,
1099 GLenum coverMode) override;
1101 GLenum GetGraphicsResetStatusKHR() override;
1103 void BlendBarrierKHR() override;
1105 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_