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 GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_
14 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_
16 virtual void ActiveTexture(GLenum texture
) = 0;
17 virtual void AttachShader(GLuint program
, GLuint shader
) = 0;
18 virtual void BindAttribLocation(GLuint program
,
20 const char* name
) = 0;
21 virtual void BindBuffer(GLenum target
, GLuint buffer
) = 0;
22 virtual void BindBufferBase(GLenum target
, GLuint index
, GLuint buffer
) = 0;
23 virtual void BindBufferRange(GLenum target
,
28 virtual void BindFramebuffer(GLenum target
, GLuint framebuffer
) = 0;
29 virtual void BindRenderbuffer(GLenum target
, GLuint renderbuffer
) = 0;
30 virtual void BindSampler(GLuint unit
, GLuint sampler
) = 0;
31 virtual void BindTexture(GLenum target
, GLuint texture
) = 0;
32 virtual void BindTransformFeedback(GLenum target
, GLuint transformfeedback
) = 0;
33 virtual void BlendColor(GLclampf red
,
37 virtual void BlendEquation(GLenum mode
) = 0;
38 virtual void BlendEquationSeparate(GLenum modeRGB
, GLenum modeAlpha
) = 0;
39 virtual void BlendFunc(GLenum sfactor
, GLenum dfactor
) = 0;
40 virtual void BlendFuncSeparate(GLenum srcRGB
,
44 virtual void BufferData(GLenum target
,
48 virtual void BufferSubData(GLenum target
,
51 const void* data
) = 0;
52 virtual GLenum
CheckFramebufferStatus(GLenum target
) = 0;
53 virtual void Clear(GLbitfield mask
) = 0;
54 virtual void ClearBufferfi(GLenum buffer
,
58 virtual void ClearBufferfv(GLenum buffer
,
60 const GLfloat
* value
) = 0;
61 virtual void ClearBufferiv(GLenum buffer
,
63 const GLint
* value
) = 0;
64 virtual void ClearBufferuiv(GLenum buffer
,
66 const GLuint
* value
) = 0;
67 virtual void ClearColor(GLclampf red
,
71 virtual void ClearDepthf(GLclampf depth
) = 0;
72 virtual void ClearStencil(GLint s
) = 0;
73 virtual GLenum
ClientWaitSync(GLsync sync
,
75 GLuint64 timeout
) = 0;
76 virtual void ColorMask(GLboolean red
,
80 virtual void CompileShader(GLuint shader
) = 0;
81 virtual void CompressedTexImage2D(GLenum target
,
83 GLenum internalformat
,
88 const void* data
) = 0;
89 virtual void CompressedTexSubImage2D(GLenum target
,
97 const void* data
) = 0;
98 virtual void CopyBufferSubData(GLenum readtarget
,
101 GLintptr writeoffset
,
102 GLsizeiptr size
) = 0;
103 virtual void CopyTexImage2D(GLenum target
,
105 GLenum internalformat
,
111 virtual void CopyTexSubImage2D(GLenum target
,
119 virtual void CopyTexSubImage3D(GLenum target
,
128 virtual GLuint
CreateProgram() = 0;
129 virtual GLuint
CreateShader(GLenum type
) = 0;
130 virtual void CullFace(GLenum mode
) = 0;
131 virtual void DeleteBuffers(GLsizei n
, const GLuint
* buffers
) = 0;
132 virtual void DeleteFramebuffers(GLsizei n
, const GLuint
* framebuffers
) = 0;
133 virtual void DeleteProgram(GLuint program
) = 0;
134 virtual void DeleteRenderbuffers(GLsizei n
, const GLuint
* renderbuffers
) = 0;
135 virtual void DeleteSamplers(GLsizei n
, const GLuint
* samplers
) = 0;
136 virtual void DeleteSync(GLsync sync
) = 0;
137 virtual void DeleteShader(GLuint shader
) = 0;
138 virtual void DeleteTextures(GLsizei n
, const GLuint
* textures
) = 0;
139 virtual void DeleteTransformFeedbacks(GLsizei n
, const GLuint
* ids
) = 0;
140 virtual void DepthFunc(GLenum func
) = 0;
141 virtual void DepthMask(GLboolean flag
) = 0;
142 virtual void DepthRangef(GLclampf zNear
, GLclampf zFar
) = 0;
143 virtual void DetachShader(GLuint program
, GLuint shader
) = 0;
144 virtual void Disable(GLenum cap
) = 0;
145 virtual void DisableVertexAttribArray(GLuint index
) = 0;
146 virtual void DrawArrays(GLenum mode
, GLint first
, GLsizei count
) = 0;
147 virtual void DrawElements(GLenum mode
,
150 const void* indices
) = 0;
151 virtual void Enable(GLenum cap
) = 0;
152 virtual void EnableVertexAttribArray(GLuint index
) = 0;
153 virtual GLsync
FenceSync(GLenum condition
, GLbitfield flags
) = 0;
154 virtual void Finish() = 0;
155 virtual void Flush() = 0;
156 virtual void FramebufferRenderbuffer(GLenum target
,
158 GLenum renderbuffertarget
,
159 GLuint renderbuffer
) = 0;
160 virtual void FramebufferTexture2D(GLenum target
,
165 virtual void FramebufferTextureLayer(GLenum target
,
170 virtual void FrontFace(GLenum mode
) = 0;
171 virtual void GenBuffers(GLsizei n
, GLuint
* buffers
) = 0;
172 virtual void GenerateMipmap(GLenum target
) = 0;
173 virtual void GenFramebuffers(GLsizei n
, GLuint
* framebuffers
) = 0;
174 virtual void GenRenderbuffers(GLsizei n
, GLuint
* renderbuffers
) = 0;
175 virtual void GenSamplers(GLsizei n
, GLuint
* samplers
) = 0;
176 virtual void GenTextures(GLsizei n
, GLuint
* textures
) = 0;
177 virtual void GenTransformFeedbacks(GLsizei n
, GLuint
* ids
) = 0;
178 virtual void GetActiveAttrib(GLuint program
,
185 virtual void GetActiveUniform(GLuint program
,
192 virtual void GetActiveUniformBlockiv(GLuint program
,
196 virtual void GetActiveUniformBlockName(GLuint program
,
201 virtual void GetActiveUniformsiv(GLuint program
,
203 const GLuint
* indices
,
206 virtual void GetAttachedShaders(GLuint program
,
209 GLuint
* shaders
) = 0;
210 virtual GLint
GetAttribLocation(GLuint program
, const char* name
) = 0;
211 virtual void GetBooleanv(GLenum pname
, GLboolean
* params
) = 0;
212 virtual void GetBufferParameteriv(GLenum target
,
215 virtual GLenum
GetError() = 0;
216 virtual void GetFloatv(GLenum pname
, GLfloat
* params
) = 0;
217 virtual GLint
GetFragDataLocation(GLuint program
, const char* name
) = 0;
218 virtual void GetFramebufferAttachmentParameteriv(GLenum target
,
222 virtual void GetIntegerv(GLenum pname
, GLint
* params
) = 0;
223 virtual void GetInternalformativ(GLenum target
,
228 virtual void GetProgramiv(GLuint program
, GLenum pname
, GLint
* params
) = 0;
229 virtual void GetProgramInfoLog(GLuint program
,
233 virtual void GetRenderbufferParameteriv(GLenum target
,
236 virtual void GetSamplerParameterfv(GLuint sampler
,
238 GLfloat
* params
) = 0;
239 virtual void GetSamplerParameteriv(GLuint sampler
,
242 virtual void GetShaderiv(GLuint shader
, GLenum pname
, GLint
* params
) = 0;
243 virtual void GetShaderInfoLog(GLuint shader
,
247 virtual void GetShaderPrecisionFormat(GLenum shadertype
,
248 GLenum precisiontype
,
250 GLint
* precision
) = 0;
251 virtual void GetShaderSource(GLuint shader
,
255 virtual const GLubyte
* GetString(GLenum name
) = 0;
256 virtual void GetTexParameterfv(GLenum target
,
258 GLfloat
* params
) = 0;
259 virtual void GetTexParameteriv(GLenum target
, GLenum pname
, GLint
* params
) = 0;
260 virtual void GetTransformFeedbackVarying(GLuint program
,
267 virtual GLuint
GetUniformBlockIndex(GLuint program
, const char* name
) = 0;
268 virtual void GetUniformfv(GLuint program
, GLint location
, GLfloat
* params
) = 0;
269 virtual void GetUniformiv(GLuint program
, GLint location
, GLint
* params
) = 0;
270 virtual void GetUniformIndices(GLuint program
,
272 const char* const* names
,
273 GLuint
* indices
) = 0;
274 virtual GLint
GetUniformLocation(GLuint program
, const char* name
) = 0;
275 virtual void GetVertexAttribfv(GLuint index
, GLenum pname
, GLfloat
* params
) = 0;
276 virtual void GetVertexAttribiv(GLuint index
, GLenum pname
, GLint
* params
) = 0;
277 virtual void GetVertexAttribPointerv(GLuint index
,
280 virtual void Hint(GLenum target
, GLenum mode
) = 0;
281 virtual void InvalidateFramebuffer(GLenum target
,
283 const GLenum
* attachments
) = 0;
284 virtual void InvalidateSubFramebuffer(GLenum target
,
286 const GLenum
* attachments
,
291 virtual GLboolean
IsBuffer(GLuint buffer
) = 0;
292 virtual GLboolean
IsEnabled(GLenum cap
) = 0;
293 virtual GLboolean
IsFramebuffer(GLuint framebuffer
) = 0;
294 virtual GLboolean
IsProgram(GLuint program
) = 0;
295 virtual GLboolean
IsRenderbuffer(GLuint renderbuffer
) = 0;
296 virtual GLboolean
IsSampler(GLuint sampler
) = 0;
297 virtual GLboolean
IsShader(GLuint shader
) = 0;
298 virtual GLboolean
IsSync(GLsync sync
) = 0;
299 virtual GLboolean
IsTexture(GLuint texture
) = 0;
300 virtual GLboolean
IsTransformFeedback(GLuint transformfeedback
) = 0;
301 virtual void LineWidth(GLfloat width
) = 0;
302 virtual void LinkProgram(GLuint program
) = 0;
303 virtual void PauseTransformFeedback() = 0;
304 virtual void PixelStorei(GLenum pname
, GLint param
) = 0;
305 virtual void PolygonOffset(GLfloat factor
, GLfloat units
) = 0;
306 virtual void ReadBuffer(GLenum src
) = 0;
307 virtual void ReadPixels(GLint x
,
314 virtual void ReleaseShaderCompiler() = 0;
315 virtual void RenderbufferStorage(GLenum target
,
316 GLenum internalformat
,
319 virtual void ResumeTransformFeedback() = 0;
320 virtual void SampleCoverage(GLclampf value
, GLboolean invert
) = 0;
321 virtual void SamplerParameterf(GLuint sampler
, GLenum pname
, GLfloat param
) = 0;
322 virtual void SamplerParameterfv(GLuint sampler
,
324 const GLfloat
* params
) = 0;
325 virtual void SamplerParameteri(GLuint sampler
, GLenum pname
, GLint param
) = 0;
326 virtual void SamplerParameteriv(GLuint sampler
,
328 const GLint
* params
) = 0;
329 virtual void Scissor(GLint x
, GLint y
, GLsizei width
, GLsizei height
) = 0;
330 virtual void ShaderBinary(GLsizei n
,
331 const GLuint
* shaders
,
335 virtual void ShaderSource(GLuint shader
,
337 const GLchar
* const* str
,
338 const GLint
* length
) = 0;
339 virtual void ShallowFinishCHROMIUM() = 0;
340 virtual void ShallowFlushCHROMIUM() = 0;
341 virtual void OrderingBarrierCHROMIUM() = 0;
342 virtual void StencilFunc(GLenum func
, GLint ref
, GLuint mask
) = 0;
343 virtual void StencilFuncSeparate(GLenum face
,
347 virtual void StencilMask(GLuint mask
) = 0;
348 virtual void StencilMaskSeparate(GLenum face
, GLuint mask
) = 0;
349 virtual void StencilOp(GLenum fail
, GLenum zfail
, GLenum zpass
) = 0;
350 virtual void StencilOpSeparate(GLenum face
,
354 virtual void TexImage2D(GLenum target
,
356 GLint internalformat
,
362 const void* pixels
) = 0;
363 virtual void TexImage3D(GLenum target
,
365 GLint internalformat
,
372 const void* pixels
) = 0;
373 virtual void TexParameterf(GLenum target
, GLenum pname
, GLfloat param
) = 0;
374 virtual void TexParameterfv(GLenum target
,
376 const GLfloat
* params
) = 0;
377 virtual void TexParameteri(GLenum target
, GLenum pname
, GLint param
) = 0;
378 virtual void TexParameteriv(GLenum target
,
380 const GLint
* params
) = 0;
381 virtual void TexStorage3D(GLenum target
,
383 GLenum internalFormat
,
387 virtual void TexSubImage2D(GLenum target
,
395 const void* pixels
) = 0;
396 virtual void TexSubImage3D(GLenum target
,
406 const void* pixels
) = 0;
407 virtual void TransformFeedbackVaryings(GLuint program
,
409 const char* const* varyings
,
410 GLenum buffermode
) = 0;
411 virtual void Uniform1f(GLint location
, GLfloat x
) = 0;
412 virtual void Uniform1fv(GLint location
, GLsizei count
, const GLfloat
* v
) = 0;
413 virtual void Uniform1i(GLint location
, GLint x
) = 0;
414 virtual void Uniform1iv(GLint location
, GLsizei count
, const GLint
* v
) = 0;
415 virtual void Uniform1ui(GLint location
, GLuint x
) = 0;
416 virtual void Uniform1uiv(GLint location
, GLsizei count
, const GLuint
* v
) = 0;
417 virtual void Uniform2f(GLint location
, GLfloat x
, GLfloat y
) = 0;
418 virtual void Uniform2fv(GLint location
, GLsizei count
, const GLfloat
* v
) = 0;
419 virtual void Uniform2i(GLint location
, GLint x
, GLint y
) = 0;
420 virtual void Uniform2iv(GLint location
, GLsizei count
, const GLint
* v
) = 0;
421 virtual void Uniform2ui(GLint location
, GLuint x
, GLuint y
) = 0;
422 virtual void Uniform2uiv(GLint location
, GLsizei count
, const GLuint
* v
) = 0;
423 virtual void Uniform3f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
) = 0;
424 virtual void Uniform3fv(GLint location
, GLsizei count
, const GLfloat
* v
) = 0;
425 virtual void Uniform3i(GLint location
, GLint x
, GLint y
, GLint z
) = 0;
426 virtual void Uniform3iv(GLint location
, GLsizei count
, const GLint
* v
) = 0;
427 virtual void Uniform3ui(GLint location
, GLuint x
, GLuint y
, GLuint z
) = 0;
428 virtual void Uniform3uiv(GLint location
, GLsizei count
, const GLuint
* v
) = 0;
429 virtual void Uniform4f(GLint location
,
434 virtual void Uniform4fv(GLint location
, GLsizei count
, const GLfloat
* v
) = 0;
435 virtual void Uniform4i(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
) = 0;
436 virtual void Uniform4iv(GLint location
, GLsizei count
, const GLint
* v
) = 0;
437 virtual void Uniform4ui(GLint location
,
442 virtual void Uniform4uiv(GLint location
, GLsizei count
, const GLuint
* v
) = 0;
443 virtual void UniformBlockBinding(GLuint program
,
446 virtual void UniformMatrix2fv(GLint location
,
449 const GLfloat
* value
) = 0;
450 virtual void UniformMatrix2x3fv(GLint location
,
453 const GLfloat
* value
) = 0;
454 virtual void UniformMatrix2x4fv(GLint location
,
457 const GLfloat
* value
) = 0;
458 virtual void UniformMatrix3fv(GLint location
,
461 const GLfloat
* value
) = 0;
462 virtual void UniformMatrix3x2fv(GLint location
,
465 const GLfloat
* value
) = 0;
466 virtual void UniformMatrix3x4fv(GLint location
,
469 const GLfloat
* value
) = 0;
470 virtual void UniformMatrix4fv(GLint location
,
473 const GLfloat
* value
) = 0;
474 virtual void UniformMatrix4x2fv(GLint location
,
477 const GLfloat
* value
) = 0;
478 virtual void UniformMatrix4x3fv(GLint location
,
481 const GLfloat
* value
) = 0;
482 virtual void UseProgram(GLuint program
) = 0;
483 virtual void ValidateProgram(GLuint program
) = 0;
484 virtual void VertexAttrib1f(GLuint indx
, GLfloat x
) = 0;
485 virtual void VertexAttrib1fv(GLuint indx
, const GLfloat
* values
) = 0;
486 virtual void VertexAttrib2f(GLuint indx
, GLfloat x
, GLfloat y
) = 0;
487 virtual void VertexAttrib2fv(GLuint indx
, const GLfloat
* values
) = 0;
488 virtual void VertexAttrib3f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
) = 0;
489 virtual void VertexAttrib3fv(GLuint indx
, const GLfloat
* values
) = 0;
490 virtual void VertexAttrib4f(GLuint indx
,
495 virtual void VertexAttrib4fv(GLuint indx
, const GLfloat
* values
) = 0;
496 virtual void VertexAttribI4i(GLuint indx
,
501 virtual void VertexAttribI4iv(GLuint indx
, const GLint
* values
) = 0;
502 virtual void VertexAttribI4ui(GLuint indx
,
507 virtual void VertexAttribI4uiv(GLuint indx
, const GLuint
* values
) = 0;
508 virtual void VertexAttribIPointer(GLuint indx
,
512 const void* ptr
) = 0;
513 virtual void VertexAttribPointer(GLuint indx
,
516 GLboolean normalized
,
518 const void* ptr
) = 0;
519 virtual void Viewport(GLint x
, GLint y
, GLsizei width
, GLsizei height
) = 0;
520 virtual void WaitSync(GLsync sync
, GLbitfield flags
, GLuint64 timeout
) = 0;
521 virtual void BlitFramebufferCHROMIUM(GLint srcX0
,
531 virtual void RenderbufferStorageMultisampleCHROMIUM(GLenum target
,
533 GLenum internalformat
,
536 virtual void RenderbufferStorageMultisampleEXT(GLenum target
,
538 GLenum internalformat
,
541 virtual void FramebufferTexture2DMultisampleEXT(GLenum target
,
546 GLsizei samples
) = 0;
547 virtual void TexStorage2DEXT(GLenum target
,
549 GLenum internalFormat
,
552 virtual void GenQueriesEXT(GLsizei n
, GLuint
* queries
) = 0;
553 virtual void DeleteQueriesEXT(GLsizei n
, const GLuint
* queries
) = 0;
554 virtual GLboolean
IsQueryEXT(GLuint id
) = 0;
555 virtual void BeginQueryEXT(GLenum target
, GLuint id
) = 0;
556 virtual void BeginTransformFeedback(GLenum primitivemode
) = 0;
557 virtual void EndQueryEXT(GLenum target
) = 0;
558 virtual void EndTransformFeedback() = 0;
559 virtual void GetQueryivEXT(GLenum target
, GLenum pname
, GLint
* params
) = 0;
560 virtual void GetQueryObjectuivEXT(GLuint id
, GLenum pname
, GLuint
* params
) = 0;
561 virtual void InsertEventMarkerEXT(GLsizei length
, const GLchar
* marker
) = 0;
562 virtual void PushGroupMarkerEXT(GLsizei length
, const GLchar
* marker
) = 0;
563 virtual void PopGroupMarkerEXT() = 0;
564 virtual void GenVertexArraysOES(GLsizei n
, GLuint
* arrays
) = 0;
565 virtual void DeleteVertexArraysOES(GLsizei n
, const GLuint
* arrays
) = 0;
566 virtual GLboolean
IsVertexArrayOES(GLuint array
) = 0;
567 virtual void BindVertexArrayOES(GLuint array
) = 0;
568 virtual void SwapBuffers() = 0;
569 virtual GLuint
GetMaxValueInBufferCHROMIUM(GLuint buffer_id
,
573 virtual GLboolean
EnableFeatureCHROMIUM(const char* feature
) = 0;
574 virtual void* MapBufferCHROMIUM(GLuint target
, GLenum access
) = 0;
575 virtual GLboolean
UnmapBufferCHROMIUM(GLuint target
) = 0;
576 virtual void* MapBufferSubDataCHROMIUM(GLuint target
,
580 virtual void UnmapBufferSubDataCHROMIUM(const void* mem
) = 0;
581 virtual void* MapTexSubImage2DCHROMIUM(GLenum target
,
590 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem
) = 0;
591 virtual void ResizeCHROMIUM(GLuint width
,
593 GLfloat scale_factor
) = 0;
594 virtual const GLchar
* GetRequestableExtensionsCHROMIUM() = 0;
595 virtual void RequestExtensionCHROMIUM(const char* extension
) = 0;
596 virtual void RateLimitOffscreenContextCHROMIUM() = 0;
597 virtual void GetProgramInfoCHROMIUM(GLuint program
,
601 virtual void GetUniformBlocksCHROMIUM(GLuint program
,
605 virtual void GetTransformFeedbackVaryingsCHROMIUM(GLuint program
,
609 virtual void GetUniformsES3CHROMIUM(GLuint program
,
613 virtual GLuint
CreateStreamTextureCHROMIUM(GLuint texture
) = 0;
614 virtual GLuint
CreateImageCHROMIUM(ClientBuffer buffer
,
617 GLenum internalformat
) = 0;
618 virtual void DestroyImageCHROMIUM(GLuint image_id
) = 0;
619 virtual GLuint
CreateGpuMemoryBufferImageCHROMIUM(GLsizei width
,
621 GLenum internalformat
,
623 virtual void GetTranslatedShaderSourceANGLE(GLuint shader
,
627 virtual void PostSubBufferCHROMIUM(GLint x
,
631 virtual void TexImageIOSurface2DCHROMIUM(GLenum target
,
636 virtual void CopyTextureCHROMIUM(GLenum target
,
640 GLint internalformat
,
641 GLenum dest_type
) = 0;
642 virtual void DrawArraysInstancedANGLE(GLenum mode
,
645 GLsizei primcount
) = 0;
646 virtual void DrawElementsInstancedANGLE(GLenum mode
,
650 GLsizei primcount
) = 0;
651 virtual void VertexAttribDivisorANGLE(GLuint index
, GLuint divisor
) = 0;
652 virtual void GenMailboxCHROMIUM(GLbyte
* mailbox
) = 0;
653 virtual void ProduceTextureCHROMIUM(GLenum target
, const GLbyte
* mailbox
) = 0;
654 virtual void ProduceTextureDirectCHROMIUM(GLuint texture
,
656 const GLbyte
* mailbox
) = 0;
657 virtual void ConsumeTextureCHROMIUM(GLenum target
, const GLbyte
* mailbox
) = 0;
658 virtual GLuint
CreateAndConsumeTextureCHROMIUM(GLenum target
,
659 const GLbyte
* mailbox
) = 0;
660 virtual void BindUniformLocationCHROMIUM(GLuint program
,
662 const char* name
) = 0;
663 virtual void GenValuebuffersCHROMIUM(GLsizei n
, GLuint
* buffers
) = 0;
664 virtual void DeleteValuebuffersCHROMIUM(GLsizei n
,
665 const GLuint
* valuebuffers
) = 0;
666 virtual GLboolean
IsValuebufferCHROMIUM(GLuint valuebuffer
) = 0;
667 virtual void BindValuebufferCHROMIUM(GLenum target
, GLuint valuebuffer
) = 0;
668 virtual void SubscribeValueCHROMIUM(GLenum target
, GLenum subscription
) = 0;
669 virtual void PopulateSubscribedValuesCHROMIUM(GLenum target
) = 0;
670 virtual void UniformValuebufferCHROMIUM(GLint location
,
672 GLenum subscription
) = 0;
673 virtual void BindTexImage2DCHROMIUM(GLenum target
, GLint imageId
) = 0;
674 virtual void ReleaseTexImage2DCHROMIUM(GLenum target
, GLint imageId
) = 0;
675 virtual void TraceBeginCHROMIUM(const char* category_name
,
676 const char* trace_name
) = 0;
677 virtual void TraceEndCHROMIUM() = 0;
678 virtual void AsyncTexSubImage2DCHROMIUM(GLenum target
,
686 const void* data
) = 0;
687 virtual void AsyncTexImage2DCHROMIUM(GLenum target
,
689 GLenum internalformat
,
695 const void* pixels
) = 0;
696 virtual void WaitAsyncTexImage2DCHROMIUM(GLenum target
) = 0;
697 virtual void WaitAllAsyncTexImage2DCHROMIUM() = 0;
698 virtual void DiscardFramebufferEXT(GLenum target
,
700 const GLenum
* attachments
) = 0;
701 virtual void LoseContextCHROMIUM(GLenum current
, GLenum other
) = 0;
702 virtual GLuint
InsertSyncPointCHROMIUM() = 0;
703 virtual void WaitSyncPointCHROMIUM(GLuint sync_point
) = 0;
704 virtual void DrawBuffersEXT(GLsizei count
, const GLenum
* bufs
) = 0;
705 virtual void DiscardBackbufferCHROMIUM() = 0;
706 virtual void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order
,
707 GLenum plane_transform
,
708 GLuint overlay_texture_id
,
716 GLfloat uv_height
) = 0;
717 virtual void SwapInterval(GLint interval
) = 0;
718 virtual void MatrixLoadfCHROMIUM(GLenum matrixMode
, const GLfloat
* m
) = 0;
719 virtual void MatrixLoadIdentityCHROMIUM(GLenum matrixMode
) = 0;
720 virtual void BlendBarrierKHR() = 0;
721 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_