Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / gpu / command_buffer / client / gles2_interface_autogen.h
blob815b995902d7be56597f0ee939f8d2f88cc3440d
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 GetBufferParameteri64v(GLenum target,
239 GLenum pname,
240 GLint64* params) = 0;
241 virtual void GetBufferParameteriv(GLenum target,
242 GLenum pname,
243 GLint* params) = 0;
244 virtual GLenum GetError() = 0;
245 virtual void GetFloatv(GLenum pname, GLfloat* params) = 0;
246 virtual GLint GetFragDataLocation(GLuint program, const char* name) = 0;
247 virtual void GetFramebufferAttachmentParameteriv(GLenum target,
248 GLenum attachment,
249 GLenum pname,
250 GLint* params) = 0;
251 virtual void GetInteger64v(GLenum pname, GLint64* params) = 0;
252 virtual void GetIntegeri_v(GLenum pname, GLuint index, GLint* data) = 0;
253 virtual void GetInteger64i_v(GLenum pname, GLuint index, GLint64* data) = 0;
254 virtual void GetIntegerv(GLenum pname, GLint* params) = 0;
255 virtual void GetInternalformativ(GLenum target,
256 GLenum format,
257 GLenum pname,
258 GLsizei bufSize,
259 GLint* params) = 0;
260 virtual void GetProgramiv(GLuint program, GLenum pname, GLint* params) = 0;
261 virtual void GetProgramInfoLog(GLuint program,
262 GLsizei bufsize,
263 GLsizei* length,
264 char* infolog) = 0;
265 virtual void GetRenderbufferParameteriv(GLenum target,
266 GLenum pname,
267 GLint* params) = 0;
268 virtual void GetSamplerParameterfv(GLuint sampler,
269 GLenum pname,
270 GLfloat* params) = 0;
271 virtual void GetSamplerParameteriv(GLuint sampler,
272 GLenum pname,
273 GLint* params) = 0;
274 virtual void GetShaderiv(GLuint shader, GLenum pname, GLint* params) = 0;
275 virtual void GetShaderInfoLog(GLuint shader,
276 GLsizei bufsize,
277 GLsizei* length,
278 char* infolog) = 0;
279 virtual void GetShaderPrecisionFormat(GLenum shadertype,
280 GLenum precisiontype,
281 GLint* range,
282 GLint* precision) = 0;
283 virtual void GetShaderSource(GLuint shader,
284 GLsizei bufsize,
285 GLsizei* length,
286 char* source) = 0;
287 virtual const GLubyte* GetString(GLenum name) = 0;
288 virtual void GetSynciv(GLsync sync,
289 GLenum pname,
290 GLsizei bufsize,
291 GLsizei* length,
292 GLint* values) = 0;
293 virtual void GetTexParameterfv(GLenum target,
294 GLenum pname,
295 GLfloat* params) = 0;
296 virtual void GetTexParameteriv(GLenum target, GLenum pname, GLint* params) = 0;
297 virtual void GetTransformFeedbackVarying(GLuint program,
298 GLuint index,
299 GLsizei bufsize,
300 GLsizei* length,
301 GLsizei* size,
302 GLenum* type,
303 char* name) = 0;
304 virtual GLuint GetUniformBlockIndex(GLuint program, const char* name) = 0;
305 virtual void GetUniformfv(GLuint program, GLint location, GLfloat* params) = 0;
306 virtual void GetUniformiv(GLuint program, GLint location, GLint* params) = 0;
307 virtual void GetUniformuiv(GLuint program, GLint location, GLuint* params) = 0;
308 virtual void GetUniformIndices(GLuint program,
309 GLsizei count,
310 const char* const* names,
311 GLuint* indices) = 0;
312 virtual GLint GetUniformLocation(GLuint program, const char* name) = 0;
313 virtual void GetVertexAttribfv(GLuint index, GLenum pname, GLfloat* params) = 0;
314 virtual void GetVertexAttribiv(GLuint index, GLenum pname, GLint* params) = 0;
315 virtual void GetVertexAttribIiv(GLuint index, GLenum pname, GLint* params) = 0;
316 virtual void GetVertexAttribIuiv(GLuint index,
317 GLenum pname,
318 GLuint* params) = 0;
319 virtual void GetVertexAttribPointerv(GLuint index,
320 GLenum pname,
321 void** pointer) = 0;
322 virtual void Hint(GLenum target, GLenum mode) = 0;
323 virtual void InvalidateFramebuffer(GLenum target,
324 GLsizei count,
325 const GLenum* attachments) = 0;
326 virtual void InvalidateSubFramebuffer(GLenum target,
327 GLsizei count,
328 const GLenum* attachments,
329 GLint x,
330 GLint y,
331 GLsizei width,
332 GLsizei height) = 0;
333 virtual GLboolean IsBuffer(GLuint buffer) = 0;
334 virtual GLboolean IsEnabled(GLenum cap) = 0;
335 virtual GLboolean IsFramebuffer(GLuint framebuffer) = 0;
336 virtual GLboolean IsProgram(GLuint program) = 0;
337 virtual GLboolean IsRenderbuffer(GLuint renderbuffer) = 0;
338 virtual GLboolean IsSampler(GLuint sampler) = 0;
339 virtual GLboolean IsShader(GLuint shader) = 0;
340 virtual GLboolean IsSync(GLsync sync) = 0;
341 virtual GLboolean IsTexture(GLuint texture) = 0;
342 virtual GLboolean IsTransformFeedback(GLuint transformfeedback) = 0;
343 virtual void LineWidth(GLfloat width) = 0;
344 virtual void LinkProgram(GLuint program) = 0;
345 virtual void PauseTransformFeedback() = 0;
346 virtual void PixelStorei(GLenum pname, GLint param) = 0;
347 virtual void PolygonOffset(GLfloat factor, GLfloat units) = 0;
348 virtual void ReadBuffer(GLenum src) = 0;
349 virtual void ReadPixels(GLint x,
350 GLint y,
351 GLsizei width,
352 GLsizei height,
353 GLenum format,
354 GLenum type,
355 void* pixels) = 0;
356 virtual void ReleaseShaderCompiler() = 0;
357 virtual void RenderbufferStorage(GLenum target,
358 GLenum internalformat,
359 GLsizei width,
360 GLsizei height) = 0;
361 virtual void ResumeTransformFeedback() = 0;
362 virtual void SampleCoverage(GLclampf value, GLboolean invert) = 0;
363 virtual void SamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) = 0;
364 virtual void SamplerParameterfv(GLuint sampler,
365 GLenum pname,
366 const GLfloat* params) = 0;
367 virtual void SamplerParameteri(GLuint sampler, GLenum pname, GLint param) = 0;
368 virtual void SamplerParameteriv(GLuint sampler,
369 GLenum pname,
370 const GLint* params) = 0;
371 virtual void Scissor(GLint x, GLint y, GLsizei width, GLsizei height) = 0;
372 virtual void ShaderBinary(GLsizei n,
373 const GLuint* shaders,
374 GLenum binaryformat,
375 const void* binary,
376 GLsizei length) = 0;
377 virtual void ShaderSource(GLuint shader,
378 GLsizei count,
379 const GLchar* const* str,
380 const GLint* length) = 0;
381 virtual void ShallowFinishCHROMIUM() = 0;
382 virtual void ShallowFlushCHROMIUM() = 0;
383 virtual void OrderingBarrierCHROMIUM() = 0;
384 virtual void StencilFunc(GLenum func, GLint ref, GLuint mask) = 0;
385 virtual void StencilFuncSeparate(GLenum face,
386 GLenum func,
387 GLint ref,
388 GLuint mask) = 0;
389 virtual void StencilMask(GLuint mask) = 0;
390 virtual void StencilMaskSeparate(GLenum face, GLuint mask) = 0;
391 virtual void StencilOp(GLenum fail, GLenum zfail, GLenum zpass) = 0;
392 virtual void StencilOpSeparate(GLenum face,
393 GLenum fail,
394 GLenum zfail,
395 GLenum zpass) = 0;
396 virtual void TexImage2D(GLenum target,
397 GLint level,
398 GLint internalformat,
399 GLsizei width,
400 GLsizei height,
401 GLint border,
402 GLenum format,
403 GLenum type,
404 const void* pixels) = 0;
405 virtual void TexImage3D(GLenum target,
406 GLint level,
407 GLint internalformat,
408 GLsizei width,
409 GLsizei height,
410 GLsizei depth,
411 GLint border,
412 GLenum format,
413 GLenum type,
414 const void* pixels) = 0;
415 virtual void TexParameterf(GLenum target, GLenum pname, GLfloat param) = 0;
416 virtual void TexParameterfv(GLenum target,
417 GLenum pname,
418 const GLfloat* params) = 0;
419 virtual void TexParameteri(GLenum target, GLenum pname, GLint param) = 0;
420 virtual void TexParameteriv(GLenum target,
421 GLenum pname,
422 const GLint* params) = 0;
423 virtual void TexStorage3D(GLenum target,
424 GLsizei levels,
425 GLenum internalFormat,
426 GLsizei width,
427 GLsizei height,
428 GLsizei depth) = 0;
429 virtual void TexSubImage2D(GLenum target,
430 GLint level,
431 GLint xoffset,
432 GLint yoffset,
433 GLsizei width,
434 GLsizei height,
435 GLenum format,
436 GLenum type,
437 const void* pixels) = 0;
438 virtual void TexSubImage3D(GLenum target,
439 GLint level,
440 GLint xoffset,
441 GLint yoffset,
442 GLint zoffset,
443 GLsizei width,
444 GLsizei height,
445 GLsizei depth,
446 GLenum format,
447 GLenum type,
448 const void* pixels) = 0;
449 virtual void TransformFeedbackVaryings(GLuint program,
450 GLsizei count,
451 const char* const* varyings,
452 GLenum buffermode) = 0;
453 virtual void Uniform1f(GLint location, GLfloat x) = 0;
454 virtual void Uniform1fv(GLint location, GLsizei count, const GLfloat* v) = 0;
455 virtual void Uniform1i(GLint location, GLint x) = 0;
456 virtual void Uniform1iv(GLint location, GLsizei count, const GLint* v) = 0;
457 virtual void Uniform1ui(GLint location, GLuint x) = 0;
458 virtual void Uniform1uiv(GLint location, GLsizei count, const GLuint* v) = 0;
459 virtual void Uniform2f(GLint location, GLfloat x, GLfloat y) = 0;
460 virtual void Uniform2fv(GLint location, GLsizei count, const GLfloat* v) = 0;
461 virtual void Uniform2i(GLint location, GLint x, GLint y) = 0;
462 virtual void Uniform2iv(GLint location, GLsizei count, const GLint* v) = 0;
463 virtual void Uniform2ui(GLint location, GLuint x, GLuint y) = 0;
464 virtual void Uniform2uiv(GLint location, GLsizei count, const GLuint* v) = 0;
465 virtual void Uniform3f(GLint location, GLfloat x, GLfloat y, GLfloat z) = 0;
466 virtual void Uniform3fv(GLint location, GLsizei count, const GLfloat* v) = 0;
467 virtual void Uniform3i(GLint location, GLint x, GLint y, GLint z) = 0;
468 virtual void Uniform3iv(GLint location, GLsizei count, const GLint* v) = 0;
469 virtual void Uniform3ui(GLint location, GLuint x, GLuint y, GLuint z) = 0;
470 virtual void Uniform3uiv(GLint location, GLsizei count, const GLuint* v) = 0;
471 virtual void Uniform4f(GLint location,
472 GLfloat x,
473 GLfloat y,
474 GLfloat z,
475 GLfloat w) = 0;
476 virtual void Uniform4fv(GLint location, GLsizei count, const GLfloat* v) = 0;
477 virtual void Uniform4i(GLint location, GLint x, GLint y, GLint z, GLint w) = 0;
478 virtual void Uniform4iv(GLint location, GLsizei count, const GLint* v) = 0;
479 virtual void Uniform4ui(GLint location,
480 GLuint x,
481 GLuint y,
482 GLuint z,
483 GLuint w) = 0;
484 virtual void Uniform4uiv(GLint location, GLsizei count, const GLuint* v) = 0;
485 virtual void UniformBlockBinding(GLuint program,
486 GLuint index,
487 GLuint binding) = 0;
488 virtual void UniformMatrix2fv(GLint location,
489 GLsizei count,
490 GLboolean transpose,
491 const GLfloat* value) = 0;
492 virtual void UniformMatrix2x3fv(GLint location,
493 GLsizei count,
494 GLboolean transpose,
495 const GLfloat* value) = 0;
496 virtual void UniformMatrix2x4fv(GLint location,
497 GLsizei count,
498 GLboolean transpose,
499 const GLfloat* value) = 0;
500 virtual void UniformMatrix3fv(GLint location,
501 GLsizei count,
502 GLboolean transpose,
503 const GLfloat* value) = 0;
504 virtual void UniformMatrix3x2fv(GLint location,
505 GLsizei count,
506 GLboolean transpose,
507 const GLfloat* value) = 0;
508 virtual void UniformMatrix3x4fv(GLint location,
509 GLsizei count,
510 GLboolean transpose,
511 const GLfloat* value) = 0;
512 virtual void UniformMatrix4fv(GLint location,
513 GLsizei count,
514 GLboolean transpose,
515 const GLfloat* value) = 0;
516 virtual void UniformMatrix4x2fv(GLint location,
517 GLsizei count,
518 GLboolean transpose,
519 const GLfloat* value) = 0;
520 virtual void UniformMatrix4x3fv(GLint location,
521 GLsizei count,
522 GLboolean transpose,
523 const GLfloat* value) = 0;
524 virtual void UseProgram(GLuint program) = 0;
525 virtual void ValidateProgram(GLuint program) = 0;
526 virtual void VertexAttrib1f(GLuint indx, GLfloat x) = 0;
527 virtual void VertexAttrib1fv(GLuint indx, const GLfloat* values) = 0;
528 virtual void VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y) = 0;
529 virtual void VertexAttrib2fv(GLuint indx, const GLfloat* values) = 0;
530 virtual void VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z) = 0;
531 virtual void VertexAttrib3fv(GLuint indx, const GLfloat* values) = 0;
532 virtual void VertexAttrib4f(GLuint indx,
533 GLfloat x,
534 GLfloat y,
535 GLfloat z,
536 GLfloat w) = 0;
537 virtual void VertexAttrib4fv(GLuint indx, const GLfloat* values) = 0;
538 virtual void VertexAttribI4i(GLuint indx,
539 GLint x,
540 GLint y,
541 GLint z,
542 GLint w) = 0;
543 virtual void VertexAttribI4iv(GLuint indx, const GLint* values) = 0;
544 virtual void VertexAttribI4ui(GLuint indx,
545 GLuint x,
546 GLuint y,
547 GLuint z,
548 GLuint w) = 0;
549 virtual void VertexAttribI4uiv(GLuint indx, const GLuint* values) = 0;
550 virtual void VertexAttribIPointer(GLuint indx,
551 GLint size,
552 GLenum type,
553 GLsizei stride,
554 const void* ptr) = 0;
555 virtual void VertexAttribPointer(GLuint indx,
556 GLint size,
557 GLenum type,
558 GLboolean normalized,
559 GLsizei stride,
560 const void* ptr) = 0;
561 virtual void Viewport(GLint x, GLint y, GLsizei width, GLsizei height) = 0;
562 virtual void WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) = 0;
563 virtual void BlitFramebufferCHROMIUM(GLint srcX0,
564 GLint srcY0,
565 GLint srcX1,
566 GLint srcY1,
567 GLint dstX0,
568 GLint dstY0,
569 GLint dstX1,
570 GLint dstY1,
571 GLbitfield mask,
572 GLenum filter) = 0;
573 virtual void RenderbufferStorageMultisampleCHROMIUM(GLenum target,
574 GLsizei samples,
575 GLenum internalformat,
576 GLsizei width,
577 GLsizei height) = 0;
578 virtual void RenderbufferStorageMultisampleEXT(GLenum target,
579 GLsizei samples,
580 GLenum internalformat,
581 GLsizei width,
582 GLsizei height) = 0;
583 virtual void FramebufferTexture2DMultisampleEXT(GLenum target,
584 GLenum attachment,
585 GLenum textarget,
586 GLuint texture,
587 GLint level,
588 GLsizei samples) = 0;
589 virtual void TexStorage2DEXT(GLenum target,
590 GLsizei levels,
591 GLenum internalFormat,
592 GLsizei width,
593 GLsizei height) = 0;
594 virtual void GenQueriesEXT(GLsizei n, GLuint* queries) = 0;
595 virtual void DeleteQueriesEXT(GLsizei n, const GLuint* queries) = 0;
596 virtual void QueryCounterEXT(GLuint id, GLenum target) = 0;
597 virtual GLboolean IsQueryEXT(GLuint id) = 0;
598 virtual void BeginQueryEXT(GLenum target, GLuint id) = 0;
599 virtual void BeginTransformFeedback(GLenum primitivemode) = 0;
600 virtual void EndQueryEXT(GLenum target) = 0;
601 virtual void EndTransformFeedback() = 0;
602 virtual void GetQueryivEXT(GLenum target, GLenum pname, GLint* params) = 0;
603 virtual void GetQueryObjectivEXT(GLuint id, GLenum pname, GLint* params) = 0;
604 virtual void GetQueryObjectuivEXT(GLuint id, GLenum pname, GLuint* params) = 0;
605 virtual void GetQueryObjecti64vEXT(GLuint id,
606 GLenum pname,
607 GLint64* params) = 0;
608 virtual void GetQueryObjectui64vEXT(GLuint id,
609 GLenum pname,
610 GLuint64* params) = 0;
611 virtual void SetDisjointValueSyncCHROMIUM() = 0;
612 virtual void InsertEventMarkerEXT(GLsizei length, const GLchar* marker) = 0;
613 virtual void PushGroupMarkerEXT(GLsizei length, const GLchar* marker) = 0;
614 virtual void PopGroupMarkerEXT() = 0;
615 virtual void GenVertexArraysOES(GLsizei n, GLuint* arrays) = 0;
616 virtual void DeleteVertexArraysOES(GLsizei n, const GLuint* arrays) = 0;
617 virtual GLboolean IsVertexArrayOES(GLuint array) = 0;
618 virtual void BindVertexArrayOES(GLuint array) = 0;
619 virtual void SwapBuffers() = 0;
620 virtual GLuint GetMaxValueInBufferCHROMIUM(GLuint buffer_id,
621 GLsizei count,
622 GLenum type,
623 GLuint offset) = 0;
624 virtual GLboolean EnableFeatureCHROMIUM(const char* feature) = 0;
625 virtual void* MapBufferCHROMIUM(GLuint target, GLenum access) = 0;
626 virtual GLboolean UnmapBufferCHROMIUM(GLuint target) = 0;
627 virtual void* MapBufferSubDataCHROMIUM(GLuint target,
628 GLintptr offset,
629 GLsizeiptr size,
630 GLenum access) = 0;
631 virtual void UnmapBufferSubDataCHROMIUM(const void* mem) = 0;
632 virtual void* MapBufferRange(GLenum target,
633 GLintptr offset,
634 GLsizeiptr size,
635 GLbitfield access) = 0;
636 virtual GLboolean UnmapBuffer(GLenum target) = 0;
637 virtual void* MapTexSubImage2DCHROMIUM(GLenum target,
638 GLint level,
639 GLint xoffset,
640 GLint yoffset,
641 GLsizei width,
642 GLsizei height,
643 GLenum format,
644 GLenum type,
645 GLenum access) = 0;
646 virtual void UnmapTexSubImage2DCHROMIUM(const void* mem) = 0;
647 virtual void ResizeCHROMIUM(GLuint width,
648 GLuint height,
649 GLfloat scale_factor) = 0;
650 virtual const GLchar* GetRequestableExtensionsCHROMIUM() = 0;
651 virtual void RequestExtensionCHROMIUM(const char* extension) = 0;
652 virtual void RateLimitOffscreenContextCHROMIUM() = 0;
653 virtual void GetProgramInfoCHROMIUM(GLuint program,
654 GLsizei bufsize,
655 GLsizei* size,
656 void* info) = 0;
657 virtual void GetUniformBlocksCHROMIUM(GLuint program,
658 GLsizei bufsize,
659 GLsizei* size,
660 void* info) = 0;
661 virtual void GetTransformFeedbackVaryingsCHROMIUM(GLuint program,
662 GLsizei bufsize,
663 GLsizei* size,
664 void* info) = 0;
665 virtual void GetUniformsES3CHROMIUM(GLuint program,
666 GLsizei bufsize,
667 GLsizei* size,
668 void* info) = 0;
669 virtual GLuint CreateStreamTextureCHROMIUM(GLuint texture) = 0;
670 virtual GLuint CreateImageCHROMIUM(ClientBuffer buffer,
671 GLsizei width,
672 GLsizei height,
673 GLenum internalformat) = 0;
674 virtual void DestroyImageCHROMIUM(GLuint image_id) = 0;
675 virtual GLuint CreateGpuMemoryBufferImageCHROMIUM(GLsizei width,
676 GLsizei height,
677 GLenum internalformat,
678 GLenum usage) = 0;
679 virtual void GetTranslatedShaderSourceANGLE(GLuint shader,
680 GLsizei bufsize,
681 GLsizei* length,
682 char* source) = 0;
683 virtual void PostSubBufferCHROMIUM(GLint x,
684 GLint y,
685 GLint width,
686 GLint height) = 0;
687 virtual void TexImageIOSurface2DCHROMIUM(GLenum target,
688 GLsizei width,
689 GLsizei height,
690 GLuint ioSurfaceId,
691 GLuint plane) = 0;
692 virtual void CopyTextureCHROMIUM(GLenum target,
693 GLenum source_id,
694 GLenum dest_id,
695 GLint internalformat,
696 GLenum dest_type,
697 GLboolean unpack_flip_y,
698 GLboolean unpack_premultiply_alpha,
699 GLboolean unpack_unmultiply_alpha) = 0;
700 virtual void CopySubTextureCHROMIUM(GLenum target,
701 GLenum source_id,
702 GLenum dest_id,
703 GLint xoffset,
704 GLint yoffset,
705 GLint x,
706 GLint y,
707 GLsizei width,
708 GLsizei height,
709 GLboolean unpack_flip_y,
710 GLboolean unpack_premultiply_alpha,
711 GLboolean unpack_unmultiply_alpha) = 0;
712 virtual void CompressedCopyTextureCHROMIUM(GLenum target,
713 GLenum source_id,
714 GLenum dest_id) = 0;
715 virtual void CompressedCopySubTextureCHROMIUM(GLenum target,
716 GLenum source_id,
717 GLenum dest_id,
718 GLint xoffset,
719 GLint yoffset,
720 GLint x,
721 GLint y,
722 GLsizei width,
723 GLsizei height) = 0;
724 virtual void DrawArraysInstancedANGLE(GLenum mode,
725 GLint first,
726 GLsizei count,
727 GLsizei primcount) = 0;
728 virtual void DrawElementsInstancedANGLE(GLenum mode,
729 GLsizei count,
730 GLenum type,
731 const void* indices,
732 GLsizei primcount) = 0;
733 virtual void VertexAttribDivisorANGLE(GLuint index, GLuint divisor) = 0;
734 virtual void GenMailboxCHROMIUM(GLbyte* mailbox) = 0;
735 virtual void ProduceTextureCHROMIUM(GLenum target, const GLbyte* mailbox) = 0;
736 virtual void ProduceTextureDirectCHROMIUM(GLuint texture,
737 GLenum target,
738 const GLbyte* mailbox) = 0;
739 virtual void ConsumeTextureCHROMIUM(GLenum target, const GLbyte* mailbox) = 0;
740 virtual GLuint CreateAndConsumeTextureCHROMIUM(GLenum target,
741 const GLbyte* mailbox) = 0;
742 virtual void BindUniformLocationCHROMIUM(GLuint program,
743 GLint location,
744 const char* name) = 0;
745 virtual void GenValuebuffersCHROMIUM(GLsizei n, GLuint* buffers) = 0;
746 virtual void DeleteValuebuffersCHROMIUM(GLsizei n,
747 const GLuint* valuebuffers) = 0;
748 virtual GLboolean IsValuebufferCHROMIUM(GLuint valuebuffer) = 0;
749 virtual void BindValuebufferCHROMIUM(GLenum target, GLuint valuebuffer) = 0;
750 virtual void SubscribeValueCHROMIUM(GLenum target, GLenum subscription) = 0;
751 virtual void PopulateSubscribedValuesCHROMIUM(GLenum target) = 0;
752 virtual void UniformValuebufferCHROMIUM(GLint location,
753 GLenum target,
754 GLenum subscription) = 0;
755 virtual void BindTexImage2DCHROMIUM(GLenum target, GLint imageId) = 0;
756 virtual void ReleaseTexImage2DCHROMIUM(GLenum target, GLint imageId) = 0;
757 virtual void TraceBeginCHROMIUM(const char* category_name,
758 const char* trace_name) = 0;
759 virtual void TraceEndCHROMIUM() = 0;
760 virtual void AsyncTexSubImage2DCHROMIUM(GLenum target,
761 GLint level,
762 GLint xoffset,
763 GLint yoffset,
764 GLsizei width,
765 GLsizei height,
766 GLenum format,
767 GLenum type,
768 const void* data) = 0;
769 virtual void AsyncTexImage2DCHROMIUM(GLenum target,
770 GLint level,
771 GLenum internalformat,
772 GLsizei width,
773 GLsizei height,
774 GLint border,
775 GLenum format,
776 GLenum type,
777 const void* pixels) = 0;
778 virtual void WaitAsyncTexImage2DCHROMIUM(GLenum target) = 0;
779 virtual void WaitAllAsyncTexImage2DCHROMIUM() = 0;
780 virtual void DiscardFramebufferEXT(GLenum target,
781 GLsizei count,
782 const GLenum* attachments) = 0;
783 virtual void LoseContextCHROMIUM(GLenum current, GLenum other) = 0;
784 virtual GLuint InsertSyncPointCHROMIUM() = 0;
785 virtual void WaitSyncPointCHROMIUM(GLuint sync_point) = 0;
786 virtual void DrawBuffersEXT(GLsizei count, const GLenum* bufs) = 0;
787 virtual void DiscardBackbufferCHROMIUM() = 0;
788 virtual void ScheduleOverlayPlaneCHROMIUM(GLint plane_z_order,
789 GLenum plane_transform,
790 GLuint overlay_texture_id,
791 GLint bounds_x,
792 GLint bounds_y,
793 GLint bounds_width,
794 GLint bounds_height,
795 GLfloat uv_x,
796 GLfloat uv_y,
797 GLfloat uv_width,
798 GLfloat uv_height) = 0;
799 virtual void SwapInterval(GLint interval) = 0;
800 virtual void FlushDriverCachesCHROMIUM() = 0;
801 virtual void MatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat* m) = 0;
802 virtual void MatrixLoadIdentityCHROMIUM(GLenum matrixMode) = 0;
803 virtual GLuint GenPathsCHROMIUM(GLsizei range) = 0;
804 virtual void DeletePathsCHROMIUM(GLuint path, GLsizei range) = 0;
805 virtual GLboolean IsPathCHROMIUM(GLuint path) = 0;
806 virtual void PathCommandsCHROMIUM(GLuint path,
807 GLsizei numCommands,
808 const GLubyte* commands,
809 GLsizei numCoords,
810 GLenum coordType,
811 const GLvoid* coords) = 0;
812 virtual void PathParameterfCHROMIUM(GLuint path,
813 GLenum pname,
814 GLfloat value) = 0;
815 virtual void PathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value) = 0;
816 virtual void PathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask) = 0;
817 virtual void StencilFillPathCHROMIUM(GLuint path,
818 GLenum fillMode,
819 GLuint mask) = 0;
820 virtual void StencilStrokePathCHROMIUM(GLuint path,
821 GLint reference,
822 GLuint mask) = 0;
823 virtual void CoverFillPathCHROMIUM(GLuint path, GLenum coverMode) = 0;
824 virtual void CoverStrokePathCHROMIUM(GLuint path, GLenum coverMode) = 0;
825 virtual void StencilThenCoverFillPathCHROMIUM(GLuint path,
826 GLenum fillMode,
827 GLuint mask,
828 GLenum coverMode) = 0;
829 virtual void StencilThenCoverStrokePathCHROMIUM(GLuint path,
830 GLint reference,
831 GLuint mask,
832 GLenum coverMode) = 0;
833 virtual GLenum GetGraphicsResetStatusKHR() = 0;
834 virtual void BlendBarrierKHR() = 0;
835 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_INTERFACE_AUTOGEN_H_