Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
index 1fc320636ba70a09dc8aa931473f7a880fd27f02..090dd57f65135aab66357d6c9d740e4ab92dc267 100644 |
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
@@ -606,6 +606,28 @@ class WebGraphicsContext3DCommandBufferImpl |
virtual void* mapBufferCHROMIUM(WGC3Denum target, WGC3Denum access); |
virtual WGC3Dboolean unmapBufferCHROMIUM(WGC3Denum target); |
+ // Async task functions. |
reveman
2012/11/30 03:10:20
Async pixel transfer functions?
epennerAtGoogle
2012/11/30 04:14:22
Done.
|
+ virtual WGC3Dboolean asyncTexImage2DCHROMIUM( |
+ WGC3Denum target, |
+ WGC3Dint level, |
+ WGC3Denum internalformat, |
+ WGC3Dsizei width, |
+ WGC3Dsizei height, |
+ WGC3Dint border, |
+ WGC3Denum format, |
+ WGC3Denum type, |
+ const void* pixels); |
+ virtual WGC3Dboolean asyncTexSubImage2DCHROMIUM( |
+ WGC3Denum target, |
+ WGC3Dint level, |
+ WGC3Dint xoffset, |
+ WGC3Dint yoffset, |
+ WGC3Dsizei width, |
+ WGC3Dsizei height, |
+ WGC3Denum format, |
+ WGC3Denum type, |
+ const void* pixels); |
+ |
protected: |
virtual GrGLInterface* onCreateGrGLInterface(); |