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