Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc

Issue 2012533004: Add generated and hand-written passthrough command handlers with stub Doers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016 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.
4
5 #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h"
6
7 #include "base/strings/string_number_conversions.h"
8
9 namespace gpu {
10 namespace gles2 {
11
12 // Implementations of commands
13 error::Error GLES2DecoderPassthroughImpl::DoActiveTexture(GLenum texture) {
14 return error::kNoError;
15 }
16
17 error::Error GLES2DecoderPassthroughImpl::DoAttachShader(GLuint program,
18 GLuint shader) {
19 return error::kNoError;
20 }
21
22 error::Error GLES2DecoderPassthroughImpl::DoBindAttribLocation(
23 GLuint program,
24 GLuint index,
25 const char* name) {
26 return error::kNoError;
27 }
28
29 error::Error GLES2DecoderPassthroughImpl::DoBindBuffer(GLenum target,
30 GLuint buffer) {
31 return error::kNoError;
32 }
33
34 error::Error GLES2DecoderPassthroughImpl::DoBindBufferBase(GLenum target,
35 GLuint index,
36 GLuint buffer) {
37 return error::kNoError;
38 }
39
40 error::Error GLES2DecoderPassthroughImpl::DoBindBufferRange(GLenum target,
41 GLuint index,
42 GLuint buffer,
43 GLintptr offset,
44 GLsizeiptr size) {
45 return error::kNoError;
46 }
47
48 error::Error GLES2DecoderPassthroughImpl::DoBindFramebuffer(
49 GLenum target,
50 GLuint framebuffer) {
51 return error::kNoError;
52 }
53
54 error::Error GLES2DecoderPassthroughImpl::DoBindRenderbuffer(
55 GLenum target,
56 GLuint renderbuffer) {
57 return error::kNoError;
58 }
59
60 error::Error GLES2DecoderPassthroughImpl::DoBindSampler(GLuint unit,
61 GLuint sampler) {
62 return error::kNoError;
63 }
64
65 error::Error GLES2DecoderPassthroughImpl::DoBindTexture(GLenum target,
66 GLuint texture) {
67 return error::kNoError;
68 }
69
70 error::Error GLES2DecoderPassthroughImpl::DoBindTransformFeedback(
71 GLenum target,
72 GLuint transformfeedback) {
73 return error::kNoError;
74 }
75
76 error::Error GLES2DecoderPassthroughImpl::DoBlendColor(GLclampf red,
77 GLclampf green,
78 GLclampf blue,
79 GLclampf alpha) {
80 return error::kNoError;
81 }
82
83 error::Error GLES2DecoderPassthroughImpl::DoBlendEquation(GLenum mode) {
84 return error::kNoError;
85 }
86
87 error::Error GLES2DecoderPassthroughImpl::DoBlendEquationSeparate(
88 GLenum modeRGB,
89 GLenum modeAlpha) {
90 return error::kNoError;
91 }
92
93 error::Error GLES2DecoderPassthroughImpl::DoBlendFunc(GLenum sfactor,
94 GLenum dfactor) {
95 return error::kNoError;
96 }
97
98 error::Error GLES2DecoderPassthroughImpl::DoBlendFuncSeparate(GLenum srcRGB,
99 GLenum dstRGB,
100 GLenum srcAlpha,
101 GLenum dstAlpha) {
102 return error::kNoError;
103 }
104
105 error::Error GLES2DecoderPassthroughImpl::DoBufferData(GLenum target,
106 GLsizeiptr size,
107 const void* data,
108 GLenum usage) {
109 return error::kNoError;
110 }
111
112 error::Error GLES2DecoderPassthroughImpl::DoBufferSubData(GLenum target,
113 GLintptr offset,
114 GLsizeiptr size,
115 const void* data) {
116 return error::kNoError;
117 }
118
119 error::Error GLES2DecoderPassthroughImpl::DoCheckFramebufferStatus(
120 GLenum target,
121 uint32_t* result) {
122 return error::kNoError;
123 }
124
125 error::Error GLES2DecoderPassthroughImpl::DoClear(GLbitfield mask) {
126 return error::kNoError;
127 }
128
129 error::Error GLES2DecoderPassthroughImpl::DoClearBufferfi(GLenum buffer,
130 GLint drawbuffers,
131 GLfloat depth,
132 GLint stencil) {
133 return error::kNoError;
134 }
135
136 error::Error GLES2DecoderPassthroughImpl::DoClearBufferfv(
137 GLenum buffer,
138 GLint drawbuffers,
139 const GLfloat* value) {
140 return error::kNoError;
141 }
142
143 error::Error GLES2DecoderPassthroughImpl::DoClearBufferiv(GLenum buffer,
144 GLint drawbuffers,
145 const GLint* value) {
146 return error::kNoError;
147 }
148
149 error::Error GLES2DecoderPassthroughImpl::DoClearBufferuiv(
150 GLenum buffer,
151 GLint drawbuffers,
152 const GLuint* value) {
153 return error::kNoError;
154 }
155
156 error::Error GLES2DecoderPassthroughImpl::DoClearColor(GLclampf red,
157 GLclampf green,
158 GLclampf blue,
159 GLclampf alpha) {
160 return error::kNoError;
161 }
162
163 error::Error GLES2DecoderPassthroughImpl::DoClearDepthf(GLclampf depth) {
164 return error::kNoError;
165 }
166
167 error::Error GLES2DecoderPassthroughImpl::DoClearStencil(GLint s) {
168 return error::kNoError;
169 }
170
171 error::Error GLES2DecoderPassthroughImpl::DoClientWaitSync(GLuint sync,
172 GLbitfield flags,
173 GLuint64 timeout,
174 GLenum* result) {
175 return error::kNoError;
176 }
177
178 error::Error GLES2DecoderPassthroughImpl::DoColorMask(GLboolean red,
179 GLboolean green,
180 GLboolean blue,
181 GLboolean alpha) {
182 return error::kNoError;
183 }
184
185 error::Error GLES2DecoderPassthroughImpl::DoCompileShader(GLuint shader) {
186 return error::kNoError;
187 }
188
189 error::Error GLES2DecoderPassthroughImpl::DoCompressedTexImage2D(
190 GLenum target,
191 GLint level,
192 GLenum internalformat,
193 GLsizei width,
194 GLsizei height,
195 GLint border,
196 GLsizei imageSize,
197 const void* data) {
198 return error::kNoError;
199 }
200
201 error::Error GLES2DecoderPassthroughImpl::DoCompressedTexSubImage2D(
202 GLenum target,
203 GLint level,
204 GLint xoffset,
205 GLint yoffset,
206 GLsizei width,
207 GLsizei height,
208 GLenum format,
209 GLsizei imageSize,
210 const void* data) {
211 return error::kNoError;
212 }
213
214 error::Error GLES2DecoderPassthroughImpl::DoCompressedTexImage3D(
215 GLenum target,
216 GLint level,
217 GLenum internalformat,
218 GLsizei width,
219 GLsizei height,
220 GLsizei depth,
221 GLint border,
222 GLsizei imageSize,
223 const void* data) {
224 return error::kNoError;
225 }
226
227 error::Error GLES2DecoderPassthroughImpl::DoCompressedTexSubImage3D(
228 GLenum target,
229 GLint level,
230 GLint xoffset,
231 GLint yoffset,
232 GLint zoffset,
233 GLsizei width,
234 GLsizei height,
235 GLsizei depth,
236 GLenum format,
237 GLsizei imageSize,
238 const void* data) {
239 return error::kNoError;
240 }
241
242 error::Error GLES2DecoderPassthroughImpl::DoCopyBufferSubData(
243 GLenum readtarget,
244 GLenum writetarget,
245 GLintptr readoffset,
246 GLintptr writeoffset,
247 GLsizeiptr size) {
248 return error::kNoError;
249 }
250
251 error::Error GLES2DecoderPassthroughImpl::DoCopyTexImage2D(
252 GLenum target,
253 GLint level,
254 GLenum internalformat,
255 GLint x,
256 GLint y,
257 GLsizei width,
258 GLsizei height,
259 GLint border) {
260 return error::kNoError;
261 }
262
263 error::Error GLES2DecoderPassthroughImpl::DoCopyTexSubImage2D(GLenum target,
264 GLint level,
265 GLint xoffset,
266 GLint yoffset,
267 GLint x,
268 GLint y,
269 GLsizei width,
270 GLsizei height) {
271 return error::kNoError;
272 }
273
274 error::Error GLES2DecoderPassthroughImpl::DoCopyTexSubImage3D(GLenum target,
275 GLint level,
276 GLint xoffset,
277 GLint yoffset,
278 GLint zoffset,
279 GLint x,
280 GLint y,
281 GLsizei width,
282 GLsizei height) {
283 return error::kNoError;
284 }
285
286 error::Error GLES2DecoderPassthroughImpl::DoCreateProgram(GLuint client_id) {
287 return error::kNoError;
288 }
289
290 error::Error GLES2DecoderPassthroughImpl::DoCreateShader(GLenum type,
291 GLuint client_id) {
292 return error::kNoError;
293 }
294
295 error::Error GLES2DecoderPassthroughImpl::DoCullFace(GLenum mode) {
296 return error::kNoError;
297 }
298
299 error::Error GLES2DecoderPassthroughImpl::DoDeleteBuffers(
300 GLsizei n,
301 const GLuint* buffers) {
302 return error::kNoError;
303 }
304
305 error::Error GLES2DecoderPassthroughImpl::DoDeleteFramebuffers(
306 GLsizei n,
307 const GLuint* framebuffers) {
308 return error::kNoError;
309 }
310
311 error::Error GLES2DecoderPassthroughImpl::DoDeleteProgram(GLuint program) {
312 return error::kNoError;
313 }
314
315 error::Error GLES2DecoderPassthroughImpl::DoDeleteRenderbuffers(
316 GLsizei n,
317 const GLuint* renderbuffers) {
318 return error::kNoError;
319 }
320
321 error::Error GLES2DecoderPassthroughImpl::DoDeleteSamplers(
322 GLsizei n,
323 const GLuint* samplers) {
324 return error::kNoError;
325 }
326
327 error::Error GLES2DecoderPassthroughImpl::DoDeleteSync(GLuint sync) {
328 return error::kNoError;
329 }
330
331 error::Error GLES2DecoderPassthroughImpl::DoDeleteShader(GLuint shader) {
332 return error::kNoError;
333 }
334
335 error::Error GLES2DecoderPassthroughImpl::DoDeleteTextures(
336 GLsizei n,
337 const GLuint* textures) {
338 return error::kNoError;
339 }
340
341 error::Error GLES2DecoderPassthroughImpl::DoDeleteTransformFeedbacks(
342 GLsizei n,
343 const GLuint* ids) {
344 return error::kNoError;
345 }
346
347 error::Error GLES2DecoderPassthroughImpl::DoDepthFunc(GLenum func) {
348 return error::kNoError;
349 }
350
351 error::Error GLES2DecoderPassthroughImpl::DoDepthMask(GLboolean flag) {
352 return error::kNoError;
353 }
354
355 error::Error GLES2DecoderPassthroughImpl::DoDepthRangef(GLclampf zNear,
356 GLclampf zFar) {
357 return error::kNoError;
358 }
359
360 error::Error GLES2DecoderPassthroughImpl::DoDetachShader(GLuint program,
361 GLuint shader) {
362 return error::kNoError;
363 }
364
365 error::Error GLES2DecoderPassthroughImpl::DoDisable(GLenum cap) {
366 return error::kNoError;
367 }
368
369 error::Error GLES2DecoderPassthroughImpl::DoDisableVertexAttribArray(
370 GLuint index) {
371 return error::kNoError;
372 }
373
374 error::Error GLES2DecoderPassthroughImpl::DoDrawArrays(GLenum mode,
375 GLint first,
376 GLsizei count) {
377 return error::kNoError;
378 }
379
380 error::Error GLES2DecoderPassthroughImpl::DoDrawElements(GLenum mode,
381 GLsizei count,
382 GLenum type,
383 const void* indices) {
384 return error::kNoError;
385 }
386
387 error::Error GLES2DecoderPassthroughImpl::DoEnable(GLenum cap) {
388 return error::kNoError;
389 }
390
391 error::Error GLES2DecoderPassthroughImpl::DoEnableVertexAttribArray(
392 GLuint index) {
393 return error::kNoError;
394 }
395
396 error::Error GLES2DecoderPassthroughImpl::DoFenceSync(GLenum condition,
397 GLbitfield flags,
398 GLuint client_id) {
399 return error::kNoError;
400 }
401
402 error::Error GLES2DecoderPassthroughImpl::DoFinish() {
403 return error::kNoError;
404 }
405
406 error::Error GLES2DecoderPassthroughImpl::DoFlush() {
407 return error::kNoError;
408 }
409
410 error::Error GLES2DecoderPassthroughImpl::DoFramebufferRenderbuffer(
411 GLenum target,
412 GLenum attachment,
413 GLenum renderbuffertarget,
414 GLuint renderbuffer) {
415 return error::kNoError;
416 }
417
418 error::Error GLES2DecoderPassthroughImpl::DoFramebufferTexture2D(
419 GLenum target,
420 GLenum attachment,
421 GLenum textarget,
422 GLuint texture,
423 GLint level) {
424 return error::kNoError;
425 }
426
427 error::Error GLES2DecoderPassthroughImpl::DoFramebufferTextureLayer(
428 GLenum target,
429 GLenum attachment,
430 GLuint texture,
431 GLint level,
432 GLint layer) {
433 return error::kNoError;
434 }
435
436 error::Error GLES2DecoderPassthroughImpl::DoFrontFace(GLenum mode) {
437 return error::kNoError;
438 }
439
440 error::Error GLES2DecoderPassthroughImpl::DoGenBuffers(GLsizei n,
441 GLuint* buffers) {
442 return error::kNoError;
443 }
444
445 error::Error GLES2DecoderPassthroughImpl::DoGenerateMipmap(GLenum target) {
446 return error::kNoError;
447 }
448
449 error::Error GLES2DecoderPassthroughImpl::DoGenFramebuffers(
450 GLsizei n,
451 GLuint* framebuffers) {
452 return error::kNoError;
453 }
454
455 error::Error GLES2DecoderPassthroughImpl::DoGenRenderbuffers(
456 GLsizei n,
457 GLuint* renderbuffers) {
458 return error::kNoError;
459 }
460
461 error::Error GLES2DecoderPassthroughImpl::DoGenSamplers(GLsizei n,
462 GLuint* samplers) {
463 return error::kNoError;
464 }
465
466 error::Error GLES2DecoderPassthroughImpl::DoGenTextures(GLsizei n,
467 GLuint* textures) {
468 return error::kNoError;
469 }
470
471 error::Error GLES2DecoderPassthroughImpl::DoGenTransformFeedbacks(GLsizei n,
472 GLuint* ids) {
473 return error::kNoError;
474 }
475
476 error::Error GLES2DecoderPassthroughImpl::DoGetActiveAttrib(GLuint program,
477 GLuint index,
478 GLint* size,
479 GLenum* type,
480 std::string* name) {
481 return error::kNoError;
482 }
483
484 error::Error GLES2DecoderPassthroughImpl::DoGetActiveUniform(
485 GLuint program,
486 GLuint index,
487 GLint* size,
488 GLenum* type,
489 std::string* name) {
490 return error::kNoError;
491 }
492
493 error::Error GLES2DecoderPassthroughImpl::DoGetActiveUniformBlockiv(
494 GLuint program,
495 GLuint index,
496 GLenum pname,
497 GLsizei bufSize,
498 GLsizei* length,
499 GLint* params) {
500 return error::kNoError;
501 }
502
503 error::Error GLES2DecoderPassthroughImpl::DoGetActiveUniformBlockName(
504 GLuint program,
505 GLuint index,
506 std::string* name) {
507 return error::kNoError;
508 }
509
510 error::Error GLES2DecoderPassthroughImpl::DoGetActiveUniformsiv(
511 GLuint program,
512 GLsizei count,
513 const GLuint* indices,
514 GLenum pname,
515 GLsizei bufSize,
516 GLsizei* length,
517 GLint* params) {
518 return error::kNoError;
519 }
520
521 error::Error GLES2DecoderPassthroughImpl::DoGetAttachedShaders(
522 GLuint program,
523 GLsizei maxcount,
524 GLsizei* count,
525 GLuint* shaders) {
526 return error::kNoError;
527 }
528
529 error::Error GLES2DecoderPassthroughImpl::DoGetAttribLocation(GLuint program,
530 const char* name,
531 GLint* result) {
532 return error::kNoError;
533 }
534
535 error::Error GLES2DecoderPassthroughImpl::DoGetBooleanv(GLenum pname,
536 GLsizei bufsize,
537 GLsizei* length,
538 GLboolean* params) {
539 return error::kNoError;
540 }
541
542 error::Error GLES2DecoderPassthroughImpl::DoGetBufferParameteri64v(
543 GLenum target,
544 GLenum pname,
545 GLsizei bufsize,
546 GLsizei* length,
547 GLint64* params) {
548 return error::kNoError;
549 }
550
551 error::Error GLES2DecoderPassthroughImpl::DoGetBufferParameteriv(
552 GLenum target,
553 GLenum pname,
554 GLsizei bufsize,
555 GLsizei* length,
556 GLint* params) {
557 return error::kNoError;
558 }
559
560 error::Error GLES2DecoderPassthroughImpl::DoGetError(uint32_t* result) {
561 return error::kNoError;
562 }
563
564 error::Error GLES2DecoderPassthroughImpl::DoGetFloatv(GLenum pname,
565 GLsizei bufsize,
566 GLsizei* length,
567 GLfloat* params) {
568 return error::kNoError;
569 }
570
571 error::Error GLES2DecoderPassthroughImpl::DoGetFragDataLocation(
572 GLuint program,
573 const char* name,
574 GLint* result) {
575 return error::kNoError;
576 }
577
578 error::Error GLES2DecoderPassthroughImpl::DoGetFramebufferAttachmentParameteriv(
579 GLenum target,
580 GLenum attachment,
581 GLenum pname,
582 GLsizei bufsize,
583 GLsizei* length,
584 GLint* params) {
585 return error::kNoError;
586 }
587
588 error::Error GLES2DecoderPassthroughImpl::DoGetInteger64v(GLenum pname,
589 GLsizei bufsize,
590 GLsizei* length,
591 GLint64* params) {
592 return error::kNoError;
593 }
594
595 error::Error GLES2DecoderPassthroughImpl::DoGetIntegeri_v(GLenum pname,
596 GLuint index,
597 GLsizei bufsize,
598 GLsizei* length,
599 GLint* data) {
600 return error::kNoError;
601 }
602
603 error::Error GLES2DecoderPassthroughImpl::DoGetInteger64i_v(GLenum pname,
604 GLuint index,
605 GLsizei bufsize,
606 GLsizei* length,
607 GLint64* data) {
608 return error::kNoError;
609 }
610
611 error::Error GLES2DecoderPassthroughImpl::DoGetIntegerv(GLenum pname,
612 GLsizei bufsize,
613 GLsizei* length,
614 GLint* params) {
615 return error::kNoError;
616 }
617
618 error::Error GLES2DecoderPassthroughImpl::DoGetInternalformativ(GLenum target,
619 GLenum format,
620 GLenum pname,
621 GLsizei bufSize,
622 GLsizei* length,
623 GLint* params) {
624 return error::kNoError;
625 }
626
627 error::Error GLES2DecoderPassthroughImpl::DoGetProgramiv(GLuint program,
628 GLenum pname,
629 GLsizei bufsize,
630 GLsizei* length,
631 GLint* params) {
632 return error::kNoError;
633 }
634
635 error::Error GLES2DecoderPassthroughImpl::DoGetProgramInfoLog(
636 GLuint program,
637 std::string* infolog) {
638 return error::kNoError;
639 }
640
641 error::Error GLES2DecoderPassthroughImpl::DoGetRenderbufferParameteriv(
642 GLenum target,
643 GLenum pname,
644 GLsizei bufsize,
645 GLsizei* length,
646 GLint* params) {
647 return error::kNoError;
648 }
649
650 error::Error GLES2DecoderPassthroughImpl::DoGetSamplerParameterfv(
651 GLuint sampler,
652 GLenum pname,
653 GLsizei bufsize,
654 GLsizei* length,
655 GLfloat* params) {
656 return error::kNoError;
657 }
658
659 error::Error GLES2DecoderPassthroughImpl::DoGetSamplerParameteriv(
660 GLuint sampler,
661 GLenum pname,
662 GLsizei bufsize,
663 GLsizei* length,
664 GLint* params) {
665 return error::kNoError;
666 }
667
668 error::Error GLES2DecoderPassthroughImpl::DoGetShaderiv(GLuint shader,
669 GLenum pname,
670 GLsizei bufsize,
671 GLsizei* length,
672 GLint* params) {
673 return error::kNoError;
674 }
675
676 error::Error GLES2DecoderPassthroughImpl::DoGetShaderInfoLog(
677 GLuint shader,
678 std::string* infolog) {
679 return error::kNoError;
680 }
681
682 error::Error GLES2DecoderPassthroughImpl::DoGetShaderPrecisionFormat(
683 GLenum shadertype,
684 GLenum precisiontype,
685 GLint* range,
686 GLint* precision) {
687 return error::kNoError;
688 }
689
690 error::Error GLES2DecoderPassthroughImpl::DoGetShaderSource(
691 GLuint shader,
692 std::string* source) {
693 return error::kNoError;
694 }
695
696 error::Error GLES2DecoderPassthroughImpl::DoGetString(GLenum name,
697 const char** result) {
698 return error::kNoError;
699 }
700
701 error::Error GLES2DecoderPassthroughImpl::DoGetSynciv(GLuint sync,
702 GLenum pname,
703 GLsizei bufsize,
704 GLsizei* length,
705 GLint* values) {
706 return error::kNoError;
707 }
708
709 error::Error GLES2DecoderPassthroughImpl::DoGetTexParameterfv(GLenum target,
710 GLenum pname,
711 GLsizei bufsize,
712 GLsizei* length,
713 GLfloat* params) {
714 return error::kNoError;
715 }
716
717 error::Error GLES2DecoderPassthroughImpl::DoGetTexParameteriv(GLenum target,
718 GLenum pname,
719 GLsizei bufsize,
720 GLsizei* length,
721 GLint* params) {
722 return error::kNoError;
723 }
724
725 error::Error GLES2DecoderPassthroughImpl::DoGetTransformFeedbackVarying(
726 GLuint program,
727 GLuint index,
728 GLsizei* size,
729 GLenum* type,
730 std::string* name) {
731 return error::kNoError;
732 }
733
734 error::Error GLES2DecoderPassthroughImpl::DoGetUniformBlockIndex(
735 GLuint program,
736 const char* name,
737 GLint* index) {
738 return error::kNoError;
739 }
740
741 error::Error GLES2DecoderPassthroughImpl::DoGetUniformfv(GLuint program,
742 GLint location,
743 GLsizei bufsize,
744 GLsizei* length,
745 GLfloat* params) {
746 return error::kNoError;
747 }
748
749 error::Error GLES2DecoderPassthroughImpl::DoGetUniformiv(GLuint program,
750 GLint location,
751 GLsizei bufsize,
752 GLsizei* length,
753 GLint* params) {
754 return error::kNoError;
755 }
756
757 error::Error GLES2DecoderPassthroughImpl::DoGetUniformuiv(GLuint program,
758 GLint location,
759 GLsizei bufsize,
760 GLsizei* length,
761 GLuint* params) {
762 return error::kNoError;
763 }
764
765 error::Error GLES2DecoderPassthroughImpl::DoGetUniformIndices(
766 GLuint program,
767 GLsizei count,
768 const char* const* names,
769 GLsizei bufSize,
770 GLsizei* length,
771 GLuint* indices) {
772 return error::kNoError;
773 }
774
775 error::Error GLES2DecoderPassthroughImpl::DoGetUniformLocation(
776 GLuint program,
777 const char* name,
778 GLint* location) {
779 return error::kNoError;
780 }
781
782 error::Error GLES2DecoderPassthroughImpl::DoGetVertexAttribfv(GLuint index,
783 GLenum pname,
784 GLsizei bufsize,
785 GLsizei* length,
786 GLfloat* params) {
787 return error::kNoError;
788 }
789
790 error::Error GLES2DecoderPassthroughImpl::DoGetVertexAttribiv(GLuint index,
791 GLenum pname,
792 GLsizei bufsize,
793 GLsizei* length,
794 GLint* params) {
795 return error::kNoError;
796 }
797
798 error::Error GLES2DecoderPassthroughImpl::DoGetVertexAttribIiv(GLuint index,
799 GLenum pname,
800 GLsizei bufsize,
801 GLsizei* length,
802 GLint* params) {
803 return error::kNoError;
804 }
805
806 error::Error GLES2DecoderPassthroughImpl::DoGetVertexAttribIuiv(
807 GLuint index,
808 GLenum pname,
809 GLsizei bufsize,
810 GLsizei* length,
811 GLuint* params) {
812 return error::kNoError;
813 }
814
815 error::Error GLES2DecoderPassthroughImpl::DoGetVertexAttribPointerv(
816 GLuint index,
817 GLenum pname,
818 GLsizei bufsize,
819 GLsizei* length,
820 GLuint* pointer) {
821 return error::kNoError;
822 }
823
824 error::Error GLES2DecoderPassthroughImpl::DoHint(GLenum target, GLenum mode) {
825 return error::kNoError;
826 }
827
828 error::Error GLES2DecoderPassthroughImpl::DoInvalidateFramebuffer(
829 GLenum target,
830 GLsizei count,
831 const GLenum* attachments) {
832 return error::kNoError;
833 }
834
835 error::Error GLES2DecoderPassthroughImpl::DoInvalidateSubFramebuffer(
836 GLenum target,
837 GLsizei count,
838 const GLenum* attachments,
839 GLint x,
840 GLint y,
841 GLsizei width,
842 GLsizei height) {
843 return error::kNoError;
844 }
845
846 error::Error GLES2DecoderPassthroughImpl::DoIsBuffer(GLuint buffer,
847 uint32_t* result) {
848 return error::kNoError;
849 }
850
851 error::Error GLES2DecoderPassthroughImpl::DoIsEnabled(GLenum cap,
852 uint32_t* result) {
853 return error::kNoError;
854 }
855
856 error::Error GLES2DecoderPassthroughImpl::DoIsFramebuffer(GLuint framebuffer,
857 uint32_t* result) {
858 return error::kNoError;
859 }
860
861 error::Error GLES2DecoderPassthroughImpl::DoIsProgram(GLuint program,
862 uint32_t* result) {
863 return error::kNoError;
864 }
865
866 error::Error GLES2DecoderPassthroughImpl::DoIsRenderbuffer(GLuint renderbuffer,
867 uint32_t* result) {
868 return error::kNoError;
869 }
870
871 error::Error GLES2DecoderPassthroughImpl::DoIsSampler(GLuint sampler,
872 uint32_t* result) {
873 return error::kNoError;
874 }
875
876 error::Error GLES2DecoderPassthroughImpl::DoIsShader(GLuint shader,
877 uint32_t* result) {
878 return error::kNoError;
879 }
880
881 error::Error GLES2DecoderPassthroughImpl::DoIsSync(GLuint sync,
882 uint32_t* result) {
883 return error::kNoError;
884 }
885
886 error::Error GLES2DecoderPassthroughImpl::DoIsTexture(GLuint texture,
887 uint32_t* result) {
888 return error::kNoError;
889 }
890
891 error::Error GLES2DecoderPassthroughImpl::DoIsTransformFeedback(
892 GLuint transformfeedback,
893 uint32_t* result) {
894 return error::kNoError;
895 }
896
897 error::Error GLES2DecoderPassthroughImpl::DoLineWidth(GLfloat width) {
898 return error::kNoError;
899 }
900
901 error::Error GLES2DecoderPassthroughImpl::DoLinkProgram(GLuint program) {
902 return error::kNoError;
903 }
904
905 error::Error GLES2DecoderPassthroughImpl::DoPauseTransformFeedback() {
906 return error::kNoError;
907 }
908
909 error::Error GLES2DecoderPassthroughImpl::DoPixelStorei(GLenum pname,
910 GLint param) {
911 return error::kNoError;
912 }
913
914 error::Error GLES2DecoderPassthroughImpl::DoPolygonOffset(GLfloat factor,
915 GLfloat units) {
916 return error::kNoError;
917 }
918
919 error::Error GLES2DecoderPassthroughImpl::DoReadBuffer(GLenum src) {
920 return error::kNoError;
921 }
922
923 error::Error GLES2DecoderPassthroughImpl::DoReadPixels(GLint x,
924 GLint y,
925 GLsizei width,
926 GLsizei height,
927 GLenum format,
928 GLenum type,
929 GLsizei bufsize,
930 GLsizei* length,
931 void* pixels) {
932 return error::kNoError;
933 }
934
935 error::Error GLES2DecoderPassthroughImpl::DoReleaseShaderCompiler() {
936 return error::kNoError;
937 }
938
939 error::Error GLES2DecoderPassthroughImpl::DoRenderbufferStorage(
940 GLenum target,
941 GLenum internalformat,
942 GLsizei width,
943 GLsizei height) {
944 return error::kNoError;
945 }
946
947 error::Error GLES2DecoderPassthroughImpl::DoResumeTransformFeedback() {
948 return error::kNoError;
949 }
950
951 error::Error GLES2DecoderPassthroughImpl::DoSampleCoverage(GLclampf value,
952 GLboolean invert) {
953 return error::kNoError;
954 }
955
956 error::Error GLES2DecoderPassthroughImpl::DoSamplerParameterf(GLuint sampler,
957 GLenum pname,
958 GLfloat param) {
959 return error::kNoError;
960 }
961
962 error::Error GLES2DecoderPassthroughImpl::DoSamplerParameterfv(
963 GLuint sampler,
964 GLenum pname,
965 const GLfloat* params) {
966 return error::kNoError;
967 }
968
969 error::Error GLES2DecoderPassthroughImpl::DoSamplerParameteri(GLuint sampler,
970 GLenum pname,
971 GLint param) {
972 return error::kNoError;
973 }
974
975 error::Error GLES2DecoderPassthroughImpl::DoSamplerParameteriv(
976 GLuint sampler,
977 GLenum pname,
978 const GLint* params) {
979 return error::kNoError;
980 }
981
982 error::Error GLES2DecoderPassthroughImpl::DoScissor(GLint x,
983 GLint y,
984 GLsizei width,
985 GLsizei height) {
986 glScissor(x, y, width, height);
987 return error::kNoError;
988 }
989
990 error::Error GLES2DecoderPassthroughImpl::DoShaderBinary(GLsizei n,
991 const GLuint* shaders,
992 GLenum binaryformat,
993 const void* binary,
994 GLsizei length) {
995 return error::kNoError;
996 }
997
998 error::Error GLES2DecoderPassthroughImpl::DoShaderSource(GLuint shader,
999 GLsizei count,
1000 const char** string,
1001 const GLint* length) {
1002 return error::kNoError;
1003 }
1004
1005 error::Error GLES2DecoderPassthroughImpl::DoStencilFunc(GLenum func,
1006 GLint ref,
1007 GLuint mask) {
1008 return error::kNoError;
1009 }
1010
1011 error::Error GLES2DecoderPassthroughImpl::DoStencilFuncSeparate(GLenum face,
1012 GLenum func,
1013 GLint ref,
1014 GLuint mask) {
1015 return error::kNoError;
1016 }
1017
1018 error::Error GLES2DecoderPassthroughImpl::DoStencilMask(GLuint mask) {
1019 return error::kNoError;
1020 }
1021
1022 error::Error GLES2DecoderPassthroughImpl::DoStencilMaskSeparate(GLenum face,
1023 GLuint mask) {
1024 return error::kNoError;
1025 }
1026
1027 error::Error GLES2DecoderPassthroughImpl::DoStencilOp(GLenum fail,
1028 GLenum zfail,
1029 GLenum zpass) {
1030 return error::kNoError;
1031 }
1032
1033 error::Error GLES2DecoderPassthroughImpl::DoStencilOpSeparate(GLenum face,
1034 GLenum fail,
1035 GLenum zfail,
1036 GLenum zpass) {
1037 return error::kNoError;
1038 }
1039
1040 error::Error GLES2DecoderPassthroughImpl::DoTexImage2D(GLenum target,
1041 GLint level,
1042 GLint internalformat,
1043 GLsizei width,
1044 GLsizei height,
1045 GLint border,
1046 GLenum format,
1047 GLenum type,
1048 GLsizei imagesize,
1049 const void* pixels) {
1050 return error::kNoError;
1051 }
1052
1053 error::Error GLES2DecoderPassthroughImpl::DoTexImage3D(GLenum target,
1054 GLint level,
1055 GLint internalformat,
1056 GLsizei width,
1057 GLsizei height,
1058 GLsizei depth,
1059 GLint border,
1060 GLenum format,
1061 GLenum type,
1062 GLsizei imagesize,
1063 const void* pixels) {
1064 return error::kNoError;
1065 }
1066
1067 error::Error GLES2DecoderPassthroughImpl::DoTexParameterf(GLenum target,
1068 GLenum pname,
1069 GLfloat param) {
1070 return error::kNoError;
1071 }
1072
1073 error::Error GLES2DecoderPassthroughImpl::DoTexParameterfv(
1074 GLenum target,
1075 GLenum pname,
1076 const GLfloat* params) {
1077 return error::kNoError;
1078 }
1079
1080 error::Error GLES2DecoderPassthroughImpl::DoTexParameteri(GLenum target,
1081 GLenum pname,
1082 GLint param) {
1083 glTexParameteri(target, pname, param);
1084 return error::kNoError;
1085 }
1086
1087 error::Error GLES2DecoderPassthroughImpl::DoTexParameteriv(
1088 GLenum target,
1089 GLenum pname,
1090 const GLint* params) {
1091 return error::kNoError;
1092 }
1093
1094 error::Error GLES2DecoderPassthroughImpl::DoTexStorage3D(GLenum target,
1095 GLsizei levels,
1096 GLenum internalFormat,
1097 GLsizei width,
1098 GLsizei height,
1099 GLsizei depth) {
1100 return error::kNoError;
1101 }
1102
1103 error::Error GLES2DecoderPassthroughImpl::DoTexSubImage2D(GLenum target,
1104 GLint level,
1105 GLint xoffset,
1106 GLint yoffset,
1107 GLsizei width,
1108 GLsizei height,
1109 GLenum format,
1110 GLenum type,
1111 GLsizei imagesize,
1112 const void* pixels) {
1113 return error::kNoError;
1114 }
1115
1116 error::Error GLES2DecoderPassthroughImpl::DoTexSubImage3D(GLenum target,
1117 GLint level,
1118 GLint xoffset,
1119 GLint yoffset,
1120 GLint zoffset,
1121 GLsizei width,
1122 GLsizei height,
1123 GLsizei depth,
1124 GLenum format,
1125 GLenum type,
1126 GLsizei imagesize,
1127 const void* pixels) {
1128 return error::kNoError;
1129 }
1130
1131 error::Error GLES2DecoderPassthroughImpl::DoTransformFeedbackVaryings(
1132 GLuint program,
1133 GLsizei count,
1134 const char** varyings,
1135 GLenum buffermode) {
1136 return error::kNoError;
1137 }
1138
1139 error::Error GLES2DecoderPassthroughImpl::DoUniform1f(GLint location,
1140 GLfloat x) {
1141 return error::kNoError;
1142 }
1143
1144 error::Error GLES2DecoderPassthroughImpl::DoUniform1fv(GLint location,
1145 GLsizei count,
1146 const GLfloat* v) {
1147 return error::kNoError;
1148 }
1149
1150 error::Error GLES2DecoderPassthroughImpl::DoUniform1i(GLint location, GLint x) {
1151 return error::kNoError;
1152 }
1153
1154 error::Error GLES2DecoderPassthroughImpl::DoUniform1iv(GLint location,
1155 GLsizei count,
1156 const GLint* v) {
1157 return error::kNoError;
1158 }
1159
1160 error::Error GLES2DecoderPassthroughImpl::DoUniform1ui(GLint location,
1161 GLuint x) {
1162 return error::kNoError;
1163 }
1164
1165 error::Error GLES2DecoderPassthroughImpl::DoUniform1uiv(GLint location,
1166 GLsizei count,
1167 const GLuint* v) {
1168 return error::kNoError;
1169 }
1170
1171 error::Error GLES2DecoderPassthroughImpl::DoUniform2f(GLint location,
1172 GLfloat x,
1173 GLfloat y) {
1174 return error::kNoError;
1175 }
1176
1177 error::Error GLES2DecoderPassthroughImpl::DoUniform2fv(GLint location,
1178 GLsizei count,
1179 const GLfloat* v) {
1180 return error::kNoError;
1181 }
1182
1183 error::Error GLES2DecoderPassthroughImpl::DoUniform2i(GLint location,
1184 GLint x,
1185 GLint y) {
1186 return error::kNoError;
1187 }
1188
1189 error::Error GLES2DecoderPassthroughImpl::DoUniform2iv(GLint location,
1190 GLsizei count,
1191 const GLint* v) {
1192 return error::kNoError;
1193 }
1194
1195 error::Error GLES2DecoderPassthroughImpl::DoUniform2ui(GLint location,
1196 GLuint x,
1197 GLuint y) {
1198 return error::kNoError;
1199 }
1200
1201 error::Error GLES2DecoderPassthroughImpl::DoUniform2uiv(GLint location,
1202 GLsizei count,
1203 const GLuint* v) {
1204 return error::kNoError;
1205 }
1206
1207 error::Error GLES2DecoderPassthroughImpl::DoUniform3f(GLint location,
1208 GLfloat x,
1209 GLfloat y,
1210 GLfloat z) {
1211 return error::kNoError;
1212 }
1213
1214 error::Error GLES2DecoderPassthroughImpl::DoUniform3fv(GLint location,
1215 GLsizei count,
1216 const GLfloat* v) {
1217 return error::kNoError;
1218 }
1219
1220 error::Error GLES2DecoderPassthroughImpl::DoUniform3i(GLint location,
1221 GLint x,
1222 GLint y,
1223 GLint z) {
1224 return error::kNoError;
1225 }
1226
1227 error::Error GLES2DecoderPassthroughImpl::DoUniform3iv(GLint location,
1228 GLsizei count,
1229 const GLint* v) {
1230 return error::kNoError;
1231 }
1232
1233 error::Error GLES2DecoderPassthroughImpl::DoUniform3ui(GLint location,
1234 GLuint x,
1235 GLuint y,
1236 GLuint z) {
1237 return error::kNoError;
1238 }
1239
1240 error::Error GLES2DecoderPassthroughImpl::DoUniform3uiv(GLint location,
1241 GLsizei count,
1242 const GLuint* v) {
1243 return error::kNoError;
1244 }
1245
1246 error::Error GLES2DecoderPassthroughImpl::DoUniform4f(GLint location,
1247 GLfloat x,
1248 GLfloat y,
1249 GLfloat z,
1250 GLfloat w) {
1251 return error::kNoError;
1252 }
1253
1254 error::Error GLES2DecoderPassthroughImpl::DoUniform4fv(GLint location,
1255 GLsizei count,
1256 const GLfloat* v) {
1257 return error::kNoError;
1258 }
1259
1260 error::Error GLES2DecoderPassthroughImpl::DoUniform4i(GLint location,
1261 GLint x,
1262 GLint y,
1263 GLint z,
1264 GLint w) {
1265 return error::kNoError;
1266 }
1267
1268 error::Error GLES2DecoderPassthroughImpl::DoUniform4iv(GLint location,
1269 GLsizei count,
1270 const GLint* v) {
1271 return error::kNoError;
1272 }
1273
1274 error::Error GLES2DecoderPassthroughImpl::DoUniform4ui(GLint location,
1275 GLuint x,
1276 GLuint y,
1277 GLuint z,
1278 GLuint w) {
1279 return error::kNoError;
1280 }
1281
1282 error::Error GLES2DecoderPassthroughImpl::DoUniform4uiv(GLint location,
1283 GLsizei count,
1284 const GLuint* v) {
1285 return error::kNoError;
1286 }
1287
1288 error::Error GLES2DecoderPassthroughImpl::DoUniformBlockBinding(
1289 GLuint program,
1290 GLuint index,
1291 GLuint binding) {
1292 return error::kNoError;
1293 }
1294
1295 error::Error GLES2DecoderPassthroughImpl::DoUniformMatrix2fv(
1296 GLint location,
1297 GLsizei count,
1298 GLboolean transpose,
1299 const GLfloat* value) {
1300 return error::kNoError;
1301 }
1302
1303 error::Error GLES2DecoderPassthroughImpl::DoUniformMatrix2x3fv(
1304 GLint location,
1305 GLsizei count,
1306 GLboolean transpose,
1307 const GLfloat* value) {
1308 return error::kNoError;
1309 }
1310
1311 error::Error GLES2DecoderPassthroughImpl::DoUniformMatrix2x4fv(
1312 GLint location,
1313 GLsizei count,
1314 GLboolean transpose,
1315 const GLfloat* value) {
1316 return error::kNoError;
1317 }
1318
1319 error::Error GLES2DecoderPassthroughImpl::DoUniformMatrix3fv(
1320 GLint location,
1321 GLsizei count,
1322 GLboolean transpose,
1323 const GLfloat* value) {
1324 return error::kNoError;
1325 }
1326
1327 error::Error GLES2DecoderPassthroughImpl::DoUniformMatrix3x2fv(
1328 GLint location,
1329 GLsizei count,
1330 GLboolean transpose,
1331 const GLfloat* value) {
1332 return error::kNoError;
1333 }
1334
1335 error::Error GLES2DecoderPassthroughImpl::DoUniformMatrix3x4fv(
1336 GLint location,
1337 GLsizei count,
1338 GLboolean transpose,
1339 const GLfloat* value) {
1340 return error::kNoError;
1341 }
1342
1343 error::Error GLES2DecoderPassthroughImpl::DoUniformMatrix4fv(
1344 GLint location,
1345 GLsizei count,
1346 GLboolean transpose,
1347 const GLfloat* value) {
1348 return error::kNoError;
1349 }
1350
1351 error::Error GLES2DecoderPassthroughImpl::DoUniformMatrix4x2fv(
1352 GLint location,
1353 GLsizei count,
1354 GLboolean transpose,
1355 const GLfloat* value) {
1356 return error::kNoError;
1357 }
1358
1359 error::Error GLES2DecoderPassthroughImpl::DoUniformMatrix4x3fv(
1360 GLint location,
1361 GLsizei count,
1362 GLboolean transpose,
1363 const GLfloat* value) {
1364 return error::kNoError;
1365 }
1366
1367 error::Error GLES2DecoderPassthroughImpl::DoUseProgram(GLuint program) {
1368 return error::kNoError;
1369 }
1370
1371 error::Error GLES2DecoderPassthroughImpl::DoValidateProgram(GLuint program) {
1372 return error::kNoError;
1373 }
1374
1375 error::Error GLES2DecoderPassthroughImpl::DoVertexAttrib1f(GLuint indx,
1376 GLfloat x) {
1377 return error::kNoError;
1378 }
1379
1380 error::Error GLES2DecoderPassthroughImpl::DoVertexAttrib1fv(
1381 GLuint indx,
1382 const GLfloat* values) {
1383 return error::kNoError;
1384 }
1385
1386 error::Error GLES2DecoderPassthroughImpl::DoVertexAttrib2f(GLuint indx,
1387 GLfloat x,
1388 GLfloat y) {
1389 return error::kNoError;
1390 }
1391
1392 error::Error GLES2DecoderPassthroughImpl::DoVertexAttrib2fv(
1393 GLuint indx,
1394 const GLfloat* values) {
1395 return error::kNoError;
1396 }
1397
1398 error::Error GLES2DecoderPassthroughImpl::DoVertexAttrib3f(GLuint indx,
1399 GLfloat x,
1400 GLfloat y,
1401 GLfloat z) {
1402 return error::kNoError;
1403 }
1404
1405 error::Error GLES2DecoderPassthroughImpl::DoVertexAttrib3fv(
1406 GLuint indx,
1407 const GLfloat* values) {
1408 return error::kNoError;
1409 }
1410
1411 error::Error GLES2DecoderPassthroughImpl::DoVertexAttrib4f(GLuint indx,
1412 GLfloat x,
1413 GLfloat y,
1414 GLfloat z,
1415 GLfloat w) {
1416 return error::kNoError;
1417 }
1418
1419 error::Error GLES2DecoderPassthroughImpl::DoVertexAttrib4fv(
1420 GLuint indx,
1421 const GLfloat* values) {
1422 return error::kNoError;
1423 }
1424
1425 error::Error GLES2DecoderPassthroughImpl::DoVertexAttribI4i(GLuint indx,
1426 GLint x,
1427 GLint y,
1428 GLint z,
1429 GLint w) {
1430 return error::kNoError;
1431 }
1432
1433 error::Error GLES2DecoderPassthroughImpl::DoVertexAttribI4iv(
1434 GLuint indx,
1435 const GLint* values) {
1436 return error::kNoError;
1437 }
1438
1439 error::Error GLES2DecoderPassthroughImpl::DoVertexAttribI4ui(GLuint indx,
1440 GLuint x,
1441 GLuint y,
1442 GLuint z,
1443 GLuint w) {
1444 return error::kNoError;
1445 }
1446
1447 error::Error GLES2DecoderPassthroughImpl::DoVertexAttribI4uiv(
1448 GLuint indx,
1449 const GLuint* values) {
1450 return error::kNoError;
1451 }
1452
1453 error::Error GLES2DecoderPassthroughImpl::DoVertexAttribIPointer(
1454 GLuint indx,
1455 GLint size,
1456 GLenum type,
1457 GLsizei stride,
1458 const void* ptr) {
1459 return error::kNoError;
1460 }
1461
1462 error::Error GLES2DecoderPassthroughImpl::DoVertexAttribPointer(
1463 GLuint indx,
1464 GLint size,
1465 GLenum type,
1466 GLboolean normalized,
1467 GLsizei stride,
1468 const void* ptr) {
1469 return error::kNoError;
1470 }
1471
1472 error::Error GLES2DecoderPassthroughImpl::DoViewport(GLint x,
1473 GLint y,
1474 GLsizei width,
1475 GLsizei height) {
1476 return error::kNoError;
1477 }
1478
1479 error::Error GLES2DecoderPassthroughImpl::DoWaitSync(GLuint sync,
1480 GLbitfield flags,
1481 GLuint64 timeout) {
1482 return error::kNoError;
1483 }
1484
1485 error::Error GLES2DecoderPassthroughImpl::DoBlitFramebufferCHROMIUM(
1486 GLint srcX0,
1487 GLint srcY0,
1488 GLint srcX1,
1489 GLint srcY1,
1490 GLint dstX0,
1491 GLint dstY0,
1492 GLint dstX1,
1493 GLint dstY1,
1494 GLbitfield mask,
1495 GLenum filter) {
1496 return error::kNoError;
1497 }
1498
1499 error::Error
1500 GLES2DecoderPassthroughImpl::DoRenderbufferStorageMultisampleCHROMIUM(
1501 GLenum target,
1502 GLsizei samples,
1503 GLenum internalformat,
1504 GLsizei width,
1505 GLsizei height) {
1506 return error::kNoError;
1507 }
1508
1509 error::Error GLES2DecoderPassthroughImpl::DoRenderbufferStorageMultisampleEXT(
1510 GLenum target,
1511 GLsizei samples,
1512 GLenum internalformat,
1513 GLsizei width,
1514 GLsizei height) {
1515 return error::kNoError;
1516 }
1517
1518 error::Error GLES2DecoderPassthroughImpl::DoFramebufferTexture2DMultisampleEXT(
1519 GLenum target,
1520 GLenum attachment,
1521 GLenum textarget,
1522 GLuint texture,
1523 GLint level,
1524 GLsizei samples) {
1525 return error::kNoError;
1526 }
1527
1528 error::Error GLES2DecoderPassthroughImpl::DoTexStorage2DEXT(
1529 GLenum target,
1530 GLsizei levels,
1531 GLenum internalFormat,
1532 GLsizei width,
1533 GLsizei height) {
1534 glTexStorage2DEXT(target, levels, internalFormat, width, height);
1535 return error::kNoError;
1536 }
1537
1538 error::Error GLES2DecoderPassthroughImpl::DoGenQueriesEXT(GLsizei n,
1539 GLuint* queries) {
1540 return error::kNoError;
1541 }
1542
1543 error::Error GLES2DecoderPassthroughImpl::DoDeleteQueriesEXT(
1544 GLsizei n,
1545 const GLuint* queries) {
1546 return error::kNoError;
1547 }
1548
1549 error::Error GLES2DecoderPassthroughImpl::DoQueryCounterEXT(GLuint id,
1550 GLenum target) {
1551 return error::kNoError;
1552 }
1553
1554 error::Error GLES2DecoderPassthroughImpl::DoBeginQueryEXT(GLenum target,
1555 GLuint id) {
1556 return error::kNoError;
1557 }
1558
1559 error::Error GLES2DecoderPassthroughImpl::DoBeginTransformFeedback(
1560 GLenum primitivemode) {
1561 return error::kNoError;
1562 }
1563
1564 error::Error GLES2DecoderPassthroughImpl::DoEndQueryEXT(GLenum target) {
1565 return error::kNoError;
1566 }
1567
1568 error::Error GLES2DecoderPassthroughImpl::DoEndTransformFeedback() {
1569 return error::kNoError;
1570 }
1571
1572 error::Error GLES2DecoderPassthroughImpl::DoSetDisjointValueSyncCHROMIUM(
1573 DisjointValueSync* sync) {
1574 return error::kNoError;
1575 }
1576
1577 error::Error GLES2DecoderPassthroughImpl::DoInsertEventMarkerEXT(
1578 GLsizei length,
1579 const char* marker) {
1580 return error::kNoError;
1581 }
1582
1583 error::Error GLES2DecoderPassthroughImpl::DoPushGroupMarkerEXT(
1584 GLsizei length,
1585 const char* marker) {
1586 return error::kNoError;
1587 }
1588
1589 error::Error GLES2DecoderPassthroughImpl::DoPopGroupMarkerEXT() {
1590 return error::kNoError;
1591 }
1592
1593 error::Error GLES2DecoderPassthroughImpl::DoGenVertexArraysOES(GLsizei n,
1594 GLuint* arrays) {
1595 return error::kNoError;
1596 }
1597
1598 error::Error GLES2DecoderPassthroughImpl::DoDeleteVertexArraysOES(
1599 GLsizei n,
1600 const GLuint* arrays) {
1601 return error::kNoError;
1602 }
1603
1604 error::Error GLES2DecoderPassthroughImpl::DoIsVertexArrayOES(GLuint array,
1605 uint32_t* result) {
1606 return error::kNoError;
1607 }
1608
1609 error::Error GLES2DecoderPassthroughImpl::DoBindVertexArrayOES(GLuint array) {
1610 return error::kNoError;
1611 }
1612
1613 error::Error GLES2DecoderPassthroughImpl::DoSwapBuffers() {
1614 return error::kNoError;
1615 }
1616
1617 error::Error GLES2DecoderPassthroughImpl::DoGetMaxValueInBufferCHROMIUM(
1618 GLuint buffer_id,
1619 GLsizei count,
1620 GLenum type,
1621 GLuint offset,
1622 uint32_t* result) {
1623 return error::kNoError;
1624 }
1625
1626 error::Error GLES2DecoderPassthroughImpl::DoEnableFeatureCHROMIUM(
1627 const char* feature) {
1628 return error::kNoError;
1629 }
1630
1631 error::Error GLES2DecoderPassthroughImpl::DoMapBufferRange(GLenum target,
1632 GLintptr offset,
1633 GLsizeiptr size,
1634 GLbitfield access,
1635 void** ptr) {
1636 return error::kNoError;
1637 }
1638
1639 error::Error GLES2DecoderPassthroughImpl::DoUnmapBuffer(GLenum target) {
1640 return error::kNoError;
1641 }
1642
1643 error::Error GLES2DecoderPassthroughImpl::DoResizeCHROMIUM(GLuint width,
1644 GLuint height,
1645 GLfloat scale_factor,
1646 GLboolean alpha) {
1647 return error::kNoError;
1648 }
1649
1650 error::Error GLES2DecoderPassthroughImpl::DoGetRequestableExtensionsCHROMIUM(
1651 const char** extensions) {
1652 return error::kNoError;
1653 }
1654
1655 error::Error GLES2DecoderPassthroughImpl::DoRequestExtensionCHROMIUM(
1656 const char* extension) {
1657 return error::kNoError;
1658 }
1659
1660 error::Error GLES2DecoderPassthroughImpl::DoGetProgramInfoCHROMIUM(
1661 GLuint program,
1662 std::vector<uint8_t>* data) {
1663 return error::kNoError;
1664 }
1665
1666 error::Error GLES2DecoderPassthroughImpl::DoGetUniformBlocksCHROMIUM(
1667 GLuint program,
1668 std::vector<uint8_t>* data) {
1669 return error::kNoError;
1670 }
1671
1672 error::Error
1673 GLES2DecoderPassthroughImpl::DoGetTransformFeedbackVaryingsCHROMIUM(
1674 GLuint program,
1675 std::vector<uint8_t>* data) {
1676 return error::kNoError;
1677 }
1678
1679 error::Error GLES2DecoderPassthroughImpl::DoGetUniformsES3CHROMIUM(
1680 GLuint program,
1681 std::vector<uint8_t>* data) {
1682 return error::kNoError;
1683 }
1684
1685 error::Error GLES2DecoderPassthroughImpl::DoGetTranslatedShaderSourceANGLE(
1686 GLuint shader,
1687 std::string* source) {
1688 return error::kNoError;
1689 }
1690
1691 error::Error GLES2DecoderPassthroughImpl::DoPostSubBufferCHROMIUM(
1692 GLint x,
1693 GLint y,
1694 GLint width,
1695 GLint height) {
1696 return error::kNoError;
1697 }
1698
1699 error::Error GLES2DecoderPassthroughImpl::DoCopyTextureCHROMIUM(
1700 GLenum source_id,
1701 GLenum dest_id,
1702 GLint internalformat,
1703 GLenum dest_type,
1704 GLboolean unpack_flip_y,
1705 GLboolean unpack_premultiply_alpha,
1706 GLboolean unpack_unmultiply_alpha) {
1707 return error::kNoError;
1708 }
1709
1710 error::Error GLES2DecoderPassthroughImpl::DoCopySubTextureCHROMIUM(
1711 GLenum source_id,
1712 GLenum dest_id,
1713 GLint xoffset,
1714 GLint yoffset,
1715 GLint x,
1716 GLint y,
1717 GLsizei width,
1718 GLsizei height,
1719 GLboolean unpack_flip_y,
1720 GLboolean unpack_premultiply_alpha,
1721 GLboolean unpack_unmultiply_alpha) {
1722 return error::kNoError;
1723 }
1724
1725 error::Error GLES2DecoderPassthroughImpl::DoCompressedCopyTextureCHROMIUM(
1726 GLenum source_id,
1727 GLenum dest_id) {
1728 return error::kNoError;
1729 }
1730
1731 error::Error GLES2DecoderPassthroughImpl::DoDrawArraysInstancedANGLE(
1732 GLenum mode,
1733 GLint first,
1734 GLsizei count,
1735 GLsizei primcount) {
1736 return error::kNoError;
1737 }
1738
1739 error::Error GLES2DecoderPassthroughImpl::DoDrawElementsInstancedANGLE(
1740 GLenum mode,
1741 GLsizei count,
1742 GLenum type,
1743 const void* indices,
1744 GLsizei primcount) {
1745 return error::kNoError;
1746 }
1747
1748 error::Error GLES2DecoderPassthroughImpl::DoVertexAttribDivisorANGLE(
1749 GLuint index,
1750 GLuint divisor) {
1751 return error::kNoError;
1752 }
1753
1754 error::Error GLES2DecoderPassthroughImpl::DoProduceTextureCHROMIUM(
1755 GLenum target,
1756 const GLbyte* mailbox) {
1757 return error::kNoError;
1758 }
1759
1760 error::Error GLES2DecoderPassthroughImpl::DoProduceTextureDirectCHROMIUM(
1761 GLuint texture,
1762 GLenum target,
1763 const GLbyte* mailbox) {
1764 return error::kNoError;
1765 }
1766
1767 error::Error GLES2DecoderPassthroughImpl::DoConsumeTextureCHROMIUM(
1768 GLenum target,
1769 const GLbyte* mailbox) {
1770 return error::kNoError;
1771 }
1772
1773 error::Error GLES2DecoderPassthroughImpl::DoCreateAndConsumeTextureCHROMIUM(
1774 GLenum target,
1775 const GLbyte* mailbox,
1776 GLuint texture) {
1777 return error::kNoError;
1778 }
1779
1780 error::Error GLES2DecoderPassthroughImpl::DoBindUniformLocationCHROMIUM(
1781 GLuint program,
1782 GLint location,
1783 const char* name) {
1784 return error::kNoError;
1785 }
1786
1787 error::Error GLES2DecoderPassthroughImpl::DoBindTexImage2DCHROMIUM(
1788 GLenum target,
1789 GLint imageId) {
1790 return error::kNoError;
1791 }
1792
1793 error::Error GLES2DecoderPassthroughImpl::DoReleaseTexImage2DCHROMIUM(
1794 GLenum target,
1795 GLint imageId) {
1796 return error::kNoError;
1797 }
1798
1799 error::Error GLES2DecoderPassthroughImpl::DoTraceBeginCHROMIUM(
1800 const char* category_name,
1801 const char* trace_name) {
1802 return error::kNoError;
1803 }
1804
1805 error::Error GLES2DecoderPassthroughImpl::DoTraceEndCHROMIUM() {
1806 return error::kNoError;
1807 }
1808
1809 error::Error GLES2DecoderPassthroughImpl::DoDiscardFramebufferEXT(
1810 GLenum target,
1811 GLsizei count,
1812 const GLenum* attachments) {
1813 return error::kNoError;
1814 }
1815
1816 error::Error GLES2DecoderPassthroughImpl::DoLoseContextCHROMIUM(GLenum current,
1817 GLenum other) {
1818 return error::kNoError;
1819 }
1820
1821 error::Error GLES2DecoderPassthroughImpl::DoDescheduleUntilFinishedCHROMIUM() {
1822 return error::kNoError;
1823 }
1824
1825 error::Error GLES2DecoderPassthroughImpl::DoInsertFenceSyncCHROMIUM(
1826 GLuint64 release_count) {
1827 return error::kNoError;
1828 }
1829
1830 error::Error GLES2DecoderPassthroughImpl::DoWaitSyncTokenCHROMIUM(
1831 CommandBufferNamespace namespace_id,
1832 CommandBufferId command_buffer_id,
1833 GLuint64 release_count) {
1834 return error::kNoError;
1835 }
1836
1837 error::Error GLES2DecoderPassthroughImpl::DoDrawBuffersEXT(GLsizei count,
1838 const GLenum* bufs) {
1839 return error::kNoError;
1840 }
1841
1842 error::Error GLES2DecoderPassthroughImpl::DoDiscardBackbufferCHROMIUM() {
1843 return error::kNoError;
1844 }
1845
1846 error::Error GLES2DecoderPassthroughImpl::DoScheduleOverlayPlaneCHROMIUM(
1847 GLint plane_z_order,
1848 GLenum plane_transform,
1849 GLuint overlay_texture_id,
1850 GLint bounds_x,
1851 GLint bounds_y,
1852 GLint bounds_width,
1853 GLint bounds_height,
1854 GLfloat uv_x,
1855 GLfloat uv_y,
1856 GLfloat uv_width,
1857 GLfloat uv_height) {
1858 return error::kNoError;
1859 }
1860
1861 error::Error GLES2DecoderPassthroughImpl::DoScheduleCALayerCHROMIUM(
1862 GLuint contents_texture_id,
1863 const GLfloat* contents_rect,
1864 GLfloat opacity,
1865 GLuint background_color,
1866 GLuint edge_aa_mask,
1867 const GLfloat* bounds_rect,
1868 GLboolean is_clipped,
1869 const GLfloat* clip_rect,
1870 GLint sorting_context_id,
1871 const GLfloat* transform) {
1872 return error::kNoError;
1873 }
1874
1875 error::Error GLES2DecoderPassthroughImpl::DoCommitOverlayPlanesCHROMIUM() {
1876 return error::kNoError;
1877 }
1878
1879 error::Error GLES2DecoderPassthroughImpl::DoSwapInterval(GLint interval) {
1880 return error::kNoError;
1881 }
1882
1883 error::Error GLES2DecoderPassthroughImpl::DoFlushDriverCachesCHROMIUM() {
1884 return error::kNoError;
1885 }
1886
1887 error::Error GLES2DecoderPassthroughImpl::DoMatrixLoadfCHROMIUM(
1888 GLenum matrixMode,
1889 const GLfloat* m) {
1890 return error::kNoError;
1891 }
1892
1893 error::Error GLES2DecoderPassthroughImpl::DoMatrixLoadIdentityCHROMIUM(
1894 GLenum matrixMode) {
1895 return error::kNoError;
1896 }
1897
1898 error::Error GLES2DecoderPassthroughImpl::DoGenPathsCHROMIUM(GLuint path,
1899 GLsizei range) {
1900 return error::kNoError;
1901 }
1902
1903 error::Error GLES2DecoderPassthroughImpl::DoDeletePathsCHROMIUM(GLuint path,
1904 GLsizei range) {
1905 return error::kNoError;
1906 }
1907
1908 error::Error GLES2DecoderPassthroughImpl::DoIsPathCHROMIUM(GLuint path,
1909 uint32_t* result) {
1910 return error::kNoError;
1911 }
1912
1913 error::Error GLES2DecoderPassthroughImpl::DoPathCommandsCHROMIUM(
1914 GLuint path,
1915 GLsizei numCommands,
1916 const GLubyte* commands,
1917 GLsizei numCoords,
1918 GLenum coordType,
1919 const GLvoid* coords,
1920 GLsizei coords_bufsize) {
1921 return error::kNoError;
1922 }
1923
1924 error::Error GLES2DecoderPassthroughImpl::DoPathParameterfCHROMIUM(
1925 GLuint path,
1926 GLenum pname,
1927 GLfloat value) {
1928 return error::kNoError;
1929 }
1930
1931 error::Error GLES2DecoderPassthroughImpl::DoPathParameteriCHROMIUM(
1932 GLuint path,
1933 GLenum pname,
1934 GLint value) {
1935 return error::kNoError;
1936 }
1937
1938 error::Error GLES2DecoderPassthroughImpl::DoPathStencilFuncCHROMIUM(
1939 GLenum func,
1940 GLint ref,
1941 GLuint mask) {
1942 return error::kNoError;
1943 }
1944
1945 error::Error GLES2DecoderPassthroughImpl::DoStencilFillPathCHROMIUM(
1946 GLuint path,
1947 GLenum fillMode,
1948 GLuint mask) {
1949 return error::kNoError;
1950 }
1951
1952 error::Error GLES2DecoderPassthroughImpl::DoStencilStrokePathCHROMIUM(
1953 GLuint path,
1954 GLint reference,
1955 GLuint mask) {
1956 return error::kNoError;
1957 }
1958
1959 error::Error GLES2DecoderPassthroughImpl::DoCoverFillPathCHROMIUM(
1960 GLuint path,
1961 GLenum coverMode) {
1962 return error::kNoError;
1963 }
1964
1965 error::Error GLES2DecoderPassthroughImpl::DoCoverStrokePathCHROMIUM(
1966 GLuint path,
1967 GLenum coverMode) {
1968 return error::kNoError;
1969 }
1970
1971 error::Error GLES2DecoderPassthroughImpl::DoStencilThenCoverFillPathCHROMIUM(
1972 GLuint path,
1973 GLenum fillMode,
1974 GLuint mask,
1975 GLenum coverMode) {
1976 return error::kNoError;
1977 }
1978
1979 error::Error GLES2DecoderPassthroughImpl::DoStencilThenCoverStrokePathCHROMIUM(
1980 GLuint path,
1981 GLint reference,
1982 GLuint mask,
1983 GLenum coverMode) {
1984 return error::kNoError;
1985 }
1986
1987 error::Error GLES2DecoderPassthroughImpl::DoStencilFillPathInstancedCHROMIUM(
1988 GLsizei numPaths,
1989 GLenum pathNameType,
1990 const GLvoid* paths,
1991 GLsizei pathsBufsize,
1992 GLuint pathBase,
1993 GLenum fillMode,
1994 GLuint mask,
1995 GLenum transformType,
1996 const GLfloat* transformValues,
1997 GLsizei transformValuesBufsize) {
1998 return error::kNoError;
1999 }
2000
2001 error::Error GLES2DecoderPassthroughImpl::DoStencilStrokePathInstancedCHROMIUM(
2002 GLsizei numPaths,
2003 GLenum pathNameType,
2004 const GLvoid* paths,
2005 GLsizei pathsBufsize,
2006 GLuint pathBase,
2007 GLint reference,
2008 GLuint mask,
2009 GLenum transformType,
2010 const GLfloat* transformValues,
2011 GLsizei transformValuesBufsize) {
2012 return error::kNoError;
2013 }
2014
2015 error::Error GLES2DecoderPassthroughImpl::DoCoverFillPathInstancedCHROMIUM(
2016 GLsizei numPaths,
2017 GLenum pathNameType,
2018 const GLvoid* paths,
2019 GLsizei pathsBufsize,
2020 GLuint pathBase,
2021 GLenum coverMode,
2022 GLenum transformType,
2023 const GLfloat* transformValues,
2024 GLsizei transformValuesBufsize) {
2025 return error::kNoError;
2026 }
2027
2028 error::Error GLES2DecoderPassthroughImpl::DoCoverStrokePathInstancedCHROMIUM(
2029 GLsizei numPaths,
2030 GLenum pathNameType,
2031 const GLvoid* paths,
2032 GLsizei pathsBufsize,
2033 GLuint pathBase,
2034 GLenum coverMode,
2035 GLenum transformType,
2036 const GLfloat* transformValues,
2037 GLsizei transformValuesBufsize) {
2038 return error::kNoError;
2039 }
2040
2041 error::Error
2042 GLES2DecoderPassthroughImpl::DoStencilThenCoverFillPathInstancedCHROMIUM(
2043 GLsizei numPaths,
2044 GLenum pathNameType,
2045 const GLvoid* paths,
2046 GLsizei pathsBufsize,
2047 GLuint pathBase,
2048 GLenum fillMode,
2049 GLuint mask,
2050 GLenum coverMode,
2051 GLenum transformType,
2052 const GLfloat* transformValues,
2053 GLsizei transformValuesBufsize) {
2054 return error::kNoError;
2055 }
2056
2057 error::Error
2058 GLES2DecoderPassthroughImpl::DoStencilThenCoverStrokePathInstancedCHROMIUM(
2059 GLsizei numPaths,
2060 GLenum pathNameType,
2061 const GLvoid* paths,
2062 GLsizei pathsBufsize,
2063 GLuint pathBase,
2064 GLint reference,
2065 GLuint mask,
2066 GLenum coverMode,
2067 GLenum transformType,
2068 const GLfloat* transformValues,
2069 GLsizei transformValuesBufsize) {
2070 return error::kNoError;
2071 }
2072
2073 error::Error GLES2DecoderPassthroughImpl::DoBindFragmentInputLocationCHROMIUM(
2074 GLuint program,
2075 GLint location,
2076 const char* name) {
2077 return error::kNoError;
2078 }
2079
2080 error::Error GLES2DecoderPassthroughImpl::DoProgramPathFragmentInputGenCHROMIUM(
2081 GLuint program,
2082 GLint location,
2083 GLenum genMode,
2084 GLint components,
2085 const GLfloat* coeffs,
2086 GLsizei coeffsBufsize) {
2087 return error::kNoError;
2088 }
2089
2090 error::Error GLES2DecoderPassthroughImpl::DoCoverageModulationCHROMIUM(
2091 GLenum components) {
2092 return error::kNoError;
2093 }
2094
2095 error::Error GLES2DecoderPassthroughImpl::DoBlendBarrierKHR() {
2096 return error::kNoError;
2097 }
2098
2099 error::Error
2100 GLES2DecoderPassthroughImpl::DoApplyScreenSpaceAntialiasingCHROMIUM() {
2101 return error::kNoError;
2102 }
2103
2104 error::Error GLES2DecoderPassthroughImpl::DoBindFragDataLocationIndexedEXT(
2105 GLuint program,
2106 GLuint colorNumber,
2107 GLuint index,
2108 const char* name) {
2109 return error::kNoError;
2110 }
2111
2112 error::Error GLES2DecoderPassthroughImpl::DoBindFragDataLocationEXT(
2113 GLuint program,
2114 GLuint colorNumber,
2115 const char* name) {
2116 return error::kNoError;
2117 }
2118
2119 error::Error GLES2DecoderPassthroughImpl::DoGetFragDataIndexEXT(
2120 GLuint program,
2121 const char* name,
2122 GLint* index) {
2123 return error::kNoError;
2124 }
2125
2126 error::Error
2127 GLES2DecoderPassthroughImpl::DoUniformMatrix4fvStreamTextureMatrixCHROMIUM(
2128 GLint location,
2129 GLboolean transpose,
2130 const GLfloat* defaultValue) {
2131 return error::kNoError;
2132 }
2133
2134 } // namespace gles2
2135 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698