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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 virtual void asyncTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WG
C3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum
format, WGC3Denum type, const void* pixels) { } | 491 virtual void asyncTexSubImage2DCHROMIUM(WGC3Denum target, WGC3Dint level, WG
C3Dint xoffset, WGC3Dint yoffset, WGC3Dsizei width, WGC3Dsizei height, WGC3Denum
format, WGC3Denum type, const void* pixels) { } |
492 virtual void waitAsyncTexImage2DCHROMIUM(WGC3Denum) { } | 492 virtual void waitAsyncTexImage2DCHROMIUM(WGC3Denum) { } |
493 | 493 |
494 // GL_EXT_draw_buffers | 494 // GL_EXT_draw_buffers |
495 virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs) { } | 495 virtual void drawBuffersEXT(WGC3Dsizei n, const WGC3Denum* bufs) { } |
496 | 496 |
497 // FIXME: Make implementations of this class override this method instead an
d then remove onCreateGrGLInterface(). | 497 // FIXME: Make implementations of this class override this method instead an
d then remove onCreateGrGLInterface(). |
498 virtual GrGLInterface* createGrGLInterface() { return onCreateGrGLInterface(
); } | 498 virtual GrGLInterface* createGrGLInterface() { return onCreateGrGLInterface(
); } |
499 | 499 |
500 // GL_CHROMIUM_gpu_memory_buffer | 500 // GL_CHROMIUM_gpu_memory_buffer |
501 virtual void imageBufferDataCHROMIUM(WGC3Denum target, WGC3Dsizei width, WGC
3Dsizei height) { } | 501 virtual WGC3Duint createImageCHROMIUM(WGC3Dsizei width, WGC3Dsizei height) {
return 0; } |
| 502 virtual void destroyImageCHROMIUM(WGC3Duint imageId) { } |
| 503 virtual void getImageParameterivCHROMIUM(WGC3Duint imageId, WGC3Denum pname,
WGC3Dint* params) { } |
| 504 virtual void* mapImageCHROMIUM(WGC3Duint imageId, WGC3Denum access) { return
0; } |
| 505 virtual WGC3Dboolean unmapImageCHROMIUM(WGC3Duint imageId) { return false; } |
502 | 506 |
503 protected: | 507 protected: |
504 virtual GrGLInterface* onCreateGrGLInterface() { return 0; } | 508 virtual GrGLInterface* onCreateGrGLInterface() { return 0; } |
505 | 509 |
506 }; | 510 }; |
507 | 511 |
508 } // namespace WebKit | 512 } // namespace WebKit |
509 | 513 |
510 #endif | 514 #endif |
OLD | NEW |