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