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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 virtual void beginQueryEXT(WGC3Denum target, WebGLId query) { } | 445 virtual void beginQueryEXT(WGC3Denum target, WebGLId query) { } |
446 virtual void endQueryEXT(WGC3Denum target) { } | 446 virtual void endQueryEXT(WGC3Denum target) { } |
447 virtual void getQueryivEXT(WGC3Denum target, WGC3Denum pname, WGC3Dint* para
ms) { } | 447 virtual void getQueryivEXT(WGC3Denum target, WGC3Denum pname, WGC3Dint* para
ms) { } |
448 virtual void getQueryObjectuivEXT(WebGLId query, WGC3Denum pname, WGC3Duint*
params) { } | 448 virtual void getQueryObjectuivEXT(WebGLId query, WGC3Denum pname, WGC3Duint*
params) { } |
449 | 449 |
450 // GL_CHROMIUM_bind_uniform_location | 450 // GL_CHROMIUM_bind_uniform_location |
451 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location,
const WGC3Dchar* uniform) { } | 451 virtual void bindUniformLocationCHROMIUM(WebGLId program, WGC3Dint location,
const WGC3Dchar* uniform) { } |
452 | 452 |
453 // GL_CHROMIUM_copy_texture | 453 // GL_CHROMIUM_copy_texture |
454 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId, | 454 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId, |
455 WGC3Duint destId, WGC3Dint level, WGC3Denum
internalFormat) { } | |
456 // This function adds one more parameter(destType) than the above one to def
ine the destination texture if needed. | |
457 // TODO(jun.a.jiang@intel.com): once all clients switch to call this newer f
unction with six parameters, the older | |
458 // one with five parameters would be removed. | |
459 virtual void copyTextureCHROMIUM(WGC3Denum target, WGC3Duint sourceId, | |
460 WGC3Duint destId, WGC3Dint level, WGC3Denum internalFormat, WGC3Denum de
stType) { } | 455 WGC3Duint destId, WGC3Dint level, WGC3Denum internalFormat, WGC3Denum de
stType) { } |
461 | 456 |
462 // GL_CHROMIUM_shallow_flush | 457 // GL_CHROMIUM_shallow_flush |
463 virtual void shallowFlushCHROMIUM() { } | 458 virtual void shallowFlushCHROMIUM() { } |
464 | 459 |
465 // GL_CHROMIUM_texture_mailbox | 460 // GL_CHROMIUM_texture_mailbox |
466 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox) { } | 461 virtual void genMailboxCHROMIUM(WGC3Dbyte* mailbox) { } |
467 virtual void produceTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailb
ox) { } | 462 virtual void produceTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailb
ox) { } |
468 virtual void consumeTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailb
ox) { } | 463 virtual void consumeTextureCHROMIUM(WGC3Denum target, const WGC3Dbyte* mailb
ox) { } |
469 | 464 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 virtual void unmapImageCHROMIUM(WGC3Duint imageId) { } | 500 virtual void unmapImageCHROMIUM(WGC3Duint imageId) { } |
506 | 501 |
507 protected: | 502 protected: |
508 virtual GrGLInterface* onCreateGrGLInterface() { return 0; } | 503 virtual GrGLInterface* onCreateGrGLInterface() { return 0; } |
509 | 504 |
510 }; | 505 }; |
511 | 506 |
512 } // namespace WebKit | 507 } // namespace WebKit |
513 | 508 |
514 #endif | 509 #endif |
OLD | NEW |