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 GetBufferParameteriv(GLenum target
,
249 GLint
* params
) override
;
250 GLenum
GetError() override
;
251 void GetFloatv(GLenum pname
, GLfloat
* params
) override
;
252 GLint
GetFragDataLocation(GLuint program
, const char* name
) override
;
253 void GetFramebufferAttachmentParameteriv(GLenum target
,
256 GLint
* params
) override
;
257 void GetInteger64v(GLenum pname
, GLint64
* params
) override
;
258 void GetIntegeri_v(GLenum pname
, GLuint index
, GLint
* data
) override
;
259 void GetInteger64i_v(GLenum pname
, GLuint index
, GLint64
* data
) override
;
260 void GetIntegerv(GLenum pname
, GLint
* params
) override
;
261 void GetInternalformativ(GLenum target
,
265 GLint
* params
) override
;
266 void GetProgramiv(GLuint program
, GLenum pname
, GLint
* params
) override
;
267 void GetProgramInfoLog(GLuint program
,
270 char* infolog
) override
;
271 void GetRenderbufferParameteriv(GLenum target
,
273 GLint
* params
) override
;
274 void GetSamplerParameterfv(GLuint sampler
,
276 GLfloat
* params
) override
;
277 void GetSamplerParameteriv(GLuint sampler
,
279 GLint
* params
) override
;
280 void GetShaderiv(GLuint shader
, GLenum pname
, GLint
* params
) override
;
281 void GetShaderInfoLog(GLuint shader
,
284 char* infolog
) override
;
285 void GetShaderPrecisionFormat(GLenum shadertype
,
286 GLenum precisiontype
,
288 GLint
* precision
) override
;
289 void GetShaderSource(GLuint shader
,
292 char* source
) override
;
293 const GLubyte
* GetString(GLenum name
) override
;
294 void GetSynciv(GLsync sync
,
298 GLint
* values
) override
;
299 void GetTexParameterfv(GLenum target
, GLenum pname
, GLfloat
* params
) override
;
300 void GetTexParameteriv(GLenum target
, GLenum pname
, GLint
* params
) override
;
301 void GetTransformFeedbackVarying(GLuint program
,
307 char* name
) override
;
308 GLuint
GetUniformBlockIndex(GLuint program
, const char* name
) override
;
309 void GetUniformfv(GLuint program
, GLint location
, GLfloat
* params
) override
;
310 void GetUniformiv(GLuint program
, GLint location
, GLint
* params
) override
;
311 void GetUniformuiv(GLuint program
, GLint location
, GLuint
* params
) override
;
312 void GetUniformIndices(GLuint program
,
314 const char* const* names
,
315 GLuint
* indices
) override
;
316 GLint
GetUniformLocation(GLuint program
, const char* name
) override
;
317 void GetVertexAttribfv(GLuint index
, GLenum pname
, GLfloat
* params
) override
;
318 void GetVertexAttribiv(GLuint index
, GLenum pname
, GLint
* params
) override
;
319 void GetVertexAttribIiv(GLuint index
, GLenum pname
, GLint
* params
) override
;
320 void GetVertexAttribIuiv(GLuint index
, GLenum pname
, GLuint
* params
) override
;
321 void GetVertexAttribPointerv(GLuint index
,
323 void** pointer
) override
;
324 void Hint(GLenum target
, GLenum mode
) override
;
325 void InvalidateFramebuffer(GLenum target
,
327 const GLenum
* attachments
) override
;
328 void InvalidateSubFramebuffer(GLenum target
,
330 const GLenum
* attachments
,
334 GLsizei height
) override
;
335 GLboolean
IsBuffer(GLuint buffer
) override
;
336 GLboolean
IsEnabled(GLenum cap
) override
;
337 GLboolean
IsFramebuffer(GLuint framebuffer
) override
;
338 GLboolean
IsProgram(GLuint program
) override
;
339 GLboolean
IsRenderbuffer(GLuint renderbuffer
) override
;
340 GLboolean
IsSampler(GLuint sampler
) override
;
341 GLboolean
IsShader(GLuint shader
) override
;
342 GLboolean
IsSync(GLsync sync
) override
;
343 GLboolean
IsTexture(GLuint texture
) override
;
344 GLboolean
IsTransformFeedback(GLuint transformfeedback
) override
;
345 void LineWidth(GLfloat width
) override
;
346 void LinkProgram(GLuint program
) override
;
347 void PauseTransformFeedback() override
;
348 void PixelStorei(GLenum pname
, GLint param
) override
;
349 void PolygonOffset(GLfloat factor
, GLfloat units
) override
;
350 void ReadBuffer(GLenum src
) override
;
351 void ReadPixels(GLint x
,
357 void* pixels
) override
;
358 void ReleaseShaderCompiler() override
;
359 void RenderbufferStorage(GLenum target
,
360 GLenum internalformat
,
362 GLsizei height
) override
;
363 void ResumeTransformFeedback() override
;
364 void SampleCoverage(GLclampf value
, GLboolean invert
) override
;
365 void SamplerParameterf(GLuint sampler
, GLenum pname
, GLfloat param
) override
;
366 void SamplerParameterfv(GLuint sampler
,
368 const GLfloat
* params
) override
;
369 void SamplerParameteri(GLuint sampler
, GLenum pname
, GLint param
) override
;
370 void SamplerParameteriv(GLuint sampler
,
372 const GLint
* params
) override
;
373 void Scissor(GLint x
, GLint y
, GLsizei width
, GLsizei height
) override
;
374 void ShaderBinary(GLsizei n
,
375 const GLuint
* shaders
,
378 GLsizei length
) override
;
379 void ShaderSource(GLuint shader
,
381 const GLchar
* const* str
,
382 const GLint
* length
) override
;
383 void ShallowFinishCHROMIUM() override
;
384 void ShallowFlushCHROMIUM() override
;
385 void OrderingBarrierCHROMIUM() override
;
386 void StencilFunc(GLenum func
, GLint ref
, GLuint mask
) override
;
387 void StencilFuncSeparate(GLenum face
,
390 GLuint mask
) override
;
391 void StencilMask(GLuint mask
) override
;
392 void StencilMaskSeparate(GLenum face
, GLuint mask
) override
;
393 void StencilOp(GLenum fail
, GLenum zfail
, GLenum zpass
) override
;
394 void StencilOpSeparate(GLenum face
,
397 GLenum zpass
) override
;
398 void TexImage2D(GLenum target
,
400 GLint internalformat
,
406 const void* pixels
) override
;
407 void TexImage3D(GLenum target
,
409 GLint internalformat
,
416 const void* pixels
) override
;
417 void TexParameterf(GLenum target
, GLenum pname
, GLfloat param
) override
;
418 void TexParameterfv(GLenum target
,
420 const GLfloat
* params
) override
;
421 void TexParameteri(GLenum target
, GLenum pname
, GLint param
) override
;
422 void TexParameteriv(GLenum target
,
424 const GLint
* params
) override
;
425 void TexStorage3D(GLenum target
,
427 GLenum internalFormat
,
430 GLsizei depth
) override
;
431 void TexSubImage2D(GLenum target
,
439 const void* pixels
) override
;
440 void TexSubImage3D(GLenum target
,
450 const void* pixels
) override
;
451 void TransformFeedbackVaryings(GLuint program
,
453 const char* const* varyings
,
454 GLenum buffermode
) override
;
455 void Uniform1f(GLint location
, GLfloat x
) override
;
456 void Uniform1fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
457 void Uniform1i(GLint location
, GLint x
) override
;
458 void Uniform1iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
459 void Uniform1ui(GLint location
, GLuint x
) override
;
460 void Uniform1uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
461 void Uniform2f(GLint location
, GLfloat x
, GLfloat y
) override
;
462 void Uniform2fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
463 void Uniform2i(GLint location
, GLint x
, GLint y
) override
;
464 void Uniform2iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
465 void Uniform2ui(GLint location
, GLuint x
, GLuint y
) override
;
466 void Uniform2uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
467 void Uniform3f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
) override
;
468 void Uniform3fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
469 void Uniform3i(GLint location
, GLint x
, GLint y
, GLint z
) override
;
470 void Uniform3iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
471 void Uniform3ui(GLint location
, GLuint x
, GLuint y
, GLuint z
) override
;
472 void Uniform3uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
473 void Uniform4f(GLint location
,
478 void Uniform4fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
479 void Uniform4i(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
) override
;
480 void Uniform4iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
481 void Uniform4ui(GLint location
,
486 void Uniform4uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
487 void UniformBlockBinding(GLuint program
,
489 GLuint binding
) override
;
490 void UniformMatrix2fv(GLint location
,
493 const GLfloat
* value
) override
;
494 void UniformMatrix2x3fv(GLint location
,
497 const GLfloat
* value
) override
;
498 void UniformMatrix2x4fv(GLint location
,
501 const GLfloat
* value
) override
;
502 void UniformMatrix3fv(GLint location
,
505 const GLfloat
* value
) override
;
506 void UniformMatrix3x2fv(GLint location
,
509 const GLfloat
* value
) override
;
510 void UniformMatrix3x4fv(GLint location
,
513 const GLfloat
* value
) override
;
514 void UniformMatrix4fv(GLint location
,
517 const GLfloat
* value
) override
;
518 void UniformMatrix4x2fv(GLint location
,
521 const GLfloat
* value
) override
;
522 void UniformMatrix4x3fv(GLint location
,
525 const GLfloat
* value
) override
;
526 void UseProgram(GLuint program
) override
;
527 void ValidateProgram(GLuint program
) override
;
528 void VertexAttrib1f(GLuint indx
, GLfloat x
) override
;
529 void VertexAttrib1fv(GLuint indx
, const GLfloat
* values
) override
;
530 void VertexAttrib2f(GLuint indx
, GLfloat x
, GLfloat y
) override
;
531 void VertexAttrib2fv(GLuint indx
, const GLfloat
* values
) override
;
532 void VertexAttrib3f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
) override
;
533 void VertexAttrib3fv(GLuint indx
, const GLfloat
* values
) override
;
534 void VertexAttrib4f(GLuint indx
,
539 void VertexAttrib4fv(GLuint indx
, const GLfloat
* values
) override
;
540 void VertexAttribI4i(GLuint indx
,
545 void VertexAttribI4iv(GLuint indx
, const GLint
* values
) override
;
546 void VertexAttribI4ui(GLuint indx
,
551 void VertexAttribI4uiv(GLuint indx
, const GLuint
* values
) override
;
552 void VertexAttribIPointer(GLuint indx
,
556 const void* ptr
) override
;
557 void VertexAttribPointer(GLuint indx
,
560 GLboolean normalized
,
562 const void* ptr
) override
;
563 void Viewport(GLint x
, GLint y
, GLsizei width
, GLsizei height
) override
;
564 void WaitSync(GLsync sync
, GLbitfield flags
, GLuint64 timeout
) override
;
565 void BlitFramebufferCHROMIUM(GLint srcX0
,
574 GLenum filter
) override
;
575 void RenderbufferStorageMultisampleCHROMIUM(GLenum target
,
577 GLenum internalformat
,
579 GLsizei height
) override
;
580 void RenderbufferStorageMultisampleEXT(GLenum target
,
582 GLenum internalformat
,
584 GLsizei height
) override
;
585 void FramebufferTexture2DMultisampleEXT(GLenum target
,
590 GLsizei samples
) override
;
591 void TexStorage2DEXT(GLenum target
,
593 GLenum internalFormat
,
595 GLsizei height
) override
;
596 void GenQueriesEXT(GLsizei n
, GLuint
* queries
) override
;
597 void DeleteQueriesEXT(GLsizei n
, const GLuint
* queries
) override
;
598 void QueryCounterEXT(GLuint id
, GLenum target
) override
;
599 GLboolean
IsQueryEXT(GLuint id
) override
;
600 void BeginQueryEXT(GLenum target
, GLuint id
) override
;
601 void BeginTransformFeedback(GLenum primitivemode
) override
;
602 void EndQueryEXT(GLenum target
) override
;
603 void EndTransformFeedback() override
;
604 void GetQueryivEXT(GLenum target
, GLenum pname
, GLint
* params
) override
;
605 void GetQueryObjectuivEXT(GLuint id
, GLenum pname
, GLuint
* params
) override
;
606 void GetQueryObjectui64vEXT(GLuint id
,
608 GLuint64
* params
) override
;
609 void InsertEventMarkerEXT(GLsizei length
, const GLchar
* marker
) override
;
610 void PushGroupMarkerEXT(GLsizei length
, const GLchar
* marker
) override
;
611 void PopGroupMarkerEXT() override
;
612 void GenVertexArraysOES(GLsizei n
, GLuint
* arrays
) override
;
613 void DeleteVertexArraysOES(GLsizei n
, const GLuint
* arrays
) override
;
614 GLboolean
IsVertexArrayOES(GLuint array
) override
;
615 void BindVertexArrayOES(GLuint array
) override
;
616 void SwapBuffers() override
;
617 GLuint
GetMaxValueInBufferCHROMIUM(GLuint buffer_id
,
620 GLuint offset
) override
;
621 GLboolean
EnableFeatureCHROMIUM(const char* feature
) override
;
622 void* MapBufferCHROMIUM(GLuint target
, GLenum access
) override
;
623 GLboolean
UnmapBufferCHROMIUM(GLuint target
) override
;
624 void* MapBufferSubDataCHROMIUM(GLuint target
,
627 GLenum access
) override
;
628 void UnmapBufferSubDataCHROMIUM(const void* mem
) override
;
629 void* MapBufferRange(GLenum target
,
632 GLbitfield access
) override
;
633 GLboolean
UnmapBuffer(GLenum target
) override
;
634 void* MapTexSubImage2DCHROMIUM(GLenum target
,
642 GLenum access
) override
;
643 void UnmapTexSubImage2DCHROMIUM(const void* mem
) override
;
644 void ResizeCHROMIUM(GLuint width
,
646 GLfloat scale_factor
) override
;
647 const GLchar
* GetRequestableExtensionsCHROMIUM() override
;
648 void RequestExtensionCHROMIUM(const char* extension
) override
;
649 void RateLimitOffscreenContextCHROMIUM() override
;
650 void GetProgramInfoCHROMIUM(GLuint program
,
653 void* info
) override
;
654 void GetUniformBlocksCHROMIUM(GLuint program
,
657 void* info
) override
;
658 void GetTransformFeedbackVaryingsCHROMIUM(GLuint program
,
661 void* info
) override
;
662 void GetUniformsES3CHROMIUM(GLuint program
,
665 void* info
) override
;
666 GLuint
CreateStreamTextureCHROMIUM(GLuint texture
) override
;
667 GLuint
CreateImageCHROMIUM(ClientBuffer buffer
,
670 GLenum internalformat
) override
;
671 void DestroyImageCHROMIUM(GLuint image_id
) override
;
672 GLuint
CreateGpuMemoryBufferImageCHROMIUM(GLsizei width
,
674 GLenum internalformat
,
675 GLenum usage
) override
;
676 void GetTranslatedShaderSourceANGLE(GLuint shader
,
679 char* source
) override
;
680 void PostSubBufferCHROMIUM(GLint x
,
683 GLint height
) override
;
684 void TexImageIOSurface2DCHROMIUM(GLenum target
,
688 GLuint plane
) override
;
689 void CopyTextureCHROMIUM(GLenum target
,
692 GLint internalformat
,
694 GLboolean unpack_flip_y
,
695 GLboolean unpack_premultiply_alpha
,
696 GLboolean unpack_unmultiply_alpha
) override
;
697 void CopySubTextureCHROMIUM(GLenum target
,
706 GLboolean unpack_flip_y
,
707 GLboolean unpack_premultiply_alpha
,
708 GLboolean unpack_unmultiply_alpha
) override
;
709 void CompressedCopyTextureCHROMIUM(GLenum target
,
711 GLenum dest_id
) override
;
712 void DrawArraysInstancedANGLE(GLenum mode
,
715 GLsizei primcount
) override
;
716 void DrawElementsInstancedANGLE(GLenum mode
,
720 GLsizei primcount
) override
;
721 void VertexAttribDivisorANGLE(GLuint index
, GLuint divisor
) override
;
722 void GenMailboxCHROMIUM(GLbyte
* mailbox
) override
;
723 void ProduceTextureCHROMIUM(GLenum target
, const GLbyte
* mailbox
) override
;
724 void ProduceTextureDirectCHROMIUM(GLuint texture
,
726 const GLbyte
* mailbox
) override
;
727 void ConsumeTextureCHROMIUM(GLenum target
, const GLbyte
* mailbox
) override
;
728 GLuint
CreateAndConsumeTextureCHROMIUM(GLenum target
,
729 const GLbyte
* mailbox
) override
;
730 void BindUniformLocationCHROMIUM(GLuint program
,
732 const char* name
) override
;
733 void GenValuebuffersCHROMIUM(GLsizei n
, GLuint
* buffers
) override
;
734 void DeleteValuebuffersCHROMIUM(GLsizei n
,
735 const GLuint
* valuebuffers
) override
;
736 GLboolean
IsValuebufferCHROMIUM(GLuint valuebuffer
) override
;
737 void BindValuebufferCHROMIUM(GLenum target
, GLuint valuebuffer
) override
;
738 void SubscribeValueCHROMIUM(GLenum target
, GLenum subscription
) override
;
739 void PopulateSubscribedValuesCHROMIUM(GLenum target
) override
;
740 void UniformValuebufferCHROMIUM(GLint location
,
742 GLenum subscription
) override
;
743 void BindTexImage2DCHROMIUM(GLenum target
, GLint imageId
) override
;
744 void ReleaseTexImage2DCHROMIUM(GLenum target
, GLint imageId
) override
;
745 void TraceBeginCHROMIUM(const char* category_name
,
746 const char* trace_name
) override
;
747 void TraceEndCHROMIUM() override
;
748 void AsyncTexSubImage2DCHROMIUM(GLenum target
,
756 const void* data
) override
;
757 void AsyncTexImage2DCHROMIUM(GLenum target
,
759 GLenum internalformat
,
765 const void* pixels
) override
;
766 void WaitAsyncTexImage2DCHROMIUM(GLenum target
) override
;
767 void WaitAllAsyncTexImage2DCHROMIUM() override
;
768 void DiscardFramebufferEXT(GLenum target
,
770 const GLenum
* attachments
) override
;
771 void LoseContextCHROMIUM(GLenum current
, GLenum other
) override
;
772 GLuint
InsertSyncPointCHROMIUM() override
;
773 void WaitSyncPointCHROMIUM(GLuint sync_point
) override
;
774 void DrawBuffersEXT(GLsizei count
, const GLenum
* bufs
) override
;
775 void DiscardBackbufferCHROMIUM() override
;
776 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order
,
777 GLenum plane_transform
,
778 GLuint overlay_texture_id
,
786 GLfloat uv_height
) override
;
787 void SwapInterval(GLint interval
) override
;
788 void FlushDriverCachesCHROMIUM() override
;
789 void MatrixLoadfCHROMIUM(GLenum matrixMode
, const GLfloat
* m
) override
;
790 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode
) override
;
791 GLuint
GenPathsCHROMIUM(GLsizei range
) override
;
792 void DeletePathsCHROMIUM(GLuint path
, GLsizei range
) override
;
793 GLboolean
IsPathCHROMIUM(GLuint path
) override
;
794 void PathCommandsCHROMIUM(GLuint path
,
796 const GLubyte
* commands
,
799 const GLvoid
* coords
) override
;
800 void PathParameterfCHROMIUM(GLuint path
,
802 GLfloat value
) override
;
803 void PathParameteriCHROMIUM(GLuint path
, GLenum pname
, GLint value
) override
;
804 void PathStencilFuncCHROMIUM(GLenum func
, GLint ref
, GLuint mask
) override
;
805 void StencilFillPathCHROMIUM(GLuint path
,
807 GLuint mask
) override
;
808 void StencilStrokePathCHROMIUM(GLuint path
,
810 GLuint mask
) override
;
811 void CoverFillPathCHROMIUM(GLuint path
, GLenum coverMode
) override
;
812 void CoverStrokePathCHROMIUM(GLuint path
, GLenum coverMode
) override
;
813 void StencilThenCoverFillPathCHROMIUM(GLuint path
,
816 GLenum coverMode
) override
;
817 void StencilThenCoverStrokePathCHROMIUM(GLuint path
,
820 GLenum coverMode
) override
;
821 GLenum
GetGraphicsResetStatusKHR() override
;
822 void BlendBarrierKHR() override
;
825 MojoGLES2Context context_
;
829 #endif // MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_