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