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 CopyBufferSubData(GLenum readtarget
,
110 GLintptr writeoffset
,
111 GLsizeiptr size
) override
;
112 void CopyTexImage2D(GLenum target
,
114 GLenum internalformat
,
119 GLint border
) override
;
120 void CopyTexSubImage2D(GLenum target
,
127 GLsizei height
) override
;
128 void CopyTexSubImage3D(GLenum target
,
136 GLsizei height
) override
;
137 GLuint
CreateProgram() override
;
138 GLuint
CreateShader(GLenum type
) override
;
139 void CullFace(GLenum mode
) override
;
140 void DeleteBuffers(GLsizei n
, const GLuint
* buffers
) override
;
141 void DeleteFramebuffers(GLsizei n
, const GLuint
* framebuffers
) override
;
142 void DeleteProgram(GLuint program
) override
;
143 void DeleteRenderbuffers(GLsizei n
, const GLuint
* renderbuffers
) override
;
144 void DeleteSamplers(GLsizei n
, const GLuint
* samplers
) override
;
145 void DeleteSync(GLsync sync
) override
;
146 void DeleteShader(GLuint shader
) override
;
147 void DeleteTextures(GLsizei n
, const GLuint
* textures
) override
;
148 void DeleteTransformFeedbacks(GLsizei n
, const GLuint
* ids
) override
;
149 void DepthFunc(GLenum func
) override
;
150 void DepthMask(GLboolean flag
) override
;
151 void DepthRangef(GLclampf zNear
, GLclampf zFar
) override
;
152 void DetachShader(GLuint program
, GLuint shader
) override
;
153 void Disable(GLenum cap
) override
;
154 void DisableVertexAttribArray(GLuint index
) override
;
155 void DrawArrays(GLenum mode
, GLint first
, GLsizei count
) override
;
156 void DrawElements(GLenum mode
,
159 const void* indices
) override
;
160 void DrawRangeElements(GLenum mode
,
165 const void* indices
) override
;
166 void Enable(GLenum cap
) override
;
167 void EnableVertexAttribArray(GLuint index
) override
;
168 GLsync
FenceSync(GLenum condition
, GLbitfield flags
) override
;
169 void Finish() override
;
170 void Flush() override
;
171 void FramebufferRenderbuffer(GLenum target
,
173 GLenum renderbuffertarget
,
174 GLuint renderbuffer
) override
;
175 void FramebufferTexture2D(GLenum target
,
179 GLint level
) override
;
180 void FramebufferTextureLayer(GLenum target
,
184 GLint layer
) override
;
185 void FrontFace(GLenum mode
) override
;
186 void GenBuffers(GLsizei n
, GLuint
* buffers
) override
;
187 void GenerateMipmap(GLenum target
) override
;
188 void GenFramebuffers(GLsizei n
, GLuint
* framebuffers
) override
;
189 void GenRenderbuffers(GLsizei n
, GLuint
* renderbuffers
) override
;
190 void GenSamplers(GLsizei n
, GLuint
* samplers
) override
;
191 void GenTextures(GLsizei n
, GLuint
* textures
) override
;
192 void GenTransformFeedbacks(GLsizei n
, GLuint
* ids
) override
;
193 void GetActiveAttrib(GLuint program
,
199 char* name
) override
;
200 void GetActiveUniform(GLuint program
,
206 char* name
) override
;
207 void GetActiveUniformBlockiv(GLuint program
,
210 GLint
* params
) override
;
211 void GetActiveUniformBlockName(GLuint program
,
215 char* name
) override
;
216 void GetActiveUniformsiv(GLuint program
,
218 const GLuint
* indices
,
220 GLint
* params
) override
;
221 void GetAttachedShaders(GLuint program
,
224 GLuint
* shaders
) override
;
225 GLint
GetAttribLocation(GLuint program
, const char* name
) override
;
226 void GetBooleanv(GLenum pname
, GLboolean
* params
) override
;
227 void GetBufferParameteriv(GLenum target
,
229 GLint
* params
) override
;
230 GLenum
GetError() override
;
231 void GetFloatv(GLenum pname
, GLfloat
* params
) override
;
232 GLint
GetFragDataLocation(GLuint program
, const char* name
) override
;
233 void GetFramebufferAttachmentParameteriv(GLenum target
,
236 GLint
* params
) override
;
237 void GetIntegerv(GLenum pname
, GLint
* params
) override
;
238 void GetInternalformativ(GLenum target
,
242 GLint
* params
) override
;
243 void GetProgramiv(GLuint program
, GLenum pname
, GLint
* params
) override
;
244 void GetProgramInfoLog(GLuint program
,
247 char* infolog
) override
;
248 void GetRenderbufferParameteriv(GLenum target
,
250 GLint
* params
) override
;
251 void GetSamplerParameterfv(GLuint sampler
,
253 GLfloat
* params
) override
;
254 void GetSamplerParameteriv(GLuint sampler
,
256 GLint
* params
) override
;
257 void GetShaderiv(GLuint shader
, GLenum pname
, GLint
* params
) override
;
258 void GetShaderInfoLog(GLuint shader
,
261 char* infolog
) override
;
262 void GetShaderPrecisionFormat(GLenum shadertype
,
263 GLenum precisiontype
,
265 GLint
* precision
) override
;
266 void GetShaderSource(GLuint shader
,
269 char* source
) override
;
270 const GLubyte
* GetString(GLenum name
) override
;
271 void GetSynciv(GLsync sync
,
275 GLint
* values
) override
;
276 void GetTexParameterfv(GLenum target
, GLenum pname
, GLfloat
* params
) override
;
277 void GetTexParameteriv(GLenum target
, GLenum pname
, GLint
* params
) override
;
278 void GetTransformFeedbackVarying(GLuint program
,
284 char* name
) override
;
285 GLuint
GetUniformBlockIndex(GLuint program
, const char* name
) override
;
286 void GetUniformfv(GLuint program
, GLint location
, GLfloat
* params
) override
;
287 void GetUniformiv(GLuint program
, GLint location
, GLint
* params
) override
;
288 void GetUniformIndices(GLuint program
,
290 const char* const* names
,
291 GLuint
* indices
) override
;
292 GLint
GetUniformLocation(GLuint program
, const char* name
) override
;
293 void GetVertexAttribfv(GLuint index
, GLenum pname
, GLfloat
* params
) override
;
294 void GetVertexAttribiv(GLuint index
, GLenum pname
, GLint
* params
) override
;
295 void GetVertexAttribPointerv(GLuint index
,
297 void** pointer
) override
;
298 void Hint(GLenum target
, GLenum mode
) override
;
299 void InvalidateFramebuffer(GLenum target
,
301 const GLenum
* attachments
) override
;
302 void InvalidateSubFramebuffer(GLenum target
,
304 const GLenum
* attachments
,
308 GLsizei height
) override
;
309 GLboolean
IsBuffer(GLuint buffer
) override
;
310 GLboolean
IsEnabled(GLenum cap
) override
;
311 GLboolean
IsFramebuffer(GLuint framebuffer
) override
;
312 GLboolean
IsProgram(GLuint program
) override
;
313 GLboolean
IsRenderbuffer(GLuint renderbuffer
) override
;
314 GLboolean
IsSampler(GLuint sampler
) override
;
315 GLboolean
IsShader(GLuint shader
) override
;
316 GLboolean
IsSync(GLsync sync
) override
;
317 GLboolean
IsTexture(GLuint texture
) override
;
318 GLboolean
IsTransformFeedback(GLuint transformfeedback
) override
;
319 void LineWidth(GLfloat width
) override
;
320 void LinkProgram(GLuint program
) override
;
321 void PauseTransformFeedback() override
;
322 void PixelStorei(GLenum pname
, GLint param
) override
;
323 void PolygonOffset(GLfloat factor
, GLfloat units
) override
;
324 void ReadBuffer(GLenum src
) override
;
325 void ReadPixels(GLint x
,
331 void* pixels
) override
;
332 void ReleaseShaderCompiler() override
;
333 void RenderbufferStorage(GLenum target
,
334 GLenum internalformat
,
336 GLsizei height
) override
;
337 void ResumeTransformFeedback() override
;
338 void SampleCoverage(GLclampf value
, GLboolean invert
) override
;
339 void SamplerParameterf(GLuint sampler
, GLenum pname
, GLfloat param
) override
;
340 void SamplerParameterfv(GLuint sampler
,
342 const GLfloat
* params
) override
;
343 void SamplerParameteri(GLuint sampler
, GLenum pname
, GLint param
) override
;
344 void SamplerParameteriv(GLuint sampler
,
346 const GLint
* params
) override
;
347 void Scissor(GLint x
, GLint y
, GLsizei width
, GLsizei height
) override
;
348 void ShaderBinary(GLsizei n
,
349 const GLuint
* shaders
,
352 GLsizei length
) override
;
353 void ShaderSource(GLuint shader
,
355 const GLchar
* const* str
,
356 const GLint
* length
) override
;
357 void ShallowFinishCHROMIUM() override
;
358 void ShallowFlushCHROMIUM() override
;
359 void OrderingBarrierCHROMIUM() override
;
360 void StencilFunc(GLenum func
, GLint ref
, GLuint mask
) override
;
361 void StencilFuncSeparate(GLenum face
,
364 GLuint mask
) override
;
365 void StencilMask(GLuint mask
) override
;
366 void StencilMaskSeparate(GLenum face
, GLuint mask
) override
;
367 void StencilOp(GLenum fail
, GLenum zfail
, GLenum zpass
) override
;
368 void StencilOpSeparate(GLenum face
,
371 GLenum zpass
) override
;
372 void TexImage2D(GLenum target
,
374 GLint internalformat
,
380 const void* pixels
) override
;
381 void TexImage3D(GLenum target
,
383 GLint internalformat
,
390 const void* pixels
) override
;
391 void TexParameterf(GLenum target
, GLenum pname
, GLfloat param
) override
;
392 void TexParameterfv(GLenum target
,
394 const GLfloat
* params
) override
;
395 void TexParameteri(GLenum target
, GLenum pname
, GLint param
) override
;
396 void TexParameteriv(GLenum target
,
398 const GLint
* params
) override
;
399 void TexStorage3D(GLenum target
,
401 GLenum internalFormat
,
404 GLsizei depth
) override
;
405 void TexSubImage2D(GLenum target
,
413 const void* pixels
) override
;
414 void TexSubImage3D(GLenum target
,
424 const void* pixels
) override
;
425 void TransformFeedbackVaryings(GLuint program
,
427 const char* const* varyings
,
428 GLenum buffermode
) override
;
429 void Uniform1f(GLint location
, GLfloat x
) override
;
430 void Uniform1fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
431 void Uniform1i(GLint location
, GLint x
) override
;
432 void Uniform1iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
433 void Uniform1ui(GLint location
, GLuint x
) override
;
434 void Uniform1uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
435 void Uniform2f(GLint location
, GLfloat x
, GLfloat y
) override
;
436 void Uniform2fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
437 void Uniform2i(GLint location
, GLint x
, GLint y
) override
;
438 void Uniform2iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
439 void Uniform2ui(GLint location
, GLuint x
, GLuint y
) override
;
440 void Uniform2uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
441 void Uniform3f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
) override
;
442 void Uniform3fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
443 void Uniform3i(GLint location
, GLint x
, GLint y
, GLint z
) override
;
444 void Uniform3iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
445 void Uniform3ui(GLint location
, GLuint x
, GLuint y
, GLuint z
) override
;
446 void Uniform3uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
447 void Uniform4f(GLint location
,
452 void Uniform4fv(GLint location
, GLsizei count
, const GLfloat
* v
) override
;
453 void Uniform4i(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
) override
;
454 void Uniform4iv(GLint location
, GLsizei count
, const GLint
* v
) override
;
455 void Uniform4ui(GLint location
,
460 void Uniform4uiv(GLint location
, GLsizei count
, const GLuint
* v
) override
;
461 void UniformBlockBinding(GLuint program
,
463 GLuint binding
) override
;
464 void UniformMatrix2fv(GLint location
,
467 const GLfloat
* value
) override
;
468 void UniformMatrix2x3fv(GLint location
,
471 const GLfloat
* value
) override
;
472 void UniformMatrix2x4fv(GLint location
,
475 const GLfloat
* value
) override
;
476 void UniformMatrix3fv(GLint location
,
479 const GLfloat
* value
) override
;
480 void UniformMatrix3x2fv(GLint location
,
483 const GLfloat
* value
) override
;
484 void UniformMatrix3x4fv(GLint location
,
487 const GLfloat
* value
) override
;
488 void UniformMatrix4fv(GLint location
,
491 const GLfloat
* value
) override
;
492 void UniformMatrix4x2fv(GLint location
,
495 const GLfloat
* value
) override
;
496 void UniformMatrix4x3fv(GLint location
,
499 const GLfloat
* value
) override
;
500 void UseProgram(GLuint program
) override
;
501 void ValidateProgram(GLuint program
) override
;
502 void VertexAttrib1f(GLuint indx
, GLfloat x
) override
;
503 void VertexAttrib1fv(GLuint indx
, const GLfloat
* values
) override
;
504 void VertexAttrib2f(GLuint indx
, GLfloat x
, GLfloat y
) override
;
505 void VertexAttrib2fv(GLuint indx
, const GLfloat
* values
) override
;
506 void VertexAttrib3f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
) override
;
507 void VertexAttrib3fv(GLuint indx
, const GLfloat
* values
) override
;
508 void VertexAttrib4f(GLuint indx
,
513 void VertexAttrib4fv(GLuint indx
, const GLfloat
* values
) override
;
514 void VertexAttribI4i(GLuint indx
,
519 void VertexAttribI4iv(GLuint indx
, const GLint
* values
) override
;
520 void VertexAttribI4ui(GLuint indx
,
525 void VertexAttribI4uiv(GLuint indx
, const GLuint
* values
) override
;
526 void VertexAttribIPointer(GLuint indx
,
530 const void* ptr
) override
;
531 void VertexAttribPointer(GLuint indx
,
534 GLboolean normalized
,
536 const void* ptr
) override
;
537 void Viewport(GLint x
, GLint y
, GLsizei width
, GLsizei height
) override
;
538 void WaitSync(GLsync sync
, GLbitfield flags
, GLuint64 timeout
) override
;
539 void BlitFramebufferCHROMIUM(GLint srcX0
,
548 GLenum filter
) override
;
549 void RenderbufferStorageMultisampleCHROMIUM(GLenum target
,
551 GLenum internalformat
,
553 GLsizei height
) override
;
554 void RenderbufferStorageMultisampleEXT(GLenum target
,
556 GLenum internalformat
,
558 GLsizei height
) override
;
559 void FramebufferTexture2DMultisampleEXT(GLenum target
,
564 GLsizei samples
) override
;
565 void TexStorage2DEXT(GLenum target
,
567 GLenum internalFormat
,
569 GLsizei height
) override
;
570 void GenQueriesEXT(GLsizei n
, GLuint
* queries
) override
;
571 void DeleteQueriesEXT(GLsizei n
, const GLuint
* queries
) override
;
572 GLboolean
IsQueryEXT(GLuint id
) override
;
573 void BeginQueryEXT(GLenum target
, GLuint id
) override
;
574 void BeginTransformFeedback(GLenum primitivemode
) override
;
575 void EndQueryEXT(GLenum target
) override
;
576 void EndTransformFeedback() override
;
577 void GetQueryivEXT(GLenum target
, GLenum pname
, GLint
* params
) override
;
578 void GetQueryObjectuivEXT(GLuint id
, GLenum pname
, GLuint
* params
) override
;
579 void InsertEventMarkerEXT(GLsizei length
, const GLchar
* marker
) override
;
580 void PushGroupMarkerEXT(GLsizei length
, const GLchar
* marker
) override
;
581 void PopGroupMarkerEXT() override
;
582 void GenVertexArraysOES(GLsizei n
, GLuint
* arrays
) override
;
583 void DeleteVertexArraysOES(GLsizei n
, const GLuint
* arrays
) override
;
584 GLboolean
IsVertexArrayOES(GLuint array
) override
;
585 void BindVertexArrayOES(GLuint array
) override
;
586 void SwapBuffers() override
;
587 GLuint
GetMaxValueInBufferCHROMIUM(GLuint buffer_id
,
590 GLuint offset
) override
;
591 GLboolean
EnableFeatureCHROMIUM(const char* feature
) override
;
592 void* MapBufferCHROMIUM(GLuint target
, GLenum access
) override
;
593 GLboolean
UnmapBufferCHROMIUM(GLuint target
) override
;
594 void* MapBufferSubDataCHROMIUM(GLuint target
,
597 GLenum access
) override
;
598 void UnmapBufferSubDataCHROMIUM(const void* mem
) override
;
599 void* MapBufferRange(GLenum target
,
602 GLbitfield access
) override
;
603 GLboolean
UnmapBuffer(GLenum target
) override
;
604 void* MapTexSubImage2DCHROMIUM(GLenum target
,
612 GLenum access
) override
;
613 void UnmapTexSubImage2DCHROMIUM(const void* mem
) override
;
614 void ResizeCHROMIUM(GLuint width
,
616 GLfloat scale_factor
) override
;
617 const GLchar
* GetRequestableExtensionsCHROMIUM() override
;
618 void RequestExtensionCHROMIUM(const char* extension
) override
;
619 void RateLimitOffscreenContextCHROMIUM() override
;
620 void GetProgramInfoCHROMIUM(GLuint program
,
623 void* info
) override
;
624 void GetUniformBlocksCHROMIUM(GLuint program
,
627 void* info
) override
;
628 void GetTransformFeedbackVaryingsCHROMIUM(GLuint program
,
631 void* info
) override
;
632 void GetUniformsES3CHROMIUM(GLuint program
,
635 void* info
) override
;
636 GLuint
CreateStreamTextureCHROMIUM(GLuint texture
) override
;
637 GLuint
CreateImageCHROMIUM(ClientBuffer buffer
,
640 GLenum internalformat
) override
;
641 void DestroyImageCHROMIUM(GLuint image_id
) override
;
642 GLuint
CreateGpuMemoryBufferImageCHROMIUM(GLsizei width
,
644 GLenum internalformat
,
645 GLenum usage
) override
;
646 void GetTranslatedShaderSourceANGLE(GLuint shader
,
649 char* source
) override
;
650 void PostSubBufferCHROMIUM(GLint x
,
653 GLint height
) override
;
654 void TexImageIOSurface2DCHROMIUM(GLenum target
,
658 GLuint plane
) override
;
659 void CopyTextureCHROMIUM(GLenum target
,
662 GLint internalformat
,
663 GLenum dest_type
) override
;
664 void CopySubTextureCHROMIUM(GLenum target
,
668 GLint yoffset
) override
;
669 void DrawArraysInstancedANGLE(GLenum mode
,
672 GLsizei primcount
) override
;
673 void DrawElementsInstancedANGLE(GLenum mode
,
677 GLsizei primcount
) override
;
678 void VertexAttribDivisorANGLE(GLuint index
, GLuint divisor
) override
;
679 void GenMailboxCHROMIUM(GLbyte
* mailbox
) override
;
680 void ProduceTextureCHROMIUM(GLenum target
, const GLbyte
* mailbox
) override
;
681 void ProduceTextureDirectCHROMIUM(GLuint texture
,
683 const GLbyte
* mailbox
) override
;
684 void ConsumeTextureCHROMIUM(GLenum target
, const GLbyte
* mailbox
) override
;
685 GLuint
CreateAndConsumeTextureCHROMIUM(GLenum target
,
686 const GLbyte
* mailbox
) override
;
687 void BindUniformLocationCHROMIUM(GLuint program
,
689 const char* name
) override
;
690 void GenValuebuffersCHROMIUM(GLsizei n
, GLuint
* buffers
) override
;
691 void DeleteValuebuffersCHROMIUM(GLsizei n
,
692 const GLuint
* valuebuffers
) override
;
693 GLboolean
IsValuebufferCHROMIUM(GLuint valuebuffer
) override
;
694 void BindValuebufferCHROMIUM(GLenum target
, GLuint valuebuffer
) override
;
695 void SubscribeValueCHROMIUM(GLenum target
, GLenum subscription
) override
;
696 void PopulateSubscribedValuesCHROMIUM(GLenum target
) override
;
697 void UniformValuebufferCHROMIUM(GLint location
,
699 GLenum subscription
) override
;
700 void BindTexImage2DCHROMIUM(GLenum target
, GLint imageId
) override
;
701 void ReleaseTexImage2DCHROMIUM(GLenum target
, GLint imageId
) override
;
702 void TraceBeginCHROMIUM(const char* category_name
,
703 const char* trace_name
) override
;
704 void TraceEndCHROMIUM() override
;
705 void AsyncTexSubImage2DCHROMIUM(GLenum target
,
713 const void* data
) override
;
714 void AsyncTexImage2DCHROMIUM(GLenum target
,
716 GLenum internalformat
,
722 const void* pixels
) override
;
723 void WaitAsyncTexImage2DCHROMIUM(GLenum target
) override
;
724 void WaitAllAsyncTexImage2DCHROMIUM() override
;
725 void DiscardFramebufferEXT(GLenum target
,
727 const GLenum
* attachments
) override
;
728 void LoseContextCHROMIUM(GLenum current
, GLenum other
) override
;
729 GLuint
InsertSyncPointCHROMIUM() override
;
730 void WaitSyncPointCHROMIUM(GLuint sync_point
) override
;
731 void DrawBuffersEXT(GLsizei count
, const GLenum
* bufs
) override
;
732 void DiscardBackbufferCHROMIUM() override
;
733 void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order
,
734 GLenum plane_transform
,
735 GLuint overlay_texture_id
,
743 GLfloat uv_height
) override
;
744 void SwapInterval(GLint interval
) override
;
745 void MatrixLoadfCHROMIUM(GLenum matrixMode
, const GLfloat
* m
) override
;
746 void MatrixLoadIdentityCHROMIUM(GLenum matrixMode
) override
;
747 void BlendBarrierKHR() override
;
750 MojoGLES2Context context_
;
754 #endif // MOJO_GPU_MOJO_GLES2_IMPL_AUTOGEN_H_