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 DrawRangeElements(GLenum mode
,
156 const void* indices
) = 0;
157 virtual void Enable(GLenum cap
) = 0;
158 virtual void EnableVertexAttribArray(GLuint index
) = 0;
159 virtual GLsync
FenceSync(GLenum condition
, GLbitfield flags
) = 0;
160 virtual void Finish() = 0;
161 virtual void Flush() = 0;
162 virtual void FramebufferRenderbuffer(GLenum target
,
164 GLenum renderbuffertarget
,
165 GLuint renderbuffer
) = 0;
166 virtual void FramebufferTexture2D(GLenum target
,
171 virtual void FramebufferTextureLayer(GLenum target
,
176 virtual void FrontFace(GLenum mode
) = 0;
177 virtual void GenBuffers(GLsizei n
, GLuint
* buffers
) = 0;
178 virtual void GenerateMipmap(GLenum target
) = 0;
179 virtual void GenFramebuffers(GLsizei n
, GLuint
* framebuffers
) = 0;
180 virtual void GenRenderbuffers(GLsizei n
, GLuint
* renderbuffers
) = 0;
181 virtual void GenSamplers(GLsizei n
, GLuint
* samplers
) = 0;
182 virtual void GenTextures(GLsizei n
, GLuint
* textures
) = 0;
183 virtual void GenTransformFeedbacks(GLsizei n
, GLuint
* ids
) = 0;
184 virtual void GetActiveAttrib(GLuint program
,
191 virtual void GetActiveUniform(GLuint program
,
198 virtual void GetActiveUniformBlockiv(GLuint program
,
202 virtual void GetActiveUniformBlockName(GLuint program
,
207 virtual void GetActiveUniformsiv(GLuint program
,
209 const GLuint
* indices
,
212 virtual void GetAttachedShaders(GLuint program
,
215 GLuint
* shaders
) = 0;
216 virtual GLint
GetAttribLocation(GLuint program
, const char* name
) = 0;
217 virtual void GetBooleanv(GLenum pname
, GLboolean
* params
) = 0;
218 virtual void GetBufferParameteriv(GLenum target
,
221 virtual GLenum
GetError() = 0;
222 virtual void GetFloatv(GLenum pname
, GLfloat
* params
) = 0;
223 virtual GLint
GetFragDataLocation(GLuint program
, const char* name
) = 0;
224 virtual void GetFramebufferAttachmentParameteriv(GLenum target
,
228 virtual void GetIntegerv(GLenum pname
, GLint
* params
) = 0;
229 virtual void GetInternalformativ(GLenum target
,
234 virtual void GetProgramiv(GLuint program
, GLenum pname
, GLint
* params
) = 0;
235 virtual void GetProgramInfoLog(GLuint program
,
239 virtual void GetRenderbufferParameteriv(GLenum target
,
242 virtual void GetSamplerParameterfv(GLuint sampler
,
244 GLfloat
* params
) = 0;
245 virtual void GetSamplerParameteriv(GLuint sampler
,
248 virtual void GetShaderiv(GLuint shader
, GLenum pname
, GLint
* params
) = 0;
249 virtual void GetShaderInfoLog(GLuint shader
,
253 virtual void GetShaderPrecisionFormat(GLenum shadertype
,
254 GLenum precisiontype
,
256 GLint
* precision
) = 0;
257 virtual void GetShaderSource(GLuint shader
,
261 virtual const GLubyte
* GetString(GLenum name
) = 0;
262 virtual void GetSynciv(GLsync sync
,
267 virtual void GetTexParameterfv(GLenum target
,
269 GLfloat
* params
) = 0;
270 virtual void GetTexParameteriv(GLenum target
, GLenum pname
, GLint
* params
) = 0;
271 virtual void GetTransformFeedbackVarying(GLuint program
,
278 virtual GLuint
GetUniformBlockIndex(GLuint program
, const char* name
) = 0;
279 virtual void GetUniformfv(GLuint program
, GLint location
, GLfloat
* params
) = 0;
280 virtual void GetUniformiv(GLuint program
, GLint location
, GLint
* params
) = 0;
281 virtual void GetUniformIndices(GLuint program
,
283 const char* const* names
,
284 GLuint
* indices
) = 0;
285 virtual GLint
GetUniformLocation(GLuint program
, const char* name
) = 0;
286 virtual void GetVertexAttribfv(GLuint index
, GLenum pname
, GLfloat
* params
) = 0;
287 virtual void GetVertexAttribiv(GLuint index
, GLenum pname
, GLint
* params
) = 0;
288 virtual void GetVertexAttribPointerv(GLuint index
,
291 virtual void Hint(GLenum target
, GLenum mode
) = 0;
292 virtual void InvalidateFramebuffer(GLenum target
,
294 const GLenum
* attachments
) = 0;
295 virtual void InvalidateSubFramebuffer(GLenum target
,
297 const GLenum
* attachments
,
302 virtual GLboolean
IsBuffer(GLuint buffer
) = 0;
303 virtual GLboolean
IsEnabled(GLenum cap
) = 0;
304 virtual GLboolean
IsFramebuffer(GLuint framebuffer
) = 0;
305 virtual GLboolean
IsProgram(GLuint program
) = 0;
306 virtual GLboolean
IsRenderbuffer(GLuint renderbuffer
) = 0;
307 virtual GLboolean
IsSampler(GLuint sampler
) = 0;
308 virtual GLboolean
IsShader(GLuint shader
) = 0;
309 virtual GLboolean
IsSync(GLsync sync
) = 0;
310 virtual GLboolean
IsTexture(GLuint texture
) = 0;
311 virtual GLboolean
IsTransformFeedback(GLuint transformfeedback
) = 0;
312 virtual void LineWidth(GLfloat width
) = 0;
313 virtual void LinkProgram(GLuint program
) = 0;
314 virtual void PauseTransformFeedback() = 0;
315 virtual void PixelStorei(GLenum pname
, GLint param
) = 0;
316 virtual void PolygonOffset(GLfloat factor
, GLfloat units
) = 0;
317 virtual void ReadBuffer(GLenum src
) = 0;
318 virtual void ReadPixels(GLint x
,
325 virtual void ReleaseShaderCompiler() = 0;
326 virtual void RenderbufferStorage(GLenum target
,
327 GLenum internalformat
,
330 virtual void ResumeTransformFeedback() = 0;
331 virtual void SampleCoverage(GLclampf value
, GLboolean invert
) = 0;
332 virtual void SamplerParameterf(GLuint sampler
, GLenum pname
, GLfloat param
) = 0;
333 virtual void SamplerParameterfv(GLuint sampler
,
335 const GLfloat
* params
) = 0;
336 virtual void SamplerParameteri(GLuint sampler
, GLenum pname
, GLint param
) = 0;
337 virtual void SamplerParameteriv(GLuint sampler
,
339 const GLint
* params
) = 0;
340 virtual void Scissor(GLint x
, GLint y
, GLsizei width
, GLsizei height
) = 0;
341 virtual void ShaderBinary(GLsizei n
,
342 const GLuint
* shaders
,
346 virtual void ShaderSource(GLuint shader
,
348 const GLchar
* const* str
,
349 const GLint
* length
) = 0;
350 virtual void ShallowFinishCHROMIUM() = 0;
351 virtual void ShallowFlushCHROMIUM() = 0;
352 virtual void OrderingBarrierCHROMIUM() = 0;
353 virtual void StencilFunc(GLenum func
, GLint ref
, GLuint mask
) = 0;
354 virtual void StencilFuncSeparate(GLenum face
,
358 virtual void StencilMask(GLuint mask
) = 0;
359 virtual void StencilMaskSeparate(GLenum face
, GLuint mask
) = 0;
360 virtual void StencilOp(GLenum fail
, GLenum zfail
, GLenum zpass
) = 0;
361 virtual void StencilOpSeparate(GLenum face
,
365 virtual void TexImage2D(GLenum target
,
367 GLint internalformat
,
373 const void* pixels
) = 0;
374 virtual void TexImage3D(GLenum target
,
376 GLint internalformat
,
383 const void* pixels
) = 0;
384 virtual void TexParameterf(GLenum target
, GLenum pname
, GLfloat param
) = 0;
385 virtual void TexParameterfv(GLenum target
,
387 const GLfloat
* params
) = 0;
388 virtual void TexParameteri(GLenum target
, GLenum pname
, GLint param
) = 0;
389 virtual void TexParameteriv(GLenum target
,
391 const GLint
* params
) = 0;
392 virtual void TexStorage3D(GLenum target
,
394 GLenum internalFormat
,
398 virtual void TexSubImage2D(GLenum target
,
406 const void* pixels
) = 0;
407 virtual void TexSubImage3D(GLenum target
,
417 const void* pixels
) = 0;
418 virtual void TransformFeedbackVaryings(GLuint program
,
420 const char* const* varyings
,
421 GLenum buffermode
) = 0;
422 virtual void Uniform1f(GLint location
, GLfloat x
) = 0;
423 virtual void Uniform1fv(GLint location
, GLsizei count
, const GLfloat
* v
) = 0;
424 virtual void Uniform1i(GLint location
, GLint x
) = 0;
425 virtual void Uniform1iv(GLint location
, GLsizei count
, const GLint
* v
) = 0;
426 virtual void Uniform1ui(GLint location
, GLuint x
) = 0;
427 virtual void Uniform1uiv(GLint location
, GLsizei count
, const GLuint
* v
) = 0;
428 virtual void Uniform2f(GLint location
, GLfloat x
, GLfloat y
) = 0;
429 virtual void Uniform2fv(GLint location
, GLsizei count
, const GLfloat
* v
) = 0;
430 virtual void Uniform2i(GLint location
, GLint x
, GLint y
) = 0;
431 virtual void Uniform2iv(GLint location
, GLsizei count
, const GLint
* v
) = 0;
432 virtual void Uniform2ui(GLint location
, GLuint x
, GLuint y
) = 0;
433 virtual void Uniform2uiv(GLint location
, GLsizei count
, const GLuint
* v
) = 0;
434 virtual void Uniform3f(GLint location
, GLfloat x
, GLfloat y
, GLfloat z
) = 0;
435 virtual void Uniform3fv(GLint location
, GLsizei count
, const GLfloat
* v
) = 0;
436 virtual void Uniform3i(GLint location
, GLint x
, GLint y
, GLint z
) = 0;
437 virtual void Uniform3iv(GLint location
, GLsizei count
, const GLint
* v
) = 0;
438 virtual void Uniform3ui(GLint location
, GLuint x
, GLuint y
, GLuint z
) = 0;
439 virtual void Uniform3uiv(GLint location
, GLsizei count
, const GLuint
* v
) = 0;
440 virtual void Uniform4f(GLint location
,
445 virtual void Uniform4fv(GLint location
, GLsizei count
, const GLfloat
* v
) = 0;
446 virtual void Uniform4i(GLint location
, GLint x
, GLint y
, GLint z
, GLint w
) = 0;
447 virtual void Uniform4iv(GLint location
, GLsizei count
, const GLint
* v
) = 0;
448 virtual void Uniform4ui(GLint location
,
453 virtual void Uniform4uiv(GLint location
, GLsizei count
, const GLuint
* v
) = 0;
454 virtual void UniformBlockBinding(GLuint program
,
457 virtual void UniformMatrix2fv(GLint location
,
460 const GLfloat
* value
) = 0;
461 virtual void UniformMatrix2x3fv(GLint location
,
464 const GLfloat
* value
) = 0;
465 virtual void UniformMatrix2x4fv(GLint location
,
468 const GLfloat
* value
) = 0;
469 virtual void UniformMatrix3fv(GLint location
,
472 const GLfloat
* value
) = 0;
473 virtual void UniformMatrix3x2fv(GLint location
,
476 const GLfloat
* value
) = 0;
477 virtual void UniformMatrix3x4fv(GLint location
,
480 const GLfloat
* value
) = 0;
481 virtual void UniformMatrix4fv(GLint location
,
484 const GLfloat
* value
) = 0;
485 virtual void UniformMatrix4x2fv(GLint location
,
488 const GLfloat
* value
) = 0;
489 virtual void UniformMatrix4x3fv(GLint location
,
492 const GLfloat
* value
) = 0;
493 virtual void UseProgram(GLuint program
) = 0;
494 virtual void ValidateProgram(GLuint program
) = 0;
495 virtual void VertexAttrib1f(GLuint indx
, GLfloat x
) = 0;
496 virtual void VertexAttrib1fv(GLuint indx
, const GLfloat
* values
) = 0;
497 virtual void VertexAttrib2f(GLuint indx
, GLfloat x
, GLfloat y
) = 0;
498 virtual void VertexAttrib2fv(GLuint indx
, const GLfloat
* values
) = 0;
499 virtual void VertexAttrib3f(GLuint indx
, GLfloat x
, GLfloat y
, GLfloat z
) = 0;
500 virtual void VertexAttrib3fv(GLuint indx
, const GLfloat
* values
) = 0;
501 virtual void VertexAttrib4f(GLuint indx
,
506 virtual void VertexAttrib4fv(GLuint indx
, const GLfloat
* values
) = 0;
507 virtual void VertexAttribI4i(GLuint indx
,
512 virtual void VertexAttribI4iv(GLuint indx
, const GLint
* values
) = 0;
513 virtual void VertexAttribI4ui(GLuint indx
,
518 virtual void VertexAttribI4uiv(GLuint indx
, const GLuint
* values
) = 0;
519 virtual void VertexAttribIPointer(GLuint indx
,
523 const void* ptr
) = 0;
524 virtual void VertexAttribPointer(GLuint indx
,
527 GLboolean normalized
,
529 const void* ptr
) = 0;
530 virtual void Viewport(GLint x
, GLint y
, GLsizei width
, GLsizei height
) = 0;
531 virtual void WaitSync(GLsync sync
, GLbitfield flags
, GLuint64 timeout
) = 0;
532 virtual void BlitFramebufferCHROMIUM(GLint srcX0
,
542 virtual void RenderbufferStorageMultisampleCHROMIUM(GLenum target
,
544 GLenum internalformat
,
547 virtual void RenderbufferStorageMultisampleEXT(GLenum target
,
549 GLenum internalformat
,
552 virtual void FramebufferTexture2DMultisampleEXT(GLenum target
,
557 GLsizei samples
) = 0;
558 virtual void TexStorage2DEXT(GLenum target
,
560 GLenum internalFormat
,
563 virtual void GenQueriesEXT(GLsizei n
, GLuint
* queries
) = 0;
564 virtual void DeleteQueriesEXT(GLsizei n
, const GLuint
* queries
) = 0;
565 virtual GLboolean
IsQueryEXT(GLuint id
) = 0;
566 virtual void BeginQueryEXT(GLenum target
, GLuint id
) = 0;
567 virtual void BeginTransformFeedback(GLenum primitivemode
) = 0;
568 virtual void EndQueryEXT(GLenum target
) = 0;
569 virtual void EndTransformFeedback() = 0;
570 virtual void GetQueryivEXT(GLenum target
, GLenum pname
, GLint
* params
) = 0;
571 virtual void GetQueryObjectuivEXT(GLuint id
, GLenum pname
, GLuint
* params
) = 0;
572 virtual void InsertEventMarkerEXT(GLsizei length
, const GLchar
* marker
) = 0;
573 virtual void PushGroupMarkerEXT(GLsizei length
, const GLchar
* marker
) = 0;
574 virtual void PopGroupMarkerEXT() = 0;
575 virtual void GenVertexArraysOES(GLsizei n
, GLuint
* arrays
) = 0;
576 virtual void DeleteVertexArraysOES(GLsizei n
, const GLuint
* arrays
) = 0;
577 virtual GLboolean
IsVertexArrayOES(GLuint array
) = 0;
578 virtual void BindVertexArrayOES(GLuint array
) = 0;
579 virtual void SwapBuffers() = 0;
580 virtual GLuint
GetMaxValueInBufferCHROMIUM(GLuint buffer_id
,
584 virtual GLboolean
EnableFeatureCHROMIUM(const char* feature
) = 0;
585 virtual void* MapBufferCHROMIUM(GLuint target
, GLenum access
) = 0;
586 virtual GLboolean
UnmapBufferCHROMIUM(GLuint target
) = 0;
587 virtual void* MapBufferSubDataCHROMIUM(GLuint target
,
591 virtual void UnmapBufferSubDataCHROMIUM(const void* mem
) = 0;
592 virtual void* MapBufferRange(GLenum target
,
595 GLbitfield access
) = 0;
596 virtual GLboolean
UnmapBuffer(GLenum target
) = 0;
597 virtual void* MapTexSubImage2DCHROMIUM(GLenum target
,
606 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem
) = 0;
607 virtual void ResizeCHROMIUM(GLuint width
,
609 GLfloat scale_factor
) = 0;
610 virtual const GLchar
* GetRequestableExtensionsCHROMIUM() = 0;
611 virtual void RequestExtensionCHROMIUM(const char* extension
) = 0;
612 virtual void RateLimitOffscreenContextCHROMIUM() = 0;
613 virtual void GetProgramInfoCHROMIUM(GLuint program
,
617 virtual void GetUniformBlocksCHROMIUM(GLuint program
,
621 virtual void GetTransformFeedbackVaryingsCHROMIUM(GLuint program
,
625 virtual void GetUniformsES3CHROMIUM(GLuint program
,
629 virtual GLuint
CreateStreamTextureCHROMIUM(GLuint texture
) = 0;
630 virtual GLuint
CreateImageCHROMIUM(ClientBuffer buffer
,
633 GLenum internalformat
) = 0;
634 virtual void DestroyImageCHROMIUM(GLuint image_id
) = 0;
635 virtual GLuint
CreateGpuMemoryBufferImageCHROMIUM(GLsizei width
,
637 GLenum internalformat
,
639 virtual void GetTranslatedShaderSourceANGLE(GLuint shader
,
643 virtual void PostSubBufferCHROMIUM(GLint x
,
647 virtual void TexImageIOSurface2DCHROMIUM(GLenum target
,
652 virtual void CopyTextureCHROMIUM(GLenum target
,
655 GLint internalformat
,
656 GLenum dest_type
) = 0;
657 virtual void CopySubTextureCHROMIUM(GLenum target
,
662 virtual void DrawArraysInstancedANGLE(GLenum mode
,
665 GLsizei primcount
) = 0;
666 virtual void DrawElementsInstancedANGLE(GLenum mode
,
670 GLsizei primcount
) = 0;
671 virtual void VertexAttribDivisorANGLE(GLuint index
, GLuint divisor
) = 0;
672 virtual void GenMailboxCHROMIUM(GLbyte
* mailbox
) = 0;
673 virtual void ProduceTextureCHROMIUM(GLenum target
, const GLbyte
* mailbox
) = 0;
674 virtual void ProduceTextureDirectCHROMIUM(GLuint texture
,
676 const GLbyte
* mailbox
) = 0;
677 virtual void ConsumeTextureCHROMIUM(GLenum target
, const GLbyte
* mailbox
) = 0;
678 virtual GLuint
CreateAndConsumeTextureCHROMIUM(GLenum target
,
679 const GLbyte
* mailbox
) = 0;
680 virtual void BindUniformLocationCHROMIUM(GLuint program
,
682 const char* name
) = 0;
683 virtual void GenValuebuffersCHROMIUM(GLsizei n
, GLuint
* buffers
) = 0;
684 virtual void DeleteValuebuffersCHROMIUM(GLsizei n
,
685 const GLuint
* valuebuffers
) = 0;
686 virtual GLboolean
IsValuebufferCHROMIUM(GLuint valuebuffer
) = 0;
687 virtual void BindValuebufferCHROMIUM(GLenum target
, GLuint valuebuffer
) = 0;
688 virtual void SubscribeValueCHROMIUM(GLenum target
, GLenum subscription
) = 0;
689 virtual void PopulateSubscribedValuesCHROMIUM(GLenum target
) = 0;
690 virtual void UniformValuebufferCHROMIUM(GLint location
,
692 GLenum subscription
) = 0;
693 virtual void BindTexImage2DCHROMIUM(GLenum target
, GLint imageId
) = 0;
694 virtual void ReleaseTexImage2DCHROMIUM(GLenum target
, GLint imageId
) = 0;
695 virtual void TraceBeginCHROMIUM(const char* category_name
,
696 const char* trace_name
) = 0;
697 virtual void TraceEndCHROMIUM() = 0;
698 virtual void AsyncTexSubImage2DCHROMIUM(GLenum target
,
706 const void* data
) = 0;
707 virtual void AsyncTexImage2DCHROMIUM(GLenum target
,
709 GLenum internalformat
,
715 const void* pixels
) = 0;
716 virtual void WaitAsyncTexImage2DCHROMIUM(GLenum target
) = 0;
717 virtual void WaitAllAsyncTexImage2DCHROMIUM() = 0;
718 virtual void DiscardFramebufferEXT(GLenum target
,
720 const GLenum
* attachments
) = 0;
721 virtual void LoseContextCHROMIUM(GLenum current
, GLenum other
) = 0;
722 virtual GLuint
InsertSyncPointCHROMIUM() = 0;
723 virtual void WaitSyncPointCHROMIUM(GLuint sync_point
) = 0;
724 virtual void DrawBuffersEXT(GLsizei count
, const GLenum
* bufs
) = 0;
725 virtual void DiscardBackbufferCHROMIUM() = 0;
726 virtual void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order
,
727 GLenum plane_transform
,
728 GLuint overlay_texture_id
,
736 GLfloat uv_height
) = 0;
737 virtual void SwapInterval(GLint interval
) = 0;
738 virtual void MatrixLoadfCHROMIUM(GLenum matrixMode
, const GLfloat
* m
) = 0;
739 virtual void MatrixLoadIdentityCHROMIUM(GLenum matrixMode
) = 0;
740 virtual void BlendBarrierKHR() = 0;
741 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_