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