OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 virtual WebGLId createVertexArrayOES() { return 0; } | 443 virtual WebGLId createVertexArrayOES() { return 0; } |
444 virtual void deleteVertexArrayOES(WebGLId array) { } | 444 virtual void deleteVertexArrayOES(WebGLId array) { } |
445 virtual WGC3Dboolean isVertexArrayOES(WebGLId array) { return false; } | 445 virtual WGC3Dboolean isVertexArrayOES(WebGLId array) { return false; } |
446 virtual void bindVertexArrayOES(WebGLId array) { } | 446 virtual void bindVertexArrayOES(WebGLId array) { } |
447 | 447 |
448 // GL_CHROMIUM_texture_from_image | 448 // GL_CHROMIUM_texture_from_image |
449 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { } | 449 virtual void bindTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) { } |
450 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) {
} | 450 virtual void releaseTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint imageId) {
} |
451 | 451 |
452 // GL_CHROMIUM_pixel_transfer_buffer_object | 452 // GL_CHROMIUM_pixel_transfer_buffer_object |
453 virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access) { return
0; } | 453 virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access) { return
nullptr; } |
454 virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target) { return false; } | 454 virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target) { return false; } |
455 | 455 |
456 // GL_CHROMIUM_async_pixel_transfers | 456 // GL_CHROMIUM_async_pixel_transfers |
457 virtual void asyncTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3D
enum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3D
enum format, WGC3Denum type, const void* pixels) { } | 457 virtual void asyncTexImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WGC3D
enum internalformat, WGC3Dsizei width, WGC3Dsizei height, WGC3Dint border, WGC3D
enum format, WGC3Denum type, const void* pixels) { } |
458 virtual void asyncTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WG
C3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum
format, WGC3Denum type, const void* pixels) { } | 458 virtual void asyncTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WG
C3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum
format, WGC3Denum type, const void* pixels) { } |
459 virtual void waitAsyncTexImage2DCHROMIUM(WGC3Denum) { } | 459 virtual void waitAsyncTexImage2DCHROMIUM(WGC3Denum) { } |
460 | 460 |
461 // GL_EXT_draw_buffers | 461 // GL_EXT_draw_buffers |
462 virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs) { } | 462 virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs) { } |
463 | 463 |
464 virtual GrGLInterface* createGrGLInterface() { return 0; } | 464 virtual GrGLInterface* createGrGLInterface() { return nullptr; } |
465 | 465 |
466 // GL_CHROMIUM_image | 466 // GL_CHROMIUM_image |
467 virtual void destroyImageCHROMIUM(WGC3Duint imageId) { } | 467 virtual void destroyImageCHROMIUM(WGC3Duint imageId) { } |
468 | 468 |
469 // GL_CHROMIUM_gpu_memory_buffer_image | 469 // GL_CHROMIUM_gpu_memory_buffer_image |
470 virtual WGC3Duint createGpuMemoryBufferImageCHROMIUM(WGC3Dsizei width, WGC3D
sizei height, WGC3Denum internalformat, WGC3Denum usage) { return 0; } | 470 virtual WGC3Duint createGpuMemoryBufferImageCHROMIUM(WGC3Dsizei width, WGC3D
sizei height, WGC3Denum internalformat, WGC3Denum usage) { return 0; } |
471 | 471 |
472 // GL_ANGLE_instanced_arrays | 472 // GL_ANGLE_instanced_arrays |
473 virtual void drawArraysInstancedANGLE(WGC3Denum mode, WGC3Dint first, WGC3Ds
izei count, WGC3Dsizei primcount) { } | 473 virtual void drawArraysInstancedANGLE(WGC3Denum mode, WGC3Dint first, WGC3Ds
izei count, WGC3Dsizei primcount) { } |
474 virtual void drawElementsInstancedANGLE(WGC3Denum mode, WGC3Dsizei count, WG
C3Denum type, WGC3Dintptr offset, WGC3Dsizei primcount) { } | 474 virtual void drawElementsInstancedANGLE(WGC3Denum mode, WGC3Dsizei count, WG
C3Denum type, WGC3Dintptr offset, WGC3Dsizei primcount) { } |
(...skipping 18 matching lines...) Expand all Loading... |
493 virtual void compressedTexSubImage3D(WGC3Denum target, WGC3Dint level, WGC3D
int xoffset, WGC3Dint yoffset, WGC3Dint zoffset, WGC3Dsizei width, WGC3Dsizei he
ight, WGC3Dsizei depth, WGC3Denum format, WGC3Dsizei imageSize, const void *data
) { } | 493 virtual void compressedTexSubImage3D(WGC3Denum target, WGC3Dint level, WGC3D
int xoffset, WGC3Dint yoffset, WGC3Dint zoffset, WGC3Dsizei width, WGC3Dsizei he
ight, WGC3Dsizei depth, WGC3Denum format, WGC3Dsizei imageSize, const void *data
) { } |
494 virtual void copyBufferSubData(WGC3Denum readTarget, WGC3Denum writeTarget,
WGC3Dintptr readOffset, WGC3Dintptr writeOffset, WGC3Dsizeiptr size) { } | 494 virtual void copyBufferSubData(WGC3Denum readTarget, WGC3Denum writeTarget,
WGC3Dintptr readOffset, WGC3Dintptr writeOffset, WGC3Dsizeiptr size) { } |
495 virtual void copyTexSubImage3D(WGC3Denum target, WGC3Dint level, WGC3Dint xo
ffset, WGC3Dint yoffset, WGC3Dint zoffset, WGC3Dint x, WGC3Dint y, WGC3Dsizei wi
dth, WGC3Dsizei height) { } | 495 virtual void copyTexSubImage3D(WGC3Denum target, WGC3Dint level, WGC3Dint xo
ffset, WGC3Dint yoffset, WGC3Dint zoffset, WGC3Dint x, WGC3Dint y, WGC3Dsizei wi
dth, WGC3Dsizei height) { } |
496 virtual WebGLId createSampler() { return 0; } | 496 virtual WebGLId createSampler() { return 0; } |
497 virtual WebGLId createTransformFeedback() { return 0; } | 497 virtual WebGLId createTransformFeedback() { return 0; } |
498 virtual void deleteSampler(WebGLId sampler) { } | 498 virtual void deleteSampler(WebGLId sampler) { } |
499 virtual void deleteSync(WGC3Dsync sync) { } | 499 virtual void deleteSync(WGC3Dsync sync) { } |
500 virtual void deleteTransformFeedback(WebGLId transformfeedback) { } | 500 virtual void deleteTransformFeedback(WebGLId transformfeedback) { } |
501 virtual void drawRangeElements(WGC3Denum mode, WGC3Duint start, WGC3Duint en
d, WGC3Dsizei count, WGC3Denum type, WGC3Dintptr offset) { } | 501 virtual void drawRangeElements(WGC3Denum mode, WGC3Duint start, WGC3Duint en
d, WGC3Dsizei count, WGC3Denum type, WGC3Dintptr offset) { } |
502 virtual void endTransformFeedback(void) { } | 502 virtual void endTransformFeedback(void) { } |
503 virtual WGC3Dsync fenceSync(WGC3Denum condition, WGC3Dbitfield flags) { retu
rn 0; } | 503 virtual WGC3Dsync fenceSync(WGC3Denum condition, WGC3Dbitfield flags) { retu
rn nullptr; } |
504 virtual void framebufferTextureLayer(WGC3Denum target, WGC3Denum attachment,
WGC3Duint texture, WGC3Dint level, WGC3Dint layer) { } | 504 virtual void framebufferTextureLayer(WGC3Denum target, WGC3Denum attachment,
WGC3Duint texture, WGC3Dint level, WGC3Dint layer) { } |
505 virtual void getActiveUniformBlockName(WebGLId program, WGC3Duint uniformBlo
ckIndex, WGC3Dsizei bufSize, WGC3Dsizei *length, WGC3Dchar *uniformBlockName) {
} | 505 virtual void getActiveUniformBlockName(WebGLId program, WGC3Duint uniformBlo
ckIndex, WGC3Dsizei bufSize, WGC3Dsizei *length, WGC3Dchar *uniformBlockName) {
} |
506 virtual void getActiveUniformBlockiv(WebGLId program, WGC3Duint uniformBlock
Index, WGC3Denum pname, WGC3Dint *params) { } | 506 virtual void getActiveUniformBlockiv(WebGLId program, WGC3Duint uniformBlock
Index, WGC3Denum pname, WGC3Dint *params) { } |
507 virtual void getActiveUniformsiv(WebGLId program, WGC3Dsizei uniformCount, c
onst WGC3Duint *uniformIndices, WGC3Denum pname, WGC3Dint *params) { } | 507 virtual void getActiveUniformsiv(WebGLId program, WGC3Dsizei uniformCount, c
onst WGC3Duint *uniformIndices, WGC3Denum pname, WGC3Dint *params) { } |
508 virtual void getBufferParameteri64v(WGC3Denum target, WGC3Denum pname, WGC3D
int64 *value) { } | 508 virtual void getBufferParameteri64v(WGC3Denum target, WGC3Denum pname, WGC3D
int64 *value) { } |
509 virtual WGC3Dint getFragDataLocation(WebGLId program, const WGC3Dchar *name)
{ return -1; } | 509 virtual WGC3Dint getFragDataLocation(WebGLId program, const WGC3Dchar *name)
{ return -1; } |
510 virtual void getInteger64v(WGC3Denum pname, WGC3Dint64 *data) { } | 510 virtual void getInteger64v(WGC3Denum pname, WGC3Dint64 *data) { } |
511 virtual void getIntegeri_v(WGC3Denum target, WGC3Duint index, WGC3Dint *data
) { } | 511 virtual void getIntegeri_v(WGC3Denum target, WGC3Duint index, WGC3Dint *data
) { } |
512 virtual void getInteger64i_v(WGC3Denum target, WGC3Duint index, WGC3Dint64 *
data) { } | 512 virtual void getInteger64i_v(WGC3Denum target, WGC3Duint index, WGC3Dint64 *
data) { } |
513 virtual void getInternalformativ(WGC3Denum target, WGC3Denum internalformat,
WGC3Denum pname, WGC3Dsizei bufSize, WGC3Dint *params) { } | 513 virtual void getInternalformativ(WGC3Denum target, WGC3Denum internalformat,
WGC3Denum pname, WGC3Dsizei bufSize, WGC3Dint *params) { } |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
556 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { } | 556 virtual void vertexAttribI4iv(WGC3Duint index, const WGC3Dint *v) { } |
557 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC
3Duint z, WGC3Duint w) { } | 557 virtual void vertexAttribI4ui(WGC3Duint index, WGC3Duint x, WGC3Duint y, WGC
3Duint z, WGC3Duint w) { } |
558 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { } | 558 virtual void vertexAttribI4uiv(WGC3Duint index, const WGC3Duint *v) { } |
559 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum
type, WGC3Dsizei stride, WGC3Dintptr pointer) { } | 559 virtual void vertexAttribIPointer(WGC3Duint index, WGC3Dint size, WGC3Denum
type, WGC3Dsizei stride, WGC3Dintptr pointer) { } |
560 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo
ut) { } | 560 virtual void waitSync(WGC3Dsync sync, WGC3Dbitfield flags, WGC3Duint64 timeo
ut) { } |
561 }; | 561 }; |
562 | 562 |
563 } // namespace blink | 563 } // namespace blink |
564 | 564 |
565 #endif | 565 #endif |
OLD | NEW |