Rewrite AndroidSyncSettings to be significantly simpler.
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_interface_autogen.h
blobd5b4f93e74b0ea9c194fe0339e3847c877eebc93
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
9 // DO NOT EDIT!
11 // This file is included by gles2_interface.h to declare the
12 // GL api functions.
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,
19 GLuint index,
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,
24 GLuint index,
25 GLuint buffer,
26 GLintptr offset,
27 GLsizeiptr size) = 0;
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,
34 GLclampf green,
35 GLclampf blue,
36 GLclampf alpha) = 0;
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,
41 GLenum dstRGB,
42 GLenum srcAlpha,
43 GLenum dstAlpha) = 0;
44 virtual void BufferData(GLenum target,
45 GLsizeiptr size,
46 const void* data,
47 GLenum usage) = 0;
48 virtual void BufferSubData(GLenum target,
49 GLintptr offset,
50 GLsizeiptr size,
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,
55 GLint drawbuffers,
56 GLfloat depth,
57 GLint stencil) = 0;
58 virtual void ClearBufferfv(GLenum buffer,
59 GLint drawbuffers,
60 const GLfloat* value) = 0;
61 virtual void ClearBufferiv(GLenum buffer,
62 GLint drawbuffers,
63 const GLint* value) = 0;
64 virtual void ClearBufferuiv(GLenum buffer,
65 GLint drawbuffers,
66 const GLuint* value) = 0;
67 virtual void ClearColor(GLclampf red,
68 GLclampf green,
69 GLclampf blue,
70 GLclampf alpha) = 0;
71 virtual void ClearDepthf(GLclampf depth) = 0;
72 virtual void ClearStencil(GLint s) = 0;
73 virtual GLenum ClientWaitSync(GLsync sync,
74 GLbitfield flags,
75 GLuint64 timeout) = 0;
76 virtual void ColorMask(GLboolean red,
77 GLboolean green,
78 GLboolean blue,
79 GLboolean alpha) = 0;
80 virtual void CompileShader(GLuint shader) = 0;
81 virtual void CompressedTexImage2D(GLenum target,
82 GLint level,
83 GLenum internalformat,
84 GLsizei width,
85 GLsizei height,
86 GLint border,
87 GLsizei imageSize,
88 const void* data) = 0;
89 virtual void CompressedTexSubImage2D(GLenum target,
90 GLint level,
91 GLint xoffset,
92 GLint yoffset,
93 GLsizei width,
94 GLsizei height,
95 GLenum format,
96 GLsizei imageSize,
97 const void* data) = 0;
98 virtual void CopyBufferSubData(GLenum readtarget,
99 GLenum writetarget,
100 GLintptr readoffset,
101 GLintptr writeoffset,
102 GLsizeiptr size) = 0;
103 virtual void CopyTexImage2D(GLenum target,
104 GLint level,
105 GLenum internalformat,
106 GLint x,
107 GLint y,
108 GLsizei width,
109 GLsizei height,
110 GLint border) = 0;
111 virtual void CopyTexSubImage2D(GLenum target,
112 GLint level,
113 GLint xoffset,
114 GLint yoffset,
115 GLint x,
116 GLint y,
117 GLsizei width,
118 GLsizei height) = 0;
119 virtual void CopyTexSubImage3D(GLenum target,
120 GLint level,
121 GLint xoffset,
122 GLint yoffset,
123 GLint zoffset,
124 GLint x,
125 GLint y,
126 GLsizei width,
127 GLsizei height) = 0;
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,
148 GLsizei count,
149 GLenum type,
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,
157 GLenum attachment,
158 GLenum renderbuffertarget,
159 GLuint renderbuffer) = 0;
160 virtual void FramebufferTexture2D(GLenum target,
161 GLenum attachment,
162 GLenum textarget,
163 GLuint texture,
164 GLint level) = 0;
165 virtual void FramebufferTextureLayer(GLenum target,
166 GLenum attachment,
167 GLuint texture,
168 GLint level,
169 GLint layer) = 0;
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,
179 GLuint index,
180 GLsizei bufsize,
181 GLsizei* length,
182 GLint* size,
183 GLenum* type,
184 char* name) = 0;
185 virtual void GetActiveUniform(GLuint program,
186 GLuint index,
187 GLsizei bufsize,
188 GLsizei* length,
189 GLint* size,
190 GLenum* type,
191 char* name) = 0;
192 virtual void GetActiveUniformBlockiv(GLuint program,
193 GLuint index,
194 GLenum pname,
195 GLint* params) = 0;
196 virtual void GetActiveUniformBlockName(GLuint program,
197 GLuint index,
198 GLsizei bufsize,
199 GLsizei* length,
200 char* name) = 0;
201 virtual void GetActiveUniformsiv(GLuint program,
202 GLsizei count,
203 const GLuint* indices,
204 GLenum pname,
205 GLint* params) = 0;
206 virtual void GetAttachedShaders(GLuint program,
207 GLsizei maxcount,
208 GLsizei* count,
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,
213 GLenum pname,
214 GLint* params) = 0;
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,
219 GLenum attachment,
220 GLenum pname,
221 GLint* params) = 0;
222 virtual void GetIntegerv(GLenum pname, GLint* params) = 0;
223 virtual void GetInternalformativ(GLenum target,
224 GLenum format,
225 GLenum pname,
226 GLsizei bufSize,
227 GLint* params) = 0;
228 virtual void GetProgramiv(GLuint program, GLenum pname, GLint* params) = 0;
229 virtual void GetProgramInfoLog(GLuint program,
230 GLsizei bufsize,
231 GLsizei* length,
232 char* infolog) = 0;
233 virtual void GetRenderbufferParameteriv(GLenum target,
234 GLenum pname,
235 GLint* params) = 0;
236 virtual void GetSamplerParameterfv(GLuint sampler,
237 GLenum pname,
238 GLfloat* params) = 0;
239 virtual void GetSamplerParameteriv(GLuint sampler,
240 GLenum pname,
241 GLint* params) = 0;
242 virtual void GetShaderiv(GLuint shader, GLenum pname, GLint* params) = 0;
243 virtual void GetShaderInfoLog(GLuint shader,
244 GLsizei bufsize,
245 GLsizei* length,
246 char* infolog) = 0;
247 virtual void GetShaderPrecisionFormat(GLenum shadertype,
248 GLenum precisiontype,
249 GLint* range,
250 GLint* precision) = 0;
251 virtual void GetShaderSource(GLuint shader,
252 GLsizei bufsize,
253 GLsizei* length,
254 char* source) = 0;
255 virtual const GLubyte* GetString(GLenum name) = 0;
256 virtual void GetSynciv(GLsync sync,
257 GLenum pname,
258 GLsizei bufsize,
259 GLsizei* length,
260 GLint* values) = 0;
261 virtual void GetTexParameterfv(GLenum target,
262 GLenum pname,
263 GLfloat* params) = 0;
264 virtual void GetTexParameteriv(GLenum target, GLenum pname, GLint* params) = 0;
265 virtual void GetTransformFeedbackVarying(GLuint program,
266 GLuint index,
267 GLsizei bufsize,
268 GLsizei* length,
269 GLsizei* size,
270 GLenum* type,
271 char* name) = 0;
272 virtual GLuint GetUniformBlockIndex(GLuint program, const char* name) = 0;
273 virtual void GetUniformfv(GLuint program, GLint location, GLfloat* params) = 0;
274 virtual void GetUniformiv(GLuint program, GLint location, GLint* params) = 0;
275 virtual void GetUniformIndices(GLuint program,
276 GLsizei count,
277 const char* const* names,
278 GLuint* indices) = 0;
279 virtual GLint GetUniformLocation(GLuint program, const char* name) = 0;
280 virtual void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) = 0;
281 virtual void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) = 0;
282 virtual void GetVertexAttribPointerv(GLuint index,
283 GLenum pname,
284 void** pointer) = 0;
285 virtual void Hint(GLenum target, GLenum mode) = 0;
286 virtual void InvalidateFramebuffer(GLenum target,
287 GLsizei count,
288 const GLenum* attachments) = 0;
289 virtual void InvalidateSubFramebuffer(GLenum target,
290 GLsizei count,
291 const GLenum* attachments,
292 GLint x,
293 GLint y,
294 GLsizei width,
295 GLsizei height) = 0;
296 virtual GLboolean IsBuffer(GLuint buffer) = 0;
297 virtual GLboolean IsEnabled(GLenum cap) = 0;
298 virtual GLboolean IsFramebuffer(GLuint framebuffer) = 0;
299 virtual GLboolean IsProgram(GLuint program) = 0;
300 virtual GLboolean IsRenderbuffer(GLuint renderbuffer) = 0;
301 virtual GLboolean IsSampler(GLuint sampler) = 0;
302 virtual GLboolean IsShader(GLuint shader) = 0;
303 virtual GLboolean IsSync(GLsync sync) = 0;
304 virtual GLboolean IsTexture(GLuint texture) = 0;
305 virtual GLboolean IsTransformFeedback(GLuint transformfeedback) = 0;
306 virtual void LineWidth(GLfloat width) = 0;
307 virtual void LinkProgram(GLuint program) = 0;
308 virtual void PauseTransformFeedback() = 0;
309 virtual void PixelStorei(GLenum pname, GLint param) = 0;
310 virtual void PolygonOffset(GLfloat factor, GLfloat units) = 0;
311 virtual void ReadBuffer(GLenum src) = 0;
312 virtual void ReadPixels(GLint x,
313 GLint y,
314 GLsizei width,
315 GLsizei height,
316 GLenum format,
317 GLenum type,
318 void* pixels) = 0;
319 virtual void ReleaseShaderCompiler() = 0;
320 virtual void RenderbufferStorage(GLenum target,
321 GLenum internalformat,
322 GLsizei width,
323 GLsizei height) = 0;
324 virtual void ResumeTransformFeedback() = 0;
325 virtual void SampleCoverage(GLclampf value, GLboolean invert) = 0;
326 virtual void SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) = 0;
327 virtual void SamplerParameterfv(GLuint sampler,
328 GLenum pname,
329 const GLfloat* params) = 0;
330 virtual void SamplerParameteri(GLuint sampler, GLenum pname, GLint param) = 0;
331 virtual void SamplerParameteriv(GLuint sampler,
332 GLenum pname,
333 const GLint* params) = 0;
334 virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) = 0;
335 virtual void ShaderBinary(GLsizei n,
336 const GLuint* shaders,
337 GLenum binaryformat,
338 const void* binary,
339 GLsizei length) = 0;
340 virtual void ShaderSource(GLuint shader,
341 GLsizei count,
342 const GLchar* const* str,
343 const GLint* length) = 0;
344 virtual void ShallowFinishCHROMIUM() = 0;
345 virtual void ShallowFlushCHROMIUM() = 0;
346 virtual void OrderingBarrierCHROMIUM() = 0;
347 virtual void StencilFunc(GLenum func, GLint ref, GLuint mask) = 0;
348 virtual void StencilFuncSeparate(GLenum face,
349 GLenum func,
350 GLint ref,
351 GLuint mask) = 0;
352 virtual void StencilMask(GLuint mask) = 0;
353 virtual void StencilMaskSeparate(GLenum face, GLuint mask) = 0;
354 virtual void StencilOp(GLenum fail, GLenum zfail, GLenum zpass) = 0;
355 virtual void StencilOpSeparate(GLenum face,
356 GLenum fail,
357 GLenum zfail,
358 GLenum zpass) = 0;
359 virtual void TexImage2D(GLenum target,
360 GLint level,
361 GLint internalformat,
362 GLsizei width,
363 GLsizei height,
364 GLint border,
365 GLenum format,
366 GLenum type,
367 const void* pixels) = 0;
368 virtual void TexImage3D(GLenum target,
369 GLint level,
370 GLint internalformat,
371 GLsizei width,
372 GLsizei height,
373 GLsizei depth,
374 GLint border,
375 GLenum format,
376 GLenum type,
377 const void* pixels) = 0;
378 virtual void TexParameterf(GLenum target, GLenum pname, GLfloat param) = 0;
379 virtual void TexParameterfv(GLenum target,
380 GLenum pname,
381 const GLfloat* params) = 0;
382 virtual void TexParameteri(GLenum target, GLenum pname, GLint param) = 0;
383 virtual void TexParameteriv(GLenum target,
384 GLenum pname,
385 const GLint* params) = 0;
386 virtual void TexStorage3D(GLenum target,
387 GLsizei levels,
388 GLenum internalFormat,
389 GLsizei width,
390 GLsizei height,
391 GLsizei depth) = 0;
392 virtual void TexSubImage2D(GLenum target,
393 GLint level,
394 GLint xoffset,
395 GLint yoffset,
396 GLsizei width,
397 GLsizei height,
398 GLenum format,
399 GLenum type,
400 const void* pixels) = 0;
401 virtual void TexSubImage3D(GLenum target,
402 GLint level,
403 GLint xoffset,
404 GLint yoffset,
405 GLint zoffset,
406 GLsizei width,
407 GLsizei height,
408 GLsizei depth,
409 GLenum format,
410 GLenum type,
411 const void* pixels) = 0;
412 virtual void TransformFeedbackVaryings(GLuint program,
413 GLsizei count,
414 const char* const* varyings,
415 GLenum buffermode) = 0;
416 virtual void Uniform1f(GLint location, GLfloat x) = 0;
417 virtual void Uniform1fv(GLint location, GLsizei count, const GLfloat* v) = 0;
418 virtual void Uniform1i(GLint location, GLint x) = 0;
419 virtual void Uniform1iv(GLint location, GLsizei count, const GLint* v) = 0;
420 virtual void Uniform1ui(GLint location, GLuint x) = 0;
421 virtual void Uniform1uiv(GLint location, GLsizei count, const GLuint* v) = 0;
422 virtual void Uniform2f(GLint location, GLfloat x, GLfloat y) = 0;
423 virtual void Uniform2fv(GLint location, GLsizei count, const GLfloat* v) = 0;
424 virtual void Uniform2i(GLint location, GLint x, GLint y) = 0;
425 virtual void Uniform2iv(GLint location, GLsizei count, const GLint* v) = 0;
426 virtual void Uniform2ui(GLint location, GLuint x, GLuint y) = 0;
427 virtual void Uniform2uiv(GLint location, GLsizei count, const GLuint* v) = 0;
428 virtual void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) = 0;
429 virtual void Uniform3fv(GLint location, GLsizei count, const GLfloat* v) = 0;
430 virtual void Uniform3i(GLint location, GLint x, GLint y, GLint z) = 0;
431 virtual void Uniform3iv(GLint location, GLsizei count, const GLint* v) = 0;
432 virtual void Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) = 0;
433 virtual void Uniform3uiv(GLint location, GLsizei count, const GLuint* v) = 0;
434 virtual void Uniform4f(GLint location,
435 GLfloat x,
436 GLfloat y,
437 GLfloat z,
438 GLfloat w) = 0;
439 virtual void Uniform4fv(GLint location, GLsizei count, const GLfloat* v) = 0;
440 virtual void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) = 0;
441 virtual void Uniform4iv(GLint location, GLsizei count, const GLint* v) = 0;
442 virtual void Uniform4ui(GLint location,
443 GLuint x,
444 GLuint y,
445 GLuint z,
446 GLuint w) = 0;
447 virtual void Uniform4uiv(GLint location, GLsizei count, const GLuint* v) = 0;
448 virtual void UniformBlockBinding(GLuint program,
449 GLuint index,
450 GLuint binding) = 0;
451 virtual void UniformMatrix2fv(GLint location,
452 GLsizei count,
453 GLboolean transpose,
454 const GLfloat* value) = 0;
455 virtual void UniformMatrix2x3fv(GLint location,
456 GLsizei count,
457 GLboolean transpose,
458 const GLfloat* value) = 0;
459 virtual void UniformMatrix2x4fv(GLint location,
460 GLsizei count,
461 GLboolean transpose,
462 const GLfloat* value) = 0;
463 virtual void UniformMatrix3fv(GLint location,
464 GLsizei count,
465 GLboolean transpose,
466 const GLfloat* value) = 0;
467 virtual void UniformMatrix3x2fv(GLint location,
468 GLsizei count,
469 GLboolean transpose,
470 const GLfloat* value) = 0;
471 virtual void UniformMatrix3x4fv(GLint location,
472 GLsizei count,
473 GLboolean transpose,
474 const GLfloat* value) = 0;
475 virtual void UniformMatrix4fv(GLint location,
476 GLsizei count,
477 GLboolean transpose,
478 const GLfloat* value) = 0;
479 virtual void UniformMatrix4x2fv(GLint location,
480 GLsizei count,
481 GLboolean transpose,
482 const GLfloat* value) = 0;
483 virtual void UniformMatrix4x3fv(GLint location,
484 GLsizei count,
485 GLboolean transpose,
486 const GLfloat* value) = 0;
487 virtual void UseProgram(GLuint program) = 0;
488 virtual void ValidateProgram(GLuint program) = 0;
489 virtual void VertexAttrib1f(GLuint indx, GLfloat x) = 0;
490 virtual void VertexAttrib1fv(GLuint indx, const GLfloat* values) = 0;
491 virtual void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) = 0;
492 virtual void VertexAttrib2fv(GLuint indx, const GLfloat* values) = 0;
493 virtual void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) = 0;
494 virtual void VertexAttrib3fv(GLuint indx, const GLfloat* values) = 0;
495 virtual void VertexAttrib4f(GLuint indx,
496 GLfloat x,
497 GLfloat y,
498 GLfloat z,
499 GLfloat w) = 0;
500 virtual void VertexAttrib4fv(GLuint indx, const GLfloat* values) = 0;
501 virtual void VertexAttribI4i(GLuint indx,
502 GLint x,
503 GLint y,
504 GLint z,
505 GLint w) = 0;
506 virtual void VertexAttribI4iv(GLuint indx, const GLint* values) = 0;
507 virtual void VertexAttribI4ui(GLuint indx,
508 GLuint x,
509 GLuint y,
510 GLuint z,
511 GLuint w) = 0;
512 virtual void VertexAttribI4uiv(GLuint indx, const GLuint* values) = 0;
513 virtual void VertexAttribIPointer(GLuint indx,
514 GLint size,
515 GLenum type,
516 GLsizei stride,
517 const void* ptr) = 0;
518 virtual void VertexAttribPointer(GLuint indx,
519 GLint size,
520 GLenum type,
521 GLboolean normalized,
522 GLsizei stride,
523 const void* ptr) = 0;
524 virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) = 0;
525 virtual void WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) = 0;
526 virtual void BlitFramebufferCHROMIUM(GLint srcX0,
527 GLint srcY0,
528 GLint srcX1,
529 GLint srcY1,
530 GLint dstX0,
531 GLint dstY0,
532 GLint dstX1,
533 GLint dstY1,
534 GLbitfield mask,
535 GLenum filter) = 0;
536 virtual void RenderbufferStorageMultisampleCHROMIUM(GLenum target,
537 GLsizei samples,
538 GLenum internalformat,
539 GLsizei width,
540 GLsizei height) = 0;
541 virtual void RenderbufferStorageMultisampleEXT(GLenum target,
542 GLsizei samples,
543 GLenum internalformat,
544 GLsizei width,
545 GLsizei height) = 0;
546 virtual void FramebufferTexture2DMultisampleEXT(GLenum target,
547 GLenum attachment,
548 GLenum textarget,
549 GLuint texture,
550 GLint level,
551 GLsizei samples) = 0;
552 virtual void TexStorage2DEXT(GLenum target,
553 GLsizei levels,
554 GLenum internalFormat,
555 GLsizei width,
556 GLsizei height) = 0;
557 virtual void GenQueriesEXT(GLsizei n, GLuint* queries) = 0;
558 virtual void DeleteQueriesEXT(GLsizei n, const GLuint* queries) = 0;
559 virtual GLboolean IsQueryEXT(GLuint id) = 0;
560 virtual void BeginQueryEXT(GLenum target, GLuint id) = 0;
561 virtual void BeginTransformFeedback(GLenum primitivemode) = 0;
562 virtual void EndQueryEXT(GLenum target) = 0;
563 virtual void EndTransformFeedback() = 0;
564 virtual void GetQueryivEXT(GLenum target, GLenum pname, GLint* params) = 0;
565 virtual void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) = 0;
566 virtual void InsertEventMarkerEXT(GLsizei length, const GLchar* marker) = 0;
567 virtual void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) = 0;
568 virtual void PopGroupMarkerEXT() = 0;
569 virtual void GenVertexArraysOES(GLsizei n, GLuint* arrays) = 0;
570 virtual void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) = 0;
571 virtual GLboolean IsVertexArrayOES(GLuint array) = 0;
572 virtual void BindVertexArrayOES(GLuint array) = 0;
573 virtual void SwapBuffers() = 0;
574 virtual GLuint GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
575 GLsizei count,
576 GLenum type,
577 GLuint offset) = 0;
578 virtual GLboolean EnableFeatureCHROMIUM(const char* feature) = 0;
579 virtual void* MapBufferCHROMIUM(GLuint target, GLenum access) = 0;
580 virtual GLboolean UnmapBufferCHROMIUM(GLuint target) = 0;
581 virtual void* MapBufferSubDataCHROMIUM(GLuint target,
582 GLintptr offset,
583 GLsizeiptr size,
584 GLenum access) = 0;
585 virtual void UnmapBufferSubDataCHROMIUM(const void* mem) = 0;
586 virtual void* MapTexSubImage2DCHROMIUM(GLenum target,
587 GLint level,
588 GLint xoffset,
589 GLint yoffset,
590 GLsizei width,
591 GLsizei height,
592 GLenum format,
593 GLenum type,
594 GLenum access) = 0;
595 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) = 0;
596 virtual void ResizeCHROMIUM(GLuint width,
597 GLuint height,
598 GLfloat scale_factor) = 0;
599 virtual const GLchar* GetRequestableExtensionsCHROMIUM() = 0;
600 virtual void RequestExtensionCHROMIUM(const char* extension) = 0;
601 virtual void RateLimitOffscreenContextCHROMIUM() = 0;
602 virtual void GetProgramInfoCHROMIUM(GLuint program,
603 GLsizei bufsize,
604 GLsizei* size,
605 void* info) = 0;
606 virtual void GetUniformBlocksCHROMIUM(GLuint program,
607 GLsizei bufsize,
608 GLsizei* size,
609 void* info) = 0;
610 virtual void GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
611 GLsizei bufsize,
612 GLsizei* size,
613 void* info) = 0;
614 virtual void GetUniformsES3CHROMIUM(GLuint program,
615 GLsizei bufsize,
616 GLsizei* size,
617 void* info) = 0;
618 virtual GLuint CreateStreamTextureCHROMIUM(GLuint texture) = 0;
619 virtual GLuint CreateImageCHROMIUM(ClientBuffer buffer,
620 GLsizei width,
621 GLsizei height,
622 GLenum internalformat) = 0;
623 virtual void DestroyImageCHROMIUM(GLuint image_id) = 0;
624 virtual GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
625 GLsizei height,
626 GLenum internalformat,
627 GLenum usage) = 0;
628 virtual void GetTranslatedShaderSourceANGLE(GLuint shader,
629 GLsizei bufsize,
630 GLsizei* length,
631 char* source) = 0;
632 virtual void PostSubBufferCHROMIUM(GLint x,
633 GLint y,
634 GLint width,
635 GLint height) = 0;
636 virtual void TexImageIOSurface2DCHROMIUM(GLenum target,
637 GLsizei width,
638 GLsizei height,
639 GLuint ioSurfaceId,
640 GLuint plane) = 0;
641 virtual void CopyTextureCHROMIUM(GLenum target,
642 GLenum source_id,
643 GLenum dest_id,
644 GLint level,
645 GLint internalformat,
646 GLenum dest_type) = 0;
647 virtual void DrawArraysInstancedANGLE(GLenum mode,
648 GLint first,
649 GLsizei count,
650 GLsizei primcount) = 0;
651 virtual void DrawElementsInstancedANGLE(GLenum mode,
652 GLsizei count,
653 GLenum type,
654 const void* indices,
655 GLsizei primcount) = 0;
656 virtual void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) = 0;
657 virtual void GenMailboxCHROMIUM(GLbyte* mailbox) = 0;
658 virtual void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) = 0;
659 virtual void ProduceTextureDirectCHROMIUM(GLuint texture,
660 GLenum target,
661 const GLbyte* mailbox) = 0;
662 virtual void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) = 0;
663 virtual GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
664 const GLbyte* mailbox) = 0;
665 virtual void BindUniformLocationCHROMIUM(GLuint program,
666 GLint location,
667 const char* name) = 0;
668 virtual void GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) = 0;
669 virtual void DeleteValuebuffersCHROMIUM(GLsizei n,
670 const GLuint* valuebuffers) = 0;
671 virtual GLboolean IsValuebufferCHROMIUM(GLuint valuebuffer) = 0;
672 virtual void BindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer) = 0;
673 virtual void SubscribeValueCHROMIUM(GLenum target, GLenum subscription) = 0;
674 virtual void PopulateSubscribedValuesCHROMIUM(GLenum target) = 0;
675 virtual void UniformValuebufferCHROMIUM(GLint location,
676 GLenum target,
677 GLenum subscription) = 0;
678 virtual void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) = 0;
679 virtual void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) = 0;
680 virtual void TraceBeginCHROMIUM(const char* category_name,
681 const char* trace_name) = 0;
682 virtual void TraceEndCHROMIUM() = 0;
683 virtual void AsyncTexSubImage2DCHROMIUM(GLenum target,
684 GLint level,
685 GLint xoffset,
686 GLint yoffset,
687 GLsizei width,
688 GLsizei height,
689 GLenum format,
690 GLenum type,
691 const void* data) = 0;
692 virtual void AsyncTexImage2DCHROMIUM(GLenum target,
693 GLint level,
694 GLenum internalformat,
695 GLsizei width,
696 GLsizei height,
697 GLint border,
698 GLenum format,
699 GLenum type,
700 const void* pixels) = 0;
701 virtual void WaitAsyncTexImage2DCHROMIUM(GLenum target) = 0;
702 virtual void WaitAllAsyncTexImage2DCHROMIUM() = 0;
703 virtual void DiscardFramebufferEXT(GLenum target,
704 GLsizei count,
705 const GLenum* attachments) = 0;
706 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) = 0;
707 virtual GLuint InsertSyncPointCHROMIUM() = 0;
708 virtual void WaitSyncPointCHROMIUM(GLuint sync_point) = 0;
709 virtual void DrawBuffersEXT(GLsizei count, const GLenum* bufs) = 0;
710 virtual void DiscardBackbufferCHROMIUM() = 0;
711 virtual void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
712 GLenum plane_transform,
713 GLuint overlay_texture_id,
714 GLint bounds_x,
715 GLint bounds_y,
716 GLint bounds_width,
717 GLint bounds_height,
718 GLfloat uv_x,
719 GLfloat uv_y,
720 GLfloat uv_width,
721 GLfloat uv_height) = 0;
722 virtual void SwapInterval(GLint interval) = 0;
723 virtual void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) = 0;
724 virtual void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) = 0;
725 virtual void BlendBarrierKHR() = 0;
726 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_