Supervised user import: Listen for profile creation/deletion
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_implementation_autogen.h
blobb69ac444dd94dd173f1626d15cafc26dc27fe777
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 CopyBufferSubData(GLenum readtarget,
139 GLenum writetarget,
140 GLintptr readoffset,
141 GLintptr writeoffset,
142 GLsizeiptr size) override;
144 void CopyTexImage2D(GLenum target,
145 GLint level,
146 GLenum internalformat,
147 GLint x,
148 GLint y,
149 GLsizei width,
150 GLsizei height,
151 GLint border) override;
153 void CopyTexSubImage2D(GLenum target,
154 GLint level,
155 GLint xoffset,
156 GLint yoffset,
157 GLint x,
158 GLint y,
159 GLsizei width,
160 GLsizei height) override;
162 void CopyTexSubImage3D(GLenum target,
163 GLint level,
164 GLint xoffset,
165 GLint yoffset,
166 GLint zoffset,
167 GLint x,
168 GLint y,
169 GLsizei width,
170 GLsizei height) override;
172 GLuint CreateProgram() override;
174 GLuint CreateShader(GLenum type) override;
176 void CullFace(GLenum mode) override;
178 void DeleteBuffers(GLsizei n, const GLuint* buffers) override;
180 void DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) override;
182 void DeleteProgram(GLuint program) override;
184 void DeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) override;
186 void DeleteSamplers(GLsizei n, const GLuint* samplers) override;
188 void DeleteSync(GLsync sync) override;
190 void DeleteShader(GLuint shader) override;
192 void DeleteTextures(GLsizei n, const GLuint* textures) override;
194 void DeleteTransformFeedbacks(GLsizei n, const GLuint* ids) override;
196 void DepthFunc(GLenum func) override;
198 void DepthMask(GLboolean flag) override;
200 void DepthRangef(GLclampf zNear, GLclampf zFar) override;
202 void DetachShader(GLuint program, GLuint shader) override;
204 void Disable(GLenum cap) override;
206 void DrawArrays(GLenum mode, GLint first, GLsizei count) override;
208 void DrawElements(GLenum mode,
209 GLsizei count,
210 GLenum type,
211 const void* indices) override;
213 void DrawRangeElements(GLenum mode,
214 GLuint start,
215 GLuint end,
216 GLsizei count,
217 GLenum type,
218 const void* indices) override;
220 void Enable(GLenum cap) override;
222 GLsync FenceSync(GLenum condition, GLbitfield flags) override;
224 void Finish() override;
226 void Flush() override;
228 void FramebufferRenderbuffer(GLenum target,
229 GLenum attachment,
230 GLenum renderbuffertarget,
231 GLuint renderbuffer) override;
233 void FramebufferTexture2D(GLenum target,
234 GLenum attachment,
235 GLenum textarget,
236 GLuint texture,
237 GLint level) override;
239 void FramebufferTextureLayer(GLenum target,
240 GLenum attachment,
241 GLuint texture,
242 GLint level,
243 GLint layer) override;
245 void FrontFace(GLenum mode) override;
247 void GenBuffers(GLsizei n, GLuint* buffers) override;
249 void GenerateMipmap(GLenum target) override;
251 void GenFramebuffers(GLsizei n, GLuint* framebuffers) override;
253 void GenRenderbuffers(GLsizei n, GLuint* renderbuffers) override;
255 void GenSamplers(GLsizei n, GLuint* samplers) override;
257 void GenTextures(GLsizei n, GLuint* textures) override;
259 void GenTransformFeedbacks(GLsizei n, GLuint* ids) override;
261 void GetActiveAttrib(GLuint program,
262 GLuint index,
263 GLsizei bufsize,
264 GLsizei* length,
265 GLint* size,
266 GLenum* type,
267 char* name) override;
269 void GetActiveUniform(GLuint program,
270 GLuint index,
271 GLsizei bufsize,
272 GLsizei* length,
273 GLint* size,
274 GLenum* type,
275 char* name) override;
277 void GetActiveUniformBlockiv(GLuint program,
278 GLuint index,
279 GLenum pname,
280 GLint* params) override;
282 void GetActiveUniformBlockName(GLuint program,
283 GLuint index,
284 GLsizei bufsize,
285 GLsizei* length,
286 char* name) override;
288 void GetActiveUniformsiv(GLuint program,
289 GLsizei count,
290 const GLuint* indices,
291 GLenum pname,
292 GLint* params) override;
294 void GetAttachedShaders(GLuint program,
295 GLsizei maxcount,
296 GLsizei* count,
297 GLuint* shaders) override;
299 GLint GetAttribLocation(GLuint program, const char* name) override;
301 void GetBooleanv(GLenum pname, GLboolean* params) override;
303 void GetBufferParameteriv(GLenum target, GLenum pname, GLint* params) override;
305 GLenum GetError() override;
307 void GetFloatv(GLenum pname, GLfloat* params) override;
309 GLint GetFragDataLocation(GLuint program, const char* name) override;
311 void GetFramebufferAttachmentParameteriv(GLenum target,
312 GLenum attachment,
313 GLenum pname,
314 GLint* params) override;
316 void GetInteger64v(GLenum pname, GLint64* params) override;
318 void GetIntegeri_v(GLenum pname, GLuint index, GLint* data) override;
320 void GetInteger64i_v(GLenum pname, GLuint index, GLint64* data) override;
322 void GetIntegerv(GLenum pname, GLint* params) override;
324 void GetInternalformativ(GLenum target,
325 GLenum format,
326 GLenum pname,
327 GLsizei bufSize,
328 GLint* params) override;
330 void GetProgramiv(GLuint program, GLenum pname, GLint* params) override;
332 void GetProgramInfoLog(GLuint program,
333 GLsizei bufsize,
334 GLsizei* length,
335 char* infolog) override;
337 void GetRenderbufferParameteriv(GLenum target,
338 GLenum pname,
339 GLint* params) override;
341 void GetSamplerParameterfv(GLuint sampler,
342 GLenum pname,
343 GLfloat* params) override;
345 void GetSamplerParameteriv(GLuint sampler,
346 GLenum pname,
347 GLint* params) override;
349 void GetShaderiv(GLuint shader, GLenum pname, GLint* params) override;
351 void GetShaderInfoLog(GLuint shader,
352 GLsizei bufsize,
353 GLsizei* length,
354 char* infolog) override;
356 void GetShaderPrecisionFormat(GLenum shadertype,
357 GLenum precisiontype,
358 GLint* range,
359 GLint* precision) override;
361 void GetShaderSource(GLuint shader,
362 GLsizei bufsize,
363 GLsizei* length,
364 char* source) override;
366 const GLubyte* GetString(GLenum name) override;
368 void GetSynciv(GLsync sync,
369 GLenum pname,
370 GLsizei bufsize,
371 GLsizei* length,
372 GLint* values) override;
374 void GetTexParameterfv(GLenum target, GLenum pname, GLfloat* params) override;
376 void GetTexParameteriv(GLenum target, GLenum pname, GLint* params) override;
378 void GetTransformFeedbackVarying(GLuint program,
379 GLuint index,
380 GLsizei bufsize,
381 GLsizei* length,
382 GLsizei* size,
383 GLenum* type,
384 char* name) override;
386 GLuint GetUniformBlockIndex(GLuint program, const char* name) override;
388 void GetUniformfv(GLuint program, GLint location, GLfloat* params) override;
390 void GetUniformiv(GLuint program, GLint location, GLint* params) override;
392 void GetUniformIndices(GLuint program,
393 GLsizei count,
394 const char* const* names,
395 GLuint* indices) override;
397 GLint GetUniformLocation(GLuint program, const char* name) override;
399 void GetVertexAttribPointerv(GLuint index,
400 GLenum pname,
401 void** pointer) override;
403 void Hint(GLenum target, GLenum mode) override;
405 void InvalidateFramebuffer(GLenum target,
406 GLsizei count,
407 const GLenum* attachments) override;
409 void InvalidateSubFramebuffer(GLenum target,
410 GLsizei count,
411 const GLenum* attachments,
412 GLint x,
413 GLint y,
414 GLsizei width,
415 GLsizei height) override;
417 GLboolean IsBuffer(GLuint buffer) override;
419 GLboolean IsEnabled(GLenum cap) override;
421 GLboolean IsFramebuffer(GLuint framebuffer) override;
423 GLboolean IsProgram(GLuint program) override;
425 GLboolean IsRenderbuffer(GLuint renderbuffer) override;
427 GLboolean IsSampler(GLuint sampler) override;
429 GLboolean IsShader(GLuint shader) override;
431 GLboolean IsSync(GLsync sync) override;
433 GLboolean IsTexture(GLuint texture) override;
435 GLboolean IsTransformFeedback(GLuint transformfeedback) override;
437 void LineWidth(GLfloat width) override;
439 void LinkProgram(GLuint program) override;
441 void PauseTransformFeedback() override;
443 void PixelStorei(GLenum pname, GLint param) override;
445 void PolygonOffset(GLfloat factor, GLfloat units) override;
447 void ReadBuffer(GLenum src) override;
449 void ReadPixels(GLint x,
450 GLint y,
451 GLsizei width,
452 GLsizei height,
453 GLenum format,
454 GLenum type,
455 void* pixels) override;
457 void ReleaseShaderCompiler() override;
459 void RenderbufferStorage(GLenum target,
460 GLenum internalformat,
461 GLsizei width,
462 GLsizei height) override;
464 void ResumeTransformFeedback() override;
466 void SampleCoverage(GLclampf value, GLboolean invert) override;
468 void SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) override;
470 void SamplerParameterfv(GLuint sampler,
471 GLenum pname,
472 const GLfloat* params) override;
474 void SamplerParameteri(GLuint sampler, GLenum pname, GLint param) override;
476 void SamplerParameteriv(GLuint sampler,
477 GLenum pname,
478 const GLint* params) override;
480 void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) override;
482 void ShaderBinary(GLsizei n,
483 const GLuint* shaders,
484 GLenum binaryformat,
485 const void* binary,
486 GLsizei length) override;
488 void ShaderSource(GLuint shader,
489 GLsizei count,
490 const GLchar* const* str,
491 const GLint* length) override;
493 void ShallowFinishCHROMIUM() override;
495 void ShallowFlushCHROMIUM() override;
497 void OrderingBarrierCHROMIUM() override;
499 void StencilFunc(GLenum func, GLint ref, GLuint mask) override;
501 void StencilFuncSeparate(GLenum face,
502 GLenum func,
503 GLint ref,
504 GLuint mask) override;
506 void StencilMask(GLuint mask) override;
508 void StencilMaskSeparate(GLenum face, GLuint mask) override;
510 void StencilOp(GLenum fail, GLenum zfail, GLenum zpass) override;
512 void StencilOpSeparate(GLenum face,
513 GLenum fail,
514 GLenum zfail,
515 GLenum zpass) override;
517 void TexImage2D(GLenum target,
518 GLint level,
519 GLint internalformat,
520 GLsizei width,
521 GLsizei height,
522 GLint border,
523 GLenum format,
524 GLenum type,
525 const void* pixels) override;
527 void TexImage3D(GLenum target,
528 GLint level,
529 GLint internalformat,
530 GLsizei width,
531 GLsizei height,
532 GLsizei depth,
533 GLint border,
534 GLenum format,
535 GLenum type,
536 const void* pixels) override;
538 void TexParameterf(GLenum target, GLenum pname, GLfloat param) override;
540 void TexParameterfv(GLenum target,
541 GLenum pname,
542 const GLfloat* params) override;
544 void TexParameteri(GLenum target, GLenum pname, GLint param) override;
546 void TexParameteriv(GLenum target, GLenum pname, const GLint* params) override;
548 void TexStorage3D(GLenum target,
549 GLsizei levels,
550 GLenum internalFormat,
551 GLsizei width,
552 GLsizei height,
553 GLsizei depth) override;
555 void TexSubImage2D(GLenum target,
556 GLint level,
557 GLint xoffset,
558 GLint yoffset,
559 GLsizei width,
560 GLsizei height,
561 GLenum format,
562 GLenum type,
563 const void* pixels) override;
565 void TexSubImage3D(GLenum target,
566 GLint level,
567 GLint xoffset,
568 GLint yoffset,
569 GLint zoffset,
570 GLsizei width,
571 GLsizei height,
572 GLsizei depth,
573 GLenum format,
574 GLenum type,
575 const void* pixels) override;
577 void TransformFeedbackVaryings(GLuint program,
578 GLsizei count,
579 const char* const* varyings,
580 GLenum buffermode) override;
582 void Uniform1f(GLint location, GLfloat x) override;
584 void Uniform1fv(GLint location, GLsizei count, const GLfloat* v) override;
586 void Uniform1i(GLint location, GLint x) override;
588 void Uniform1iv(GLint location, GLsizei count, const GLint* v) override;
590 void Uniform1ui(GLint location, GLuint x) override;
592 void Uniform1uiv(GLint location, GLsizei count, const GLuint* v) override;
594 void Uniform2f(GLint location, GLfloat x, GLfloat y) override;
596 void Uniform2fv(GLint location, GLsizei count, const GLfloat* v) override;
598 void Uniform2i(GLint location, GLint x, GLint y) override;
600 void Uniform2iv(GLint location, GLsizei count, const GLint* v) override;
602 void Uniform2ui(GLint location, GLuint x, GLuint y) override;
604 void Uniform2uiv(GLint location, GLsizei count, const GLuint* v) override;
606 void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) override;
608 void Uniform3fv(GLint location, GLsizei count, const GLfloat* v) override;
610 void Uniform3i(GLint location, GLint x, GLint y, GLint z) override;
612 void Uniform3iv(GLint location, GLsizei count, const GLint* v) override;
614 void Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) override;
616 void Uniform3uiv(GLint location, GLsizei count, const GLuint* v) override;
618 void Uniform4f(GLint location,
619 GLfloat x,
620 GLfloat y,
621 GLfloat z,
622 GLfloat w) override;
624 void Uniform4fv(GLint location, GLsizei count, const GLfloat* v) override;
626 void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) override;
628 void Uniform4iv(GLint location, GLsizei count, const GLint* v) override;
630 void Uniform4ui(GLint location,
631 GLuint x,
632 GLuint y,
633 GLuint z,
634 GLuint w) override;
636 void Uniform4uiv(GLint location, GLsizei count, const GLuint* v) override;
638 void UniformBlockBinding(GLuint program, GLuint index, GLuint binding) override;
640 void UniformMatrix2fv(GLint location,
641 GLsizei count,
642 GLboolean transpose,
643 const GLfloat* value) override;
645 void UniformMatrix2x3fv(GLint location,
646 GLsizei count,
647 GLboolean transpose,
648 const GLfloat* value) override;
650 void UniformMatrix2x4fv(GLint location,
651 GLsizei count,
652 GLboolean transpose,
653 const GLfloat* value) override;
655 void UniformMatrix3fv(GLint location,
656 GLsizei count,
657 GLboolean transpose,
658 const GLfloat* value) override;
660 void UniformMatrix3x2fv(GLint location,
661 GLsizei count,
662 GLboolean transpose,
663 const GLfloat* value) override;
665 void UniformMatrix3x4fv(GLint location,
666 GLsizei count,
667 GLboolean transpose,
668 const GLfloat* value) override;
670 void UniformMatrix4fv(GLint location,
671 GLsizei count,
672 GLboolean transpose,
673 const GLfloat* value) override;
675 void UniformMatrix4x2fv(GLint location,
676 GLsizei count,
677 GLboolean transpose,
678 const GLfloat* value) override;
680 void UniformMatrix4x3fv(GLint location,
681 GLsizei count,
682 GLboolean transpose,
683 const GLfloat* value) override;
685 void UseProgram(GLuint program) override;
687 void ValidateProgram(GLuint program) override;
689 void VertexAttrib1f(GLuint indx, GLfloat x) override;
691 void VertexAttrib1fv(GLuint indx, const GLfloat* values) override;
693 void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) override;
695 void VertexAttrib2fv(GLuint indx, const GLfloat* values) override;
697 void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) override;
699 void VertexAttrib3fv(GLuint indx, const GLfloat* values) override;
701 void VertexAttrib4f(GLuint indx,
702 GLfloat x,
703 GLfloat y,
704 GLfloat z,
705 GLfloat w) override;
707 void VertexAttrib4fv(GLuint indx, const GLfloat* values) override;
709 void VertexAttribI4i(GLuint indx, GLint x, GLint y, GLint z, GLint w) override;
711 void VertexAttribI4iv(GLuint indx, const GLint* values) override;
713 void VertexAttribI4ui(GLuint indx,
714 GLuint x,
715 GLuint y,
716 GLuint z,
717 GLuint w) override;
719 void VertexAttribI4uiv(GLuint indx, const GLuint* values) override;
721 void VertexAttribIPointer(GLuint indx,
722 GLint size,
723 GLenum type,
724 GLsizei stride,
725 const void* ptr) override;
727 void VertexAttribPointer(GLuint indx,
728 GLint size,
729 GLenum type,
730 GLboolean normalized,
731 GLsizei stride,
732 const void* ptr) override;
734 void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) override;
736 void WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) override;
738 void BlitFramebufferCHROMIUM(GLint srcX0,
739 GLint srcY0,
740 GLint srcX1,
741 GLint srcY1,
742 GLint dstX0,
743 GLint dstY0,
744 GLint dstX1,
745 GLint dstY1,
746 GLbitfield mask,
747 GLenum filter) override;
749 void RenderbufferStorageMultisampleCHROMIUM(GLenum target,
750 GLsizei samples,
751 GLenum internalformat,
752 GLsizei width,
753 GLsizei height) override;
755 void RenderbufferStorageMultisampleEXT(GLenum target,
756 GLsizei samples,
757 GLenum internalformat,
758 GLsizei width,
759 GLsizei height) override;
761 void FramebufferTexture2DMultisampleEXT(GLenum target,
762 GLenum attachment,
763 GLenum textarget,
764 GLuint texture,
765 GLint level,
766 GLsizei samples) override;
768 void TexStorage2DEXT(GLenum target,
769 GLsizei levels,
770 GLenum internalFormat,
771 GLsizei width,
772 GLsizei height) override;
774 void GenQueriesEXT(GLsizei n, GLuint* queries) override;
776 void DeleteQueriesEXT(GLsizei n, const GLuint* queries) override;
778 GLboolean IsQueryEXT(GLuint id) override;
780 void BeginQueryEXT(GLenum target, GLuint id) override;
782 void BeginTransformFeedback(GLenum primitivemode) override;
784 void EndQueryEXT(GLenum target) override;
786 void EndTransformFeedback() override;
788 void GetQueryivEXT(GLenum target, GLenum pname, GLint* params) override;
790 void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) override;
792 void InsertEventMarkerEXT(GLsizei length, const GLchar* marker) override;
794 void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) override;
796 void PopGroupMarkerEXT() override;
798 void GenVertexArraysOES(GLsizei n, GLuint* arrays) override;
800 void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) override;
802 GLboolean IsVertexArrayOES(GLuint array) override;
804 void BindVertexArrayOES(GLuint array) override;
806 void SwapBuffers() override;
808 GLuint GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
809 GLsizei count,
810 GLenum type,
811 GLuint offset) override;
813 GLboolean EnableFeatureCHROMIUM(const char* feature) override;
815 void* MapBufferCHROMIUM(GLuint target, GLenum access) override;
817 GLboolean UnmapBufferCHROMIUM(GLuint target) override;
819 void* MapBufferSubDataCHROMIUM(GLuint target,
820 GLintptr offset,
821 GLsizeiptr size,
822 GLenum access) override;
824 void UnmapBufferSubDataCHROMIUM(const void* mem) override;
826 void* MapBufferRange(GLenum target,
827 GLintptr offset,
828 GLsizeiptr size,
829 GLbitfield access) override;
831 GLboolean UnmapBuffer(GLenum target) override;
833 void* MapTexSubImage2DCHROMIUM(GLenum target,
834 GLint level,
835 GLint xoffset,
836 GLint yoffset,
837 GLsizei width,
838 GLsizei height,
839 GLenum format,
840 GLenum type,
841 GLenum access) override;
843 void UnmapTexSubImage2DCHROMIUM(const void* mem) override;
845 void ResizeCHROMIUM(GLuint width, GLuint height, GLfloat scale_factor) override;
847 const GLchar* GetRequestableExtensionsCHROMIUM() override;
849 void RequestExtensionCHROMIUM(const char* extension) override;
851 void RateLimitOffscreenContextCHROMIUM() override;
853 void GetProgramInfoCHROMIUM(GLuint program,
854 GLsizei bufsize,
855 GLsizei* size,
856 void* info) override;
858 void GetUniformBlocksCHROMIUM(GLuint program,
859 GLsizei bufsize,
860 GLsizei* size,
861 void* info) override;
863 void GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
864 GLsizei bufsize,
865 GLsizei* size,
866 void* info) override;
868 void GetUniformsES3CHROMIUM(GLuint program,
869 GLsizei bufsize,
870 GLsizei* size,
871 void* info) override;
873 GLuint CreateStreamTextureCHROMIUM(GLuint texture) override;
875 GLuint CreateImageCHROMIUM(ClientBuffer buffer,
876 GLsizei width,
877 GLsizei height,
878 GLenum internalformat) override;
880 void DestroyImageCHROMIUM(GLuint image_id) override;
882 GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
883 GLsizei height,
884 GLenum internalformat,
885 GLenum usage) override;
887 void GetTranslatedShaderSourceANGLE(GLuint shader,
888 GLsizei bufsize,
889 GLsizei* length,
890 char* source) override;
892 void PostSubBufferCHROMIUM(GLint x,
893 GLint y,
894 GLint width,
895 GLint height) override;
897 void TexImageIOSurface2DCHROMIUM(GLenum target,
898 GLsizei width,
899 GLsizei height,
900 GLuint ioSurfaceId,
901 GLuint plane) override;
903 void CopyTextureCHROMIUM(GLenum target,
904 GLenum source_id,
905 GLenum dest_id,
906 GLint internalformat,
907 GLenum dest_type) override;
909 void CopySubTextureCHROMIUM(GLenum target,
910 GLenum source_id,
911 GLenum dest_id,
912 GLint xoffset,
913 GLint yoffset) override;
915 void DrawArraysInstancedANGLE(GLenum mode,
916 GLint first,
917 GLsizei count,
918 GLsizei primcount) override;
920 void DrawElementsInstancedANGLE(GLenum mode,
921 GLsizei count,
922 GLenum type,
923 const void* indices,
924 GLsizei primcount) override;
926 void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) override;
928 void GenMailboxCHROMIUM(GLbyte* mailbox) override;
930 void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
932 void ProduceTextureDirectCHROMIUM(GLuint texture,
933 GLenum target,
934 const GLbyte* mailbox) override;
936 void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) override;
938 GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
939 const GLbyte* mailbox) override;
941 void BindUniformLocationCHROMIUM(GLuint program,
942 GLint location,
943 const char* name) override;
945 void GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) override;
947 void DeleteValuebuffersCHROMIUM(GLsizei n, const GLuint* valuebuffers) override;
949 GLboolean IsValuebufferCHROMIUM(GLuint valuebuffer) override;
951 void BindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer) override;
953 void SubscribeValueCHROMIUM(GLenum target, GLenum subscription) override;
955 void PopulateSubscribedValuesCHROMIUM(GLenum target) override;
957 void UniformValuebufferCHROMIUM(GLint location,
958 GLenum target,
959 GLenum subscription) override;
961 void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
963 void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) override;
965 void TraceBeginCHROMIUM(const char* category_name,
966 const char* trace_name) override;
968 void TraceEndCHROMIUM() override;
970 void AsyncTexSubImage2DCHROMIUM(GLenum target,
971 GLint level,
972 GLint xoffset,
973 GLint yoffset,
974 GLsizei width,
975 GLsizei height,
976 GLenum format,
977 GLenum type,
978 const void* data) override;
980 void AsyncTexImage2DCHROMIUM(GLenum target,
981 GLint level,
982 GLenum internalformat,
983 GLsizei width,
984 GLsizei height,
985 GLint border,
986 GLenum format,
987 GLenum type,
988 const void* pixels) override;
990 void WaitAsyncTexImage2DCHROMIUM(GLenum target) override;
992 void WaitAllAsyncTexImage2DCHROMIUM() override;
994 void DiscardFramebufferEXT(GLenum target,
995 GLsizei count,
996 const GLenum* attachments) override;
998 void LoseContextCHROMIUM(GLenum current, GLenum other) override;
1000 GLuint InsertSyncPointCHROMIUM() override;
1002 void WaitSyncPointCHROMIUM(GLuint sync_point) override;
1004 void DrawBuffersEXT(GLsizei count, const GLenum* bufs) override;
1006 void DiscardBackbufferCHROMIUM() override;
1008 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
1009 GLenum plane_transform,
1010 GLuint overlay_texture_id,
1011 GLint bounds_x,
1012 GLint bounds_y,
1013 GLint bounds_width,
1014 GLint bounds_height,
1015 GLfloat uv_x,
1016 GLfloat uv_y,
1017 GLfloat uv_width,
1018 GLfloat uv_height) override;
1020 void SwapInterval(GLint interval) override;
1022 void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) override;
1024 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) override;
1026 void BlendBarrierKHR() override;
1028 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_AUTOGEN_H_