Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_interface_autogen.h
blob531fb1d1741e209d938b515ff4acfc433e479de6
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 CompressedTexImage3D(GLenum target,
99 GLint level,
100 GLenum internalformat,
101 GLsizei width,
102 GLsizei height,
103 GLsizei depth,
104 GLint border,
105 GLsizei imageSize,
106 const void* data) = 0;
107 virtual void CompressedTexSubImage3D(GLenum target,
108 GLint level,
109 GLint xoffset,
110 GLint yoffset,
111 GLint zoffset,
112 GLsizei width,
113 GLsizei height,
114 GLsizei depth,
115 GLenum format,
116 GLsizei imageSize,
117 const void* data) = 0;
118 virtual void CopyBufferSubData(GLenum readtarget,
119 GLenum writetarget,
120 GLintptr readoffset,
121 GLintptr writeoffset,
122 GLsizeiptr size) = 0;
123 virtual void CopyTexImage2D(GLenum target,
124 GLint level,
125 GLenum internalformat,
126 GLint x,
127 GLint y,
128 GLsizei width,
129 GLsizei height,
130 GLint border) = 0;
131 virtual void CopyTexSubImage2D(GLenum target,
132 GLint level,
133 GLint xoffset,
134 GLint yoffset,
135 GLint x,
136 GLint y,
137 GLsizei width,
138 GLsizei height) = 0;
139 virtual void CopyTexSubImage3D(GLenum target,
140 GLint level,
141 GLint xoffset,
142 GLint yoffset,
143 GLint zoffset,
144 GLint x,
145 GLint y,
146 GLsizei width,
147 GLsizei height) = 0;
148 virtual GLuint CreateProgram() = 0;
149 virtual GLuint CreateShader(GLenum type) = 0;
150 virtual void CullFace(GLenum mode) = 0;
151 virtual void DeleteBuffers(GLsizei n, const GLuint* buffers) = 0;
152 virtual void DeleteFramebuffers(GLsizei n, const GLuint* framebuffers) = 0;
153 virtual void DeleteProgram(GLuint program) = 0;
154 virtual void DeleteRenderbuffers(GLsizei n, const GLuint* renderbuffers) = 0;
155 virtual void DeleteSamplers(GLsizei n, const GLuint* samplers) = 0;
156 virtual void DeleteSync(GLsync sync) = 0;
157 virtual void DeleteShader(GLuint shader) = 0;
158 virtual void DeleteTextures(GLsizei n, const GLuint* textures) = 0;
159 virtual void DeleteTransformFeedbacks(GLsizei n, const GLuint* ids) = 0;
160 virtual void DepthFunc(GLenum func) = 0;
161 virtual void DepthMask(GLboolean flag) = 0;
162 virtual void DepthRangef(GLclampf zNear, GLclampf zFar) = 0;
163 virtual void DetachShader(GLuint program, GLuint shader) = 0;
164 virtual void Disable(GLenum cap) = 0;
165 virtual void DisableVertexAttribArray(GLuint index) = 0;
166 virtual void DrawArrays(GLenum mode, GLint first, GLsizei count) = 0;
167 virtual void DrawElements(GLenum mode,
168 GLsizei count,
169 GLenum type,
170 const void* indices) = 0;
171 virtual void DrawRangeElements(GLenum mode,
172 GLuint start,
173 GLuint end,
174 GLsizei count,
175 GLenum type,
176 const void* indices) = 0;
177 virtual void Enable(GLenum cap) = 0;
178 virtual void EnableVertexAttribArray(GLuint index) = 0;
179 virtual GLsync FenceSync(GLenum condition, GLbitfield flags) = 0;
180 virtual void Finish() = 0;
181 virtual void Flush() = 0;
182 virtual void FramebufferRenderbuffer(GLenum target,
183 GLenum attachment,
184 GLenum renderbuffertarget,
185 GLuint renderbuffer) = 0;
186 virtual void FramebufferTexture2D(GLenum target,
187 GLenum attachment,
188 GLenum textarget,
189 GLuint texture,
190 GLint level) = 0;
191 virtual void FramebufferTextureLayer(GLenum target,
192 GLenum attachment,
193 GLuint texture,
194 GLint level,
195 GLint layer) = 0;
196 virtual void FrontFace(GLenum mode) = 0;
197 virtual void GenBuffers(GLsizei n, GLuint* buffers) = 0;
198 virtual void GenerateMipmap(GLenum target) = 0;
199 virtual void GenFramebuffers(GLsizei n, GLuint* framebuffers) = 0;
200 virtual void GenRenderbuffers(GLsizei n, GLuint* renderbuffers) = 0;
201 virtual void GenSamplers(GLsizei n, GLuint* samplers) = 0;
202 virtual void GenTextures(GLsizei n, GLuint* textures) = 0;
203 virtual void GenTransformFeedbacks(GLsizei n, GLuint* ids) = 0;
204 virtual void GetActiveAttrib(GLuint program,
205 GLuint index,
206 GLsizei bufsize,
207 GLsizei* length,
208 GLint* size,
209 GLenum* type,
210 char* name) = 0;
211 virtual void GetActiveUniform(GLuint program,
212 GLuint index,
213 GLsizei bufsize,
214 GLsizei* length,
215 GLint* size,
216 GLenum* type,
217 char* name) = 0;
218 virtual void GetActiveUniformBlockiv(GLuint program,
219 GLuint index,
220 GLenum pname,
221 GLint* params) = 0;
222 virtual void GetActiveUniformBlockName(GLuint program,
223 GLuint index,
224 GLsizei bufsize,
225 GLsizei* length,
226 char* name) = 0;
227 virtual void GetActiveUniformsiv(GLuint program,
228 GLsizei count,
229 const GLuint* indices,
230 GLenum pname,
231 GLint* params) = 0;
232 virtual void GetAttachedShaders(GLuint program,
233 GLsizei maxcount,
234 GLsizei* count,
235 GLuint* shaders) = 0;
236 virtual GLint GetAttribLocation(GLuint program, const char* name) = 0;
237 virtual void GetBooleanv(GLenum pname, GLboolean* params) = 0;
238 virtual void GetBufferParameteriv(GLenum target,
239 GLenum pname,
240 GLint* params) = 0;
241 virtual GLenum GetError() = 0;
242 virtual void GetFloatv(GLenum pname, GLfloat* params) = 0;
243 virtual GLint GetFragDataLocation(GLuint program, const char* name) = 0;
244 virtual void GetFramebufferAttachmentParameteriv(GLenum target,
245 GLenum attachment,
246 GLenum pname,
247 GLint* params) = 0;
248 virtual void GetInteger64v(GLenum pname, GLint64* params) = 0;
249 virtual void GetIntegeri_v(GLenum pname, GLuint index, GLint* data) = 0;
250 virtual void GetInteger64i_v(GLenum pname, GLuint index, GLint64* data) = 0;
251 virtual void GetIntegerv(GLenum pname, GLint* params) = 0;
252 virtual void GetInternalformativ(GLenum target,
253 GLenum format,
254 GLenum pname,
255 GLsizei bufSize,
256 GLint* params) = 0;
257 virtual void GetProgramiv(GLuint program, GLenum pname, GLint* params) = 0;
258 virtual void GetProgramInfoLog(GLuint program,
259 GLsizei bufsize,
260 GLsizei* length,
261 char* infolog) = 0;
262 virtual void GetRenderbufferParameteriv(GLenum target,
263 GLenum pname,
264 GLint* params) = 0;
265 virtual void GetSamplerParameterfv(GLuint sampler,
266 GLenum pname,
267 GLfloat* params) = 0;
268 virtual void GetSamplerParameteriv(GLuint sampler,
269 GLenum pname,
270 GLint* params) = 0;
271 virtual void GetShaderiv(GLuint shader, GLenum pname, GLint* params) = 0;
272 virtual void GetShaderInfoLog(GLuint shader,
273 GLsizei bufsize,
274 GLsizei* length,
275 char* infolog) = 0;
276 virtual void GetShaderPrecisionFormat(GLenum shadertype,
277 GLenum precisiontype,
278 GLint* range,
279 GLint* precision) = 0;
280 virtual void GetShaderSource(GLuint shader,
281 GLsizei bufsize,
282 GLsizei* length,
283 char* source) = 0;
284 virtual const GLubyte* GetString(GLenum name) = 0;
285 virtual void GetSynciv(GLsync sync,
286 GLenum pname,
287 GLsizei bufsize,
288 GLsizei* length,
289 GLint* values) = 0;
290 virtual void GetTexParameterfv(GLenum target,
291 GLenum pname,
292 GLfloat* params) = 0;
293 virtual void GetTexParameteriv(GLenum target, GLenum pname, GLint* params) = 0;
294 virtual void GetTransformFeedbackVarying(GLuint program,
295 GLuint index,
296 GLsizei bufsize,
297 GLsizei* length,
298 GLsizei* size,
299 GLenum* type,
300 char* name) = 0;
301 virtual GLuint GetUniformBlockIndex(GLuint program, const char* name) = 0;
302 virtual void GetUniformfv(GLuint program, GLint location, GLfloat* params) = 0;
303 virtual void GetUniformiv(GLuint program, GLint location, GLint* params) = 0;
304 virtual void GetUniformuiv(GLuint program, GLint location, GLuint* params) = 0;
305 virtual void GetUniformIndices(GLuint program,
306 GLsizei count,
307 const char* const* names,
308 GLuint* indices) = 0;
309 virtual GLint GetUniformLocation(GLuint program, const char* name) = 0;
310 virtual void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) = 0;
311 virtual void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) = 0;
312 virtual void GetVertexAttribIiv(GLuint index, GLenum pname, GLint* params) = 0;
313 virtual void GetVertexAttribIuiv(GLuint index,
314 GLenum pname,
315 GLuint* params) = 0;
316 virtual void GetVertexAttribPointerv(GLuint index,
317 GLenum pname,
318 void** pointer) = 0;
319 virtual void Hint(GLenum target, GLenum mode) = 0;
320 virtual void InvalidateFramebuffer(GLenum target,
321 GLsizei count,
322 const GLenum* attachments) = 0;
323 virtual void InvalidateSubFramebuffer(GLenum target,
324 GLsizei count,
325 const GLenum* attachments,
326 GLint x,
327 GLint y,
328 GLsizei width,
329 GLsizei height) = 0;
330 virtual GLboolean IsBuffer(GLuint buffer) = 0;
331 virtual GLboolean IsEnabled(GLenum cap) = 0;
332 virtual GLboolean IsFramebuffer(GLuint framebuffer) = 0;
333 virtual GLboolean IsProgram(GLuint program) = 0;
334 virtual GLboolean IsRenderbuffer(GLuint renderbuffer) = 0;
335 virtual GLboolean IsSampler(GLuint sampler) = 0;
336 virtual GLboolean IsShader(GLuint shader) = 0;
337 virtual GLboolean IsSync(GLsync sync) = 0;
338 virtual GLboolean IsTexture(GLuint texture) = 0;
339 virtual GLboolean IsTransformFeedback(GLuint transformfeedback) = 0;
340 virtual void LineWidth(GLfloat width) = 0;
341 virtual void LinkProgram(GLuint program) = 0;
342 virtual void PauseTransformFeedback() = 0;
343 virtual void PixelStorei(GLenum pname, GLint param) = 0;
344 virtual void PolygonOffset(GLfloat factor, GLfloat units) = 0;
345 virtual void ReadBuffer(GLenum src) = 0;
346 virtual void ReadPixels(GLint x,
347 GLint y,
348 GLsizei width,
349 GLsizei height,
350 GLenum format,
351 GLenum type,
352 void* pixels) = 0;
353 virtual void ReleaseShaderCompiler() = 0;
354 virtual void RenderbufferStorage(GLenum target,
355 GLenum internalformat,
356 GLsizei width,
357 GLsizei height) = 0;
358 virtual void ResumeTransformFeedback() = 0;
359 virtual void SampleCoverage(GLclampf value, GLboolean invert) = 0;
360 virtual void SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) = 0;
361 virtual void SamplerParameterfv(GLuint sampler,
362 GLenum pname,
363 const GLfloat* params) = 0;
364 virtual void SamplerParameteri(GLuint sampler, GLenum pname, GLint param) = 0;
365 virtual void SamplerParameteriv(GLuint sampler,
366 GLenum pname,
367 const GLint* params) = 0;
368 virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) = 0;
369 virtual void ShaderBinary(GLsizei n,
370 const GLuint* shaders,
371 GLenum binaryformat,
372 const void* binary,
373 GLsizei length) = 0;
374 virtual void ShaderSource(GLuint shader,
375 GLsizei count,
376 const GLchar* const* str,
377 const GLint* length) = 0;
378 virtual void ShallowFinishCHROMIUM() = 0;
379 virtual void ShallowFlushCHROMIUM() = 0;
380 virtual void OrderingBarrierCHROMIUM() = 0;
381 virtual void StencilFunc(GLenum func, GLint ref, GLuint mask) = 0;
382 virtual void StencilFuncSeparate(GLenum face,
383 GLenum func,
384 GLint ref,
385 GLuint mask) = 0;
386 virtual void StencilMask(GLuint mask) = 0;
387 virtual void StencilMaskSeparate(GLenum face, GLuint mask) = 0;
388 virtual void StencilOp(GLenum fail, GLenum zfail, GLenum zpass) = 0;
389 virtual void StencilOpSeparate(GLenum face,
390 GLenum fail,
391 GLenum zfail,
392 GLenum zpass) = 0;
393 virtual void TexImage2D(GLenum target,
394 GLint level,
395 GLint internalformat,
396 GLsizei width,
397 GLsizei height,
398 GLint border,
399 GLenum format,
400 GLenum type,
401 const void* pixels) = 0;
402 virtual void TexImage3D(GLenum target,
403 GLint level,
404 GLint internalformat,
405 GLsizei width,
406 GLsizei height,
407 GLsizei depth,
408 GLint border,
409 GLenum format,
410 GLenum type,
411 const void* pixels) = 0;
412 virtual void TexParameterf(GLenum target, GLenum pname, GLfloat param) = 0;
413 virtual void TexParameterfv(GLenum target,
414 GLenum pname,
415 const GLfloat* params) = 0;
416 virtual void TexParameteri(GLenum target, GLenum pname, GLint param) = 0;
417 virtual void TexParameteriv(GLenum target,
418 GLenum pname,
419 const GLint* params) = 0;
420 virtual void TexStorage3D(GLenum target,
421 GLsizei levels,
422 GLenum internalFormat,
423 GLsizei width,
424 GLsizei height,
425 GLsizei depth) = 0;
426 virtual void TexSubImage2D(GLenum target,
427 GLint level,
428 GLint xoffset,
429 GLint yoffset,
430 GLsizei width,
431 GLsizei height,
432 GLenum format,
433 GLenum type,
434 const void* pixels) = 0;
435 virtual void TexSubImage3D(GLenum target,
436 GLint level,
437 GLint xoffset,
438 GLint yoffset,
439 GLint zoffset,
440 GLsizei width,
441 GLsizei height,
442 GLsizei depth,
443 GLenum format,
444 GLenum type,
445 const void* pixels) = 0;
446 virtual void TransformFeedbackVaryings(GLuint program,
447 GLsizei count,
448 const char* const* varyings,
449 GLenum buffermode) = 0;
450 virtual void Uniform1f(GLint location, GLfloat x) = 0;
451 virtual void Uniform1fv(GLint location, GLsizei count, const GLfloat* v) = 0;
452 virtual void Uniform1i(GLint location, GLint x) = 0;
453 virtual void Uniform1iv(GLint location, GLsizei count, const GLint* v) = 0;
454 virtual void Uniform1ui(GLint location, GLuint x) = 0;
455 virtual void Uniform1uiv(GLint location, GLsizei count, const GLuint* v) = 0;
456 virtual void Uniform2f(GLint location, GLfloat x, GLfloat y) = 0;
457 virtual void Uniform2fv(GLint location, GLsizei count, const GLfloat* v) = 0;
458 virtual void Uniform2i(GLint location, GLint x, GLint y) = 0;
459 virtual void Uniform2iv(GLint location, GLsizei count, const GLint* v) = 0;
460 virtual void Uniform2ui(GLint location, GLuint x, GLuint y) = 0;
461 virtual void Uniform2uiv(GLint location, GLsizei count, const GLuint* v) = 0;
462 virtual void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) = 0;
463 virtual void Uniform3fv(GLint location, GLsizei count, const GLfloat* v) = 0;
464 virtual void Uniform3i(GLint location, GLint x, GLint y, GLint z) = 0;
465 virtual void Uniform3iv(GLint location, GLsizei count, const GLint* v) = 0;
466 virtual void Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) = 0;
467 virtual void Uniform3uiv(GLint location, GLsizei count, const GLuint* v) = 0;
468 virtual void Uniform4f(GLint location,
469 GLfloat x,
470 GLfloat y,
471 GLfloat z,
472 GLfloat w) = 0;
473 virtual void Uniform4fv(GLint location, GLsizei count, const GLfloat* v) = 0;
474 virtual void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) = 0;
475 virtual void Uniform4iv(GLint location, GLsizei count, const GLint* v) = 0;
476 virtual void Uniform4ui(GLint location,
477 GLuint x,
478 GLuint y,
479 GLuint z,
480 GLuint w) = 0;
481 virtual void Uniform4uiv(GLint location, GLsizei count, const GLuint* v) = 0;
482 virtual void UniformBlockBinding(GLuint program,
483 GLuint index,
484 GLuint binding) = 0;
485 virtual void UniformMatrix2fv(GLint location,
486 GLsizei count,
487 GLboolean transpose,
488 const GLfloat* value) = 0;
489 virtual void UniformMatrix2x3fv(GLint location,
490 GLsizei count,
491 GLboolean transpose,
492 const GLfloat* value) = 0;
493 virtual void UniformMatrix2x4fv(GLint location,
494 GLsizei count,
495 GLboolean transpose,
496 const GLfloat* value) = 0;
497 virtual void UniformMatrix3fv(GLint location,
498 GLsizei count,
499 GLboolean transpose,
500 const GLfloat* value) = 0;
501 virtual void UniformMatrix3x2fv(GLint location,
502 GLsizei count,
503 GLboolean transpose,
504 const GLfloat* value) = 0;
505 virtual void UniformMatrix3x4fv(GLint location,
506 GLsizei count,
507 GLboolean transpose,
508 const GLfloat* value) = 0;
509 virtual void UniformMatrix4fv(GLint location,
510 GLsizei count,
511 GLboolean transpose,
512 const GLfloat* value) = 0;
513 virtual void UniformMatrix4x2fv(GLint location,
514 GLsizei count,
515 GLboolean transpose,
516 const GLfloat* value) = 0;
517 virtual void UniformMatrix4x3fv(GLint location,
518 GLsizei count,
519 GLboolean transpose,
520 const GLfloat* value) = 0;
521 virtual void UseProgram(GLuint program) = 0;
522 virtual void ValidateProgram(GLuint program) = 0;
523 virtual void VertexAttrib1f(GLuint indx, GLfloat x) = 0;
524 virtual void VertexAttrib1fv(GLuint indx, const GLfloat* values) = 0;
525 virtual void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) = 0;
526 virtual void VertexAttrib2fv(GLuint indx, const GLfloat* values) = 0;
527 virtual void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) = 0;
528 virtual void VertexAttrib3fv(GLuint indx, const GLfloat* values) = 0;
529 virtual void VertexAttrib4f(GLuint indx,
530 GLfloat x,
531 GLfloat y,
532 GLfloat z,
533 GLfloat w) = 0;
534 virtual void VertexAttrib4fv(GLuint indx, const GLfloat* values) = 0;
535 virtual void VertexAttribI4i(GLuint indx,
536 GLint x,
537 GLint y,
538 GLint z,
539 GLint w) = 0;
540 virtual void VertexAttribI4iv(GLuint indx, const GLint* values) = 0;
541 virtual void VertexAttribI4ui(GLuint indx,
542 GLuint x,
543 GLuint y,
544 GLuint z,
545 GLuint w) = 0;
546 virtual void VertexAttribI4uiv(GLuint indx, const GLuint* values) = 0;
547 virtual void VertexAttribIPointer(GLuint indx,
548 GLint size,
549 GLenum type,
550 GLsizei stride,
551 const void* ptr) = 0;
552 virtual void VertexAttribPointer(GLuint indx,
553 GLint size,
554 GLenum type,
555 GLboolean normalized,
556 GLsizei stride,
557 const void* ptr) = 0;
558 virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) = 0;
559 virtual void WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) = 0;
560 virtual void BlitFramebufferCHROMIUM(GLint srcX0,
561 GLint srcY0,
562 GLint srcX1,
563 GLint srcY1,
564 GLint dstX0,
565 GLint dstY0,
566 GLint dstX1,
567 GLint dstY1,
568 GLbitfield mask,
569 GLenum filter) = 0;
570 virtual void RenderbufferStorageMultisampleCHROMIUM(GLenum target,
571 GLsizei samples,
572 GLenum internalformat,
573 GLsizei width,
574 GLsizei height) = 0;
575 virtual void RenderbufferStorageMultisampleEXT(GLenum target,
576 GLsizei samples,
577 GLenum internalformat,
578 GLsizei width,
579 GLsizei height) = 0;
580 virtual void FramebufferTexture2DMultisampleEXT(GLenum target,
581 GLenum attachment,
582 GLenum textarget,
583 GLuint texture,
584 GLint level,
585 GLsizei samples) = 0;
586 virtual void TexStorage2DEXT(GLenum target,
587 GLsizei levels,
588 GLenum internalFormat,
589 GLsizei width,
590 GLsizei height) = 0;
591 virtual void GenQueriesEXT(GLsizei n, GLuint* queries) = 0;
592 virtual void DeleteQueriesEXT(GLsizei n, const GLuint* queries) = 0;
593 virtual void QueryCounterEXT(GLuint id, GLenum target) = 0;
594 virtual GLboolean IsQueryEXT(GLuint id) = 0;
595 virtual void BeginQueryEXT(GLenum target, GLuint id) = 0;
596 virtual void BeginTransformFeedback(GLenum primitivemode) = 0;
597 virtual void EndQueryEXT(GLenum target) = 0;
598 virtual void EndTransformFeedback() = 0;
599 virtual void GetQueryivEXT(GLenum target, GLenum pname, GLint* params) = 0;
600 virtual void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) = 0;
601 virtual void GetQueryObjectui64vEXT(GLuint id,
602 GLenum pname,
603 GLuint64* params) = 0;
604 virtual void InsertEventMarkerEXT(GLsizei length, const GLchar* marker) = 0;
605 virtual void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) = 0;
606 virtual void PopGroupMarkerEXT() = 0;
607 virtual void GenVertexArraysOES(GLsizei n, GLuint* arrays) = 0;
608 virtual void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) = 0;
609 virtual GLboolean IsVertexArrayOES(GLuint array) = 0;
610 virtual void BindVertexArrayOES(GLuint array) = 0;
611 virtual void SwapBuffers() = 0;
612 virtual GLuint GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
613 GLsizei count,
614 GLenum type,
615 GLuint offset) = 0;
616 virtual GLboolean EnableFeatureCHROMIUM(const char* feature) = 0;
617 virtual void* MapBufferCHROMIUM(GLuint target, GLenum access) = 0;
618 virtual GLboolean UnmapBufferCHROMIUM(GLuint target) = 0;
619 virtual void* MapBufferSubDataCHROMIUM(GLuint target,
620 GLintptr offset,
621 GLsizeiptr size,
622 GLenum access) = 0;
623 virtual void UnmapBufferSubDataCHROMIUM(const void* mem) = 0;
624 virtual void* MapBufferRange(GLenum target,
625 GLintptr offset,
626 GLsizeiptr size,
627 GLbitfield access) = 0;
628 virtual GLboolean UnmapBuffer(GLenum target) = 0;
629 virtual void* MapTexSubImage2DCHROMIUM(GLenum target,
630 GLint level,
631 GLint xoffset,
632 GLint yoffset,
633 GLsizei width,
634 GLsizei height,
635 GLenum format,
636 GLenum type,
637 GLenum access) = 0;
638 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) = 0;
639 virtual void ResizeCHROMIUM(GLuint width,
640 GLuint height,
641 GLfloat scale_factor) = 0;
642 virtual const GLchar* GetRequestableExtensionsCHROMIUM() = 0;
643 virtual void RequestExtensionCHROMIUM(const char* extension) = 0;
644 virtual void RateLimitOffscreenContextCHROMIUM() = 0;
645 virtual void GetProgramInfoCHROMIUM(GLuint program,
646 GLsizei bufsize,
647 GLsizei* size,
648 void* info) = 0;
649 virtual void GetUniformBlocksCHROMIUM(GLuint program,
650 GLsizei bufsize,
651 GLsizei* size,
652 void* info) = 0;
653 virtual void GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
654 GLsizei bufsize,
655 GLsizei* size,
656 void* info) = 0;
657 virtual void GetUniformsES3CHROMIUM(GLuint program,
658 GLsizei bufsize,
659 GLsizei* size,
660 void* info) = 0;
661 virtual GLuint CreateStreamTextureCHROMIUM(GLuint texture) = 0;
662 virtual GLuint CreateImageCHROMIUM(ClientBuffer buffer,
663 GLsizei width,
664 GLsizei height,
665 GLenum internalformat) = 0;
666 virtual void DestroyImageCHROMIUM(GLuint image_id) = 0;
667 virtual GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
668 GLsizei height,
669 GLenum internalformat,
670 GLenum usage) = 0;
671 virtual void GetTranslatedShaderSourceANGLE(GLuint shader,
672 GLsizei bufsize,
673 GLsizei* length,
674 char* source) = 0;
675 virtual void PostSubBufferCHROMIUM(GLint x,
676 GLint y,
677 GLint width,
678 GLint height) = 0;
679 virtual void TexImageIOSurface2DCHROMIUM(GLenum target,
680 GLsizei width,
681 GLsizei height,
682 GLuint ioSurfaceId,
683 GLuint plane) = 0;
684 virtual void CopyTextureCHROMIUM(GLenum target,
685 GLenum source_id,
686 GLenum dest_id,
687 GLint internalformat,
688 GLenum dest_type,
689 GLboolean unpack_flip_y,
690 GLboolean unpack_premultiply_alpha,
691 GLboolean unpack_unmultiply_alpha) = 0;
692 virtual void CopySubTextureCHROMIUM(GLenum target,
693 GLenum source_id,
694 GLenum dest_id,
695 GLint xoffset,
696 GLint yoffset,
697 GLint x,
698 GLint y,
699 GLsizei width,
700 GLsizei height,
701 GLboolean unpack_flip_y,
702 GLboolean unpack_premultiply_alpha,
703 GLboolean unpack_unmultiply_alpha) = 0;
704 virtual void CompressedCopyTextureCHROMIUM(GLenum target,
705 GLenum source_id,
706 GLenum dest_id) = 0;
707 virtual void DrawArraysInstancedANGLE(GLenum mode,
708 GLint first,
709 GLsizei count,
710 GLsizei primcount) = 0;
711 virtual void DrawElementsInstancedANGLE(GLenum mode,
712 GLsizei count,
713 GLenum type,
714 const void* indices,
715 GLsizei primcount) = 0;
716 virtual void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) = 0;
717 virtual void GenMailboxCHROMIUM(GLbyte* mailbox) = 0;
718 virtual void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) = 0;
719 virtual void ProduceTextureDirectCHROMIUM(GLuint texture,
720 GLenum target,
721 const GLbyte* mailbox) = 0;
722 virtual void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) = 0;
723 virtual GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
724 const GLbyte* mailbox) = 0;
725 virtual void BindUniformLocationCHROMIUM(GLuint program,
726 GLint location,
727 const char* name) = 0;
728 virtual void GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) = 0;
729 virtual void DeleteValuebuffersCHROMIUM(GLsizei n,
730 const GLuint* valuebuffers) = 0;
731 virtual GLboolean IsValuebufferCHROMIUM(GLuint valuebuffer) = 0;
732 virtual void BindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer) = 0;
733 virtual void SubscribeValueCHROMIUM(GLenum target, GLenum subscription) = 0;
734 virtual void PopulateSubscribedValuesCHROMIUM(GLenum target) = 0;
735 virtual void UniformValuebufferCHROMIUM(GLint location,
736 GLenum target,
737 GLenum subscription) = 0;
738 virtual void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) = 0;
739 virtual void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) = 0;
740 virtual void TraceBeginCHROMIUM(const char* category_name,
741 const char* trace_name) = 0;
742 virtual void TraceEndCHROMIUM() = 0;
743 virtual void AsyncTexSubImage2DCHROMIUM(GLenum target,
744 GLint level,
745 GLint xoffset,
746 GLint yoffset,
747 GLsizei width,
748 GLsizei height,
749 GLenum format,
750 GLenum type,
751 const void* data) = 0;
752 virtual void AsyncTexImage2DCHROMIUM(GLenum target,
753 GLint level,
754 GLenum internalformat,
755 GLsizei width,
756 GLsizei height,
757 GLint border,
758 GLenum format,
759 GLenum type,
760 const void* pixels) = 0;
761 virtual void WaitAsyncTexImage2DCHROMIUM(GLenum target) = 0;
762 virtual void WaitAllAsyncTexImage2DCHROMIUM() = 0;
763 virtual void DiscardFramebufferEXT(GLenum target,
764 GLsizei count,
765 const GLenum* attachments) = 0;
766 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) = 0;
767 virtual GLuint InsertSyncPointCHROMIUM() = 0;
768 virtual void WaitSyncPointCHROMIUM(GLuint sync_point) = 0;
769 virtual void DrawBuffersEXT(GLsizei count, const GLenum* bufs) = 0;
770 virtual void DiscardBackbufferCHROMIUM() = 0;
771 virtual void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
772 GLenum plane_transform,
773 GLuint overlay_texture_id,
774 GLint bounds_x,
775 GLint bounds_y,
776 GLint bounds_width,
777 GLint bounds_height,
778 GLfloat uv_x,
779 GLfloat uv_y,
780 GLfloat uv_width,
781 GLfloat uv_height) = 0;
782 virtual void SwapInterval(GLint interval) = 0;
783 virtual void FlushDriverCachesCHROMIUM() = 0;
784 virtual void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) = 0;
785 virtual void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) = 0;
786 virtual GLuint GenPathsCHROMIUM(GLsizei range) = 0;
787 virtual void DeletePathsCHROMIUM(GLuint path, GLsizei range) = 0;
788 virtual GLboolean IsPathCHROMIUM(GLuint path) = 0;
789 virtual void PathCommandsCHROMIUM(GLuint path,
790 GLsizei numCommands,
791 const GLubyte* commands,
792 GLsizei numCoords,
793 GLenum coordType,
794 const GLvoid* coords) = 0;
795 virtual void PathParameterfCHROMIUM(GLuint path,
796 GLenum pname,
797 GLfloat value) = 0;
798 virtual void PathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value) = 0;
799 virtual void PathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask) = 0;
800 virtual void StencilFillPathCHROMIUM(GLuint path,
801 GLenum fillMode,
802 GLuint mask) = 0;
803 virtual void StencilStrokePathCHROMIUM(GLuint path,
804 GLint reference,
805 GLuint mask) = 0;
806 virtual void CoverFillPathCHROMIUM(GLuint path, GLenum coverMode) = 0;
807 virtual void CoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) = 0;
808 virtual void StencilThenCoverFillPathCHROMIUM(GLuint path,
809 GLenum fillMode,
810 GLuint mask,
811 GLenum coverMode) = 0;
812 virtual void StencilThenCoverStrokePathCHROMIUM(GLuint path,
813 GLint reference,
814 GLuint mask,
815 GLenum coverMode) = 0;
816 virtual GLenum GetGraphicsResetStatusKHR() = 0;
817 virtual void BlendBarrierKHR() = 0;
818 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_