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