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
11 // This file is included by gles2_interface.h to declare the
13 #ifndef MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_
14 #define MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_
16 #include "gpu/command_buffer/client/gles2_interface.h"
17 #include "third_party/mojo/src/mojo/public/c/gles2/gles2.h"
21 class MojoGLES2Impl
: public gpu::gles2::GLES2Interface
{
23 explicit MojoGLES2Impl(MojoGLES2Context context
) { context_
= context
; }
24 ~MojoGLES2Impl() override
{}
25 void ActiveTexture(GLenum texture
) override
;
26 void AttachShader(GLuint program
, GLuint shader
) override
;
27 void BindAttribLocation(GLuint program
,
29 const char* name
) override
;
30 void BindBuffer(GLenum target
, GLuint buffer
) override
;
31 void BindBufferBase(GLenum target
, GLuint index
, GLuint buffer
) override
;
32 void BindBufferRange(GLenum target
,
36 GLsizeiptr size
) override
;
37 void BindFramebuffer(GLenum target
, GLuint framebuffer
) override
;
38 void BindRenderbuffer(GLenum target
, GLuint renderbuffer
) override
;
39 void BindSampler(GLuint unit
, GLuint sampler
) override
;
40 void BindTexture(GLenum target
, GLuint texture
) override
;
41 void BindTransformFeedback(GLenum target
, GLuint transformfeedback
) override
;
42 void BlendColor(GLclampf red
,
45 GLclampf alpha
) override
;
46 void BlendEquation(GLenum mode
) override
;
47 void BlendEquationSeparate(GLenum modeRGB
, GLenum modeAlpha
) override
;
48 void BlendFunc(GLenum sfactor
, GLenum dfactor
) override
;
49 void BlendFuncSeparate(GLenum srcRGB
,
52 GLenum dstAlpha
) override
;
53 void BufferData(GLenum target
,
56 GLenum usage
) override
;
57 void BufferSubData(GLenum target
,
60 const void* data
) override
;
61 GLenum
CheckFramebufferStatus(GLenum target
) override
;
62 void Clear(GLbitfield mask
) override
;
63 void ClearBufferfi(GLenum buffer
,
66 GLint stencil
) override
;
67 void ClearBufferfv(GLenum buffer
,
69 const GLfloat
* value
) override
;
70 void ClearBufferiv(GLenum buffer
,
72 const GLint
* value
) override
;
73 void ClearBufferuiv(GLenum buffer
,
75 const GLuint
* value
) override
;
76 void ClearColor(GLclampf red
,
79 GLclampf alpha
) override
;
80 void ClearDepthf(GLclampf depth
) override
;
81 void ClearStencil(GLint s
) override
;
82 GLenum
ClientWaitSync(GLsync sync
,
84 GLuint64 timeout
) override
;
85 void ColorMask(GLboolean red
,
88 GLboolean alpha
) override
;
89 void CompileShader(GLuint shader
) override
;
90 void CompressedTexImage2D(GLenum target
,
92 GLenum internalformat
,
97 const void* data
) override
;
98 void CompressedTexSubImage2D(GLenum target
,
106 const void* data
) override
;
107 void CompressedTexImage3D(GLenum target
,
109 GLenum internalformat
,
115 const void* data
) override
;
116 void CompressedTexSubImage3D(GLenum target
,
126 const void* data
) override
;
127 void CopyBufferSubData(GLenum readtarget
,
130 GLintptr writeoffset
,
131 GLsizeiptr size
) override
;
132 void CopyTexImage2D(GLenum target
,
134 GLenum internalformat
,
139 GLint border
) override
;
140 void CopyTexSubImage2D(GLenum target
,
147 GLsizei height
) override
;
148 void CopyTexSubImage3D(GLenum target
,
156 GLsizei height
) override
;
157 GLuint
CreateProgram() override
;
158 GLuint
CreateShader(GLenum type
) override
;
159 void CullFace(GLenum mode
) override
;
160 void DeleteBuffers(GLsizei n
, const GLuint
* buffers
) override
;
161 void DeleteFramebuffers(GLsizei n
, const GLuint
* framebuffers
) override
;
162 void DeleteProgram(GLuint program
) override
;
163 void DeleteRenderbuffers(GLsizei n
, const GLuint
* renderbuffers
) override
;
164 void DeleteSamplers(GLsizei n
, const GLuint
* samplers
) override
;
165 void DeleteSync(GLsync sync
) override
;
166 void DeleteShader(GLuint shader
) override
;
167 void DeleteTextures(GLsizei n
, const GLuint
* textures
) override
;
168 void DeleteTransformFeedbacks(GLsizei n
, const GLuint
* ids
) override
;
169 void DepthFunc(GLenum func
) override
;
170 void DepthMask(GLboolean flag
) override
;
171 void DepthRangef(GLclampf zNear
, GLclampf zFar
) override
;
172 void DetachShader(GLuint program
, GLuint shader
) override
;
173 void Disable(GLenum cap
) override
;
174 void DisableVertexAttribArray(GLuint index
) override
;
175 void DrawArrays(GLenum mode
, GLint first
, GLsizei count
) override
;
176 void DrawElements(GLenum mode
,
179 const void* indices
) override
;
180 void DrawRangeElements(GLenum mode
,
185 const void* indices
) override
;
186 void Enable(GLenum cap
) override
;
187 void EnableVertexAttribArray(GLuint index
) override
;
188 GLsync
FenceSync(GLenum condition
, GLbitfield flags
) override
;
189 void Finish() override
;
190 void Flush() override
;
191 void FramebufferRenderbuffer(GLenum target
,
193 GLenum renderbuffertarget
,
194 GLuint renderbuffer
) override
;
195 void FramebufferTexture2D(GLenum target
,
199 GLint level
) override
;
200 void FramebufferTextureLayer(GLenum target
,
204 GLint layer
) override
;
205 void FrontFace(GLenum mode
) override
;
206 void GenBuffers(GLsizei n
, GLuint
* buffers
) override
;
207 void GenerateMipmap(GLenum target
) override
;
208 void GenFramebuffers(GLsizei n
, GLuint
* framebuffers
) override
;
209 void GenRenderbuffers(GLsizei n
, GLuint
* renderbuffers
) override
;
210 void GenSamplers(GLsizei n
, GLuint
* samplers
) override
;
211 void GenTextures(GLsizei n
, GLuint
* textures
) override
;
212 void GenTransformFeedbacks(GLsizei n
, GLuint
* ids
) override
;
213 void GetActiveAttrib(GLuint program
,
219 char* name
) override
;
220 void GetActiveUniform(GLuint program
,
226 char* name
) override
;
227 void GetActiveUniformBlockiv(GLuint program
,
230 GLint
* params
) override
;
231 void GetActiveUniformBlockName(GLuint program
,
235 char* name
) override
;
236 void GetActiveUniformsiv(GLuint program
,
238 const GLuint
* indices
,
240 GLint
* params
) override
;
241 void GetAttachedShaders(GLuint program
,
244 GLuint
* shaders
) override
;
245 GLint
GetAttribLocation(GLuint program
, const char* name
) override
;
246 void GetBooleanv(GLenum pname
, GLboolean
* params
) override
;
247 void GetBufferParameteri64v(GLenum target
,
249 GLint64
* params
) override
;
250 void GetBufferParameteriv(GLenum target
,
252 GLint
* params
) override
;
253 GLenum
GetError() override
;
254 void GetFloatv(GLenum pname
, GLfloat
* params
) override
;
255 GLint
GetFragDataLocation(GLuint program
, const char* name
) override
;
256 void GetFramebufferAttachmentParameteriv(GLenum target
,
259 GLint
* params
) override
;
260 void GetInteger64v(GLenum pname
, GLint64
* params
) override
;
261 void GetIntegeri_v(GLenum pname
, GLuint index
, GLint
* data
) override
;
262 void GetInteger64i_v(GLenum pname
, GLuint index
, GLint64
* data
) override
;
263 void GetIntegerv(GLenum pname
, GLint
* params
) override
;
264 void GetInternalformativ(GLenum target
,
268 GLint
* params
) override
;
269 void GetProgramiv(GLuint program
, GLenum pname
, GLint
* params
) override
;
270 void GetProgramInfoLog(GLuint program
,
273 char* infolog
) override
;
274 void GetRenderbufferParameteriv(GLenum target
,
276 GLint
* params
) override
;
277 void GetSamplerParameterfv(GLuint sampler
,
279 GLfloat
* params
) override
;
280 void GetSamplerParameteriv(GLuint sampler
,
282 GLint
* params
) override
;
283 void GetShaderiv(GLuint shader
, GLenum pname
, GLint
* params
) override
;
284 void GetShaderInfoLog(GLuint shader
,
287 char* infolog
) override
;
288 void GetShaderPrecisionFormat(GLenum shadertype
,
289 GLenum precisiontype
,
291 GLint
* precision
) override
;
292 void GetShaderSource(GLuint shader
,
295 char* source
) override
;
296 const GLubyte
* GetString(GLenum name
) override
;
297 void GetSynciv(GLsync sync
,
301 GLint
* values
) override
;
302 void GetTexParameterfv(GLenum target
, GLenum pname
, GLfloat
* params
) override
;
303 void GetTexParameteriv(GLenum target
, GLenum pname
, GLint
* params
) override
;
304 void GetTransformFeedbackVarying(GLuint program
,
310 char* name
) override
;
311 GLuint
GetUniformBlockIndex(GLuint program
, const char* name
) override
;
312 void GetUniformfv(GLuint program
, GLint location
, GLfloat
* params
) override
;
313 void GetUniformiv(GLuint program
, GLint location
, GLint
* params
) override
;
314 void GetUniformuiv(GLuint program
, GLint location
, GLuint
* params
) override
;
315 void GetUniformIndices(GLuint program
,
317 const char* const* names
,
318 GLuint
* indices
) override
;
319 GLint
GetUniformLocation(GLuint program
, const char* name
) override
;
320 void GetVertexAttribfv(GLuint index
, GLenum pname
, GLfloat
* params
) override
;
321 void GetVertexAttribiv(GLuint index
, GLenum pname
, GLint
* params
) override
;
322 void GetVertexAttribIiv(GLuint index
, GLenum pname
, GLint
* params
) override
;
323 void GetVertexAttribIuiv(GLuint index
, GLenum pname
, GLuint
* params
) override
;
324 void GetVertexAttribPointerv(GLuint index
,
326 void** pointer
) override
;
327 void Hint(GLenum target
, GLenum mode
) override
;
328 void InvalidateFramebuffer(GLenum target
,
330 const GLenum
* attachments
) override
;
331 void InvalidateSubFramebuffer(GLenum target
,
333 const GLenum
* attachments
,
337 GLsizei height
) override
;
338 GLboolean
IsBuffer(GLuint buffer
) override
;
339 GLboolean
IsEnabled(GLenum cap
) override
;
340 GLboolean
IsFramebuffer(GLuint framebuffer
) override
;
341 GLboolean
IsProgram(GLuint program
) override
;
342 GLboolean
IsRenderbuffer(GLuint renderbuffer
) override
;
343 GLboolean
IsSampler(GLuint sampler
) override
;
344 GLboolean
IsShader(GLuint shader
) override
;
345 GLboolean
IsSync(GLsync sync
) override
;
346 GLboolean
IsTexture(GLuint texture
) override
;
347 GLboolean
IsTransformFeedback(GLuint transformfeedback
) override
;
348 void LineWidth(GLfloat width
) override
;
349 void LinkProgram(GLuint program
) override
;
350 void PauseTransformFeedback() override
;
351 void PixelStorei(GLenum pname
, GLint param
) override
;
352 void PolygonOffset(GLfloat factor
, GLfloat units
) override
;
353 void ReadBuffer(GLenum src
) override
;
354 void ReadPixels(GLint x
,
360 void* pixels
) override
;
361 void ReleaseShaderCompiler() override
;
362 void RenderbufferStorage(GLenum target
,
363 GLenum internalformat
,
365 GLsizei height
) override
;
366 void ResumeTransformFeedback() override
;
367 void SampleCoverage(GLclampf value
, GLboolean invert
) override
;
368 void SamplerParameterf(GLuint sampler
, GLenum pname
, GLfloat param
) override
;
369 void SamplerParameterfv(GLuint sampler
,
371 const GLfloat
* params
) override
;
372 void SamplerParameteri(GLuint sampler
, GLenum pname
, GLint param
) override
;
373 void SamplerParameteriv(GLuint sampler
,
375 const GLint
* params
) override
;
376 void Scissor(GLint x
, GLint y
, GLsizei width
, GLsizei height
) override
;
377 void ShaderBinary(GLsizei n
,
378 const GLuint
* shaders
,
381 GLsizei length
) override
;
382 void ShaderSource(GLuint shader
,
384 const GLchar
* const* str
,
385 const GLint
* length
) override
;
386 void ShallowFinishCHROMIUM() override
;
387 void ShallowFlushCHROMIUM() override
;
388 void OrderingBarrierCHROMIUM() override
;
389 void StencilFunc(GLenum func
, GLint ref
, GLuint mask
) override
;
390 void StencilFuncSeparate(GLenum face
,
393 GLuint mask
) override
;
394 void StencilMask(GLuint mask
) override
;
395 void StencilMaskSeparate(GLenum face
, GLuint mask
) override
;
396 void StencilOp(GLenum fail
, GLenum zfail
, GLenum zpass
) override
;
397 void StencilOpSeparate(GLenum face
,
400 GLenum zpass
) override
;
401 void TexImage2D(GLenum target
,
403 GLint internalformat
,
409 const void* pixels
) override
;
410 void TexImage3D(GLenum target
,
412 GLint internalformat
,
419 const void* pixels
) override
;
420 void TexParameterf(GLenum target
, GLenum pname
, GLfloat param
) override
;
421 void TexParameterfv(GLenum target
,
423 const GLfloat
* params
) override
;
424 void TexParameteri(GLenum target
, GLenum pname
, GLint param
) override
;
425 void TexParameteriv(GLenum target
,
427 const GLint
* params
) override
;
428 void TexStorage3D(GLenum target
,
430 GLenum internalFormat
,
433 GLsizei depth
) override
;
434 void TexSubImage2D(GLenum target
,
442 const void* pixels
) override
;
443 void TexSubImage3D(GLenum target
,
453 const void* pixels
) override
;
454 void TransformFeedbackVaryings(GLuint program
,
456 const char* const* varyings
,
457 GLenum buffermode
) override
;
458 void Uniform1f(GLint location
, GLfloat x
) override
;
459 void Uniform1fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
460 void Uniform1i(GLint location
, GLint x
) override
;
461 void Uniform1iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
462 void Uniform1ui(GLint location
, GLuint x
) override
;
463 void Uniform1uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
464 void Uniform2f(GLint location
, GLfloat x
, GLfloat y
) override
;
465 void Uniform2fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
466 void Uniform2i(GLint location
, GLint x
, GLint y
) override
;
467 void Uniform2iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
468 void Uniform2ui(GLint location
, GLuint x
, GLuint y
) override
;
469 void Uniform2uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
470 void Uniform3f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
) override
;
471 void Uniform3fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
472 void Uniform3i(GLint location
, GLint x
, GLint y
, GLint z
) override
;
473 void Uniform3iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
474 void Uniform3ui(GLint location
, GLuint x
, GLuint y
, GLuint z
) override
;
475 void Uniform3uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
476 void Uniform4f(GLint location
,
481 void Uniform4fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
482 void Uniform4i(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
) override
;
483 void Uniform4iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
484 void Uniform4ui(GLint location
,
489 void Uniform4uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
490 void UniformBlockBinding(GLuint program
,
492 GLuint binding
) override
;
493 void UniformMatrix2fv(GLint location
,
496 const GLfloat
* value
) override
;
497 void UniformMatrix2x3fv(GLint location
,
500 const GLfloat
* value
) override
;
501 void UniformMatrix2x4fv(GLint location
,
504 const GLfloat
* value
) override
;
505 void UniformMatrix3fv(GLint location
,
508 const GLfloat
* value
) override
;
509 void UniformMatrix3x2fv(GLint location
,
512 const GLfloat
* value
) override
;
513 void UniformMatrix3x4fv(GLint location
,
516 const GLfloat
* value
) override
;
517 void UniformMatrix4fv(GLint location
,
520 const GLfloat
* value
) override
;
521 void UniformMatrix4x2fv(GLint location
,
524 const GLfloat
* value
) override
;
525 void UniformMatrix4x3fv(GLint location
,
528 const GLfloat
* value
) override
;
529 void UseProgram(GLuint program
) override
;
530 void ValidateProgram(GLuint program
) override
;
531 void VertexAttrib1f(GLuint indx
, GLfloat x
) override
;
532 void VertexAttrib1fv(GLuint indx
, const GLfloat
* values
) override
;
533 void VertexAttrib2f(GLuint indx
, GLfloat x
, GLfloat y
) override
;
534 void VertexAttrib2fv(GLuint indx
, const GLfloat
* values
) override
;
535 void VertexAttrib3f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
) override
;
536 void VertexAttrib3fv(GLuint indx
, const GLfloat
* values
) override
;
537 void VertexAttrib4f(GLuint indx
,
542 void VertexAttrib4fv(GLuint indx
, const GLfloat
* values
) override
;
543 void VertexAttribI4i(GLuint indx
,
548 void VertexAttribI4iv(GLuint indx
, const GLint
* values
) override
;
549 void VertexAttribI4ui(GLuint indx
,
554 void VertexAttribI4uiv(GLuint indx
, const GLuint
* values
) override
;
555 void VertexAttribIPointer(GLuint indx
,
559 const void* ptr
) override
;
560 void VertexAttribPointer(GLuint indx
,
563 GLboolean normalized
,
565 const void* ptr
) override
;
566 void Viewport(GLint x
, GLint y
, GLsizei width
, GLsizei height
) override
;
567 void WaitSync(GLsync sync
, GLbitfield flags
, GLuint64 timeout
) override
;
568 void BlitFramebufferCHROMIUM(GLint srcX0
,
577 GLenum filter
) override
;
578 void RenderbufferStorageMultisampleCHROMIUM(GLenum target
,
580 GLenum internalformat
,
582 GLsizei height
) override
;
583 void RenderbufferStorageMultisampleEXT(GLenum target
,
585 GLenum internalformat
,
587 GLsizei height
) override
;
588 void FramebufferTexture2DMultisampleEXT(GLenum target
,
593 GLsizei samples
) override
;
594 void TexStorage2DEXT(GLenum target
,
596 GLenum internalFormat
,
598 GLsizei height
) override
;
599 void GenQueriesEXT(GLsizei n
, GLuint
* queries
) override
;
600 void DeleteQueriesEXT(GLsizei n
, const GLuint
* queries
) override
;
601 void QueryCounterEXT(GLuint id
, GLenum target
) override
;
602 GLboolean
IsQueryEXT(GLuint id
) override
;
603 void BeginQueryEXT(GLenum target
, GLuint id
) override
;
604 void BeginTransformFeedback(GLenum primitivemode
) override
;
605 void EndQueryEXT(GLenum target
) override
;
606 void EndTransformFeedback() override
;
607 void GetQueryivEXT(GLenum target
, GLenum pname
, GLint
* params
) override
;
608 void GetQueryObjectivEXT(GLuint id
, GLenum pname
, GLint
* params
) override
;
609 void GetQueryObjectuivEXT(GLuint id
, GLenum pname
, GLuint
* params
) override
;
610 void GetQueryObjecti64vEXT(GLuint id
, GLenum pname
, GLint64
* params
) override
;
611 void GetQueryObjectui64vEXT(GLuint id
,
613 GLuint64
* params
) override
;
614 void SetDisjointValueSyncCHROMIUM() override
;
615 void InsertEventMarkerEXT(GLsizei length
, const GLchar
* marker
) override
;
616 void PushGroupMarkerEXT(GLsizei length
, const GLchar
* marker
) override
;
617 void PopGroupMarkerEXT() override
;
618 void GenVertexArraysOES(GLsizei n
, GLuint
* arrays
) override
;
619 void DeleteVertexArraysOES(GLsizei n
, const GLuint
* arrays
) override
;
620 GLboolean
IsVertexArrayOES(GLuint array
) override
;
621 void BindVertexArrayOES(GLuint array
) override
;
622 void SwapBuffers() override
;
623 GLuint
GetMaxValueInBufferCHROMIUM(GLuint buffer_id
,
626 GLuint offset
) override
;
627 GLboolean
EnableFeatureCHROMIUM(const char* feature
) override
;
628 void* MapBufferCHROMIUM(GLuint target
, GLenum access
) override
;
629 GLboolean
UnmapBufferCHROMIUM(GLuint target
) override
;
630 void* MapBufferSubDataCHROMIUM(GLuint target
,
633 GLenum access
) override
;
634 void UnmapBufferSubDataCHROMIUM(const void* mem
) override
;
635 void* MapBufferRange(GLenum target
,
638 GLbitfield access
) override
;
639 GLboolean
UnmapBuffer(GLenum target
) override
;
640 void* MapTexSubImage2DCHROMIUM(GLenum target
,
648 GLenum access
) override
;
649 void UnmapTexSubImage2DCHROMIUM(const void* mem
) override
;
650 void ResizeCHROMIUM(GLuint width
,
652 GLfloat scale_factor
) override
;
653 const GLchar
* GetRequestableExtensionsCHROMIUM() override
;
654 void RequestExtensionCHROMIUM(const char* extension
) override
;
655 void RateLimitOffscreenContextCHROMIUM() override
;
656 void GetProgramInfoCHROMIUM(GLuint program
,
659 void* info
) override
;
660 void GetUniformBlocksCHROMIUM(GLuint program
,
663 void* info
) override
;
664 void GetTransformFeedbackVaryingsCHROMIUM(GLuint program
,
667 void* info
) override
;
668 void GetUniformsES3CHROMIUM(GLuint program
,
671 void* info
) override
;
672 GLuint
CreateStreamTextureCHROMIUM(GLuint texture
) override
;
673 GLuint
CreateImageCHROMIUM(ClientBuffer buffer
,
676 GLenum internalformat
) override
;
677 void DestroyImageCHROMIUM(GLuint image_id
) override
;
678 GLuint
CreateGpuMemoryBufferImageCHROMIUM(GLsizei width
,
680 GLenum internalformat
,
681 GLenum usage
) override
;
682 void GetTranslatedShaderSourceANGLE(GLuint shader
,
685 char* source
) override
;
686 void PostSubBufferCHROMIUM(GLint x
,
689 GLint height
) override
;
690 void TexImageIOSurface2DCHROMIUM(GLenum target
,
694 GLuint plane
) override
;
695 void CopyTextureCHROMIUM(GLenum target
,
698 GLint internalformat
,
700 GLboolean unpack_flip_y
,
701 GLboolean unpack_premultiply_alpha
,
702 GLboolean unpack_unmultiply_alpha
) override
;
703 void CopySubTextureCHROMIUM(GLenum target
,
712 GLboolean unpack_flip_y
,
713 GLboolean unpack_premultiply_alpha
,
714 GLboolean unpack_unmultiply_alpha
) override
;
715 void CompressedCopyTextureCHROMIUM(GLenum target
,
717 GLenum dest_id
) override
;
718 void CompressedCopySubTextureCHROMIUM(GLenum target
,
726 GLsizei height
) override
;
727 void DrawArraysInstancedANGLE(GLenum mode
,
730 GLsizei primcount
) override
;
731 void DrawElementsInstancedANGLE(GLenum mode
,
735 GLsizei primcount
) override
;
736 void VertexAttribDivisorANGLE(GLuint index
, GLuint divisor
) override
;
737 void GenMailboxCHROMIUM(GLbyte
* mailbox
) override
;
738 void ProduceTextureCHROMIUM(GLenum target
, const GLbyte
* mailbox
) override
;
739 void ProduceTextureDirectCHROMIUM(GLuint texture
,
741 const GLbyte
* mailbox
) override
;
742 void ConsumeTextureCHROMIUM(GLenum target
, const GLbyte
* mailbox
) override
;
743 GLuint
CreateAndConsumeTextureCHROMIUM(GLenum target
,
744 const GLbyte
* mailbox
) override
;
745 void BindUniformLocationCHROMIUM(GLuint program
,
747 const char* name
) override
;
748 void GenValuebuffersCHROMIUM(GLsizei n
, GLuint
* buffers
) override
;
749 void DeleteValuebuffersCHROMIUM(GLsizei n
,
750 const GLuint
* valuebuffers
) override
;
751 GLboolean
IsValuebufferCHROMIUM(GLuint valuebuffer
) override
;
752 void BindValuebufferCHROMIUM(GLenum target
, GLuint valuebuffer
) override
;
753 void SubscribeValueCHROMIUM(GLenum target
, GLenum subscription
) override
;
754 void PopulateSubscribedValuesCHROMIUM(GLenum target
) override
;
755 void UniformValuebufferCHROMIUM(GLint location
,
757 GLenum subscription
) override
;
758 void BindTexImage2DCHROMIUM(GLenum target
, GLint imageId
) override
;
759 void ReleaseTexImage2DCHROMIUM(GLenum target
, GLint imageId
) override
;
760 void TraceBeginCHROMIUM(const char* category_name
,
761 const char* trace_name
) override
;
762 void TraceEndCHROMIUM() override
;
763 void DiscardFramebufferEXT(GLenum target
,
765 const GLenum
* attachments
) override
;
766 void LoseContextCHROMIUM(GLenum current
, GLenum other
) override
;
767 GLuint
InsertSyncPointCHROMIUM() override
;
768 void WaitSyncPointCHROMIUM(GLuint sync_point
) override
;
769 void DrawBuffersEXT(GLsizei count
, const GLenum
* bufs
) override
;
770 void DiscardBackbufferCHROMIUM() override
;
771 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order
,
772 GLenum plane_transform
,
773 GLuint overlay_texture_id
,
781 GLfloat uv_height
) override
;
782 void SwapInterval(GLint interval
) override
;
783 void FlushDriverCachesCHROMIUM() override
;
784 void MatrixLoadfCHROMIUM(GLenum matrixMode
, const GLfloat
* m
) override
;
785 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode
) override
;
786 GLuint
GenPathsCHROMIUM(GLsizei range
) override
;
787 void DeletePathsCHROMIUM(GLuint path
, GLsizei range
) override
;
788 GLboolean
IsPathCHROMIUM(GLuint path
) override
;
789 void PathCommandsCHROMIUM(GLuint path
,
791 const GLubyte
* commands
,
794 const GLvoid
* coords
) override
;
795 void PathParameterfCHROMIUM(GLuint path
,
797 GLfloat value
) override
;
798 void PathParameteriCHROMIUM(GLuint path
, GLenum pname
, GLint value
) override
;
799 void PathStencilFuncCHROMIUM(GLenum func
, GLint ref
, GLuint mask
) override
;
800 void StencilFillPathCHROMIUM(GLuint path
,
802 GLuint mask
) override
;
803 void StencilStrokePathCHROMIUM(GLuint path
,
805 GLuint mask
) override
;
806 void CoverFillPathCHROMIUM(GLuint path
, GLenum coverMode
) override
;
807 void CoverStrokePathCHROMIUM(GLuint path
, GLenum coverMode
) override
;
808 void StencilThenCoverFillPathCHROMIUM(GLuint path
,
811 GLenum coverMode
) override
;
812 void StencilThenCoverStrokePathCHROMIUM(GLuint path
,
815 GLenum coverMode
) override
;
816 GLenum
GetGraphicsResetStatusKHR() override
;
817 void BlendBarrierKHR() override
;
820 MojoGLES2Context context_
;
824 #endif // MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_