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..81dd6b5e7d8ed1cac9f519eb55508ad3bb71c887 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 pixel transfer functions. |
+ virtual void asyncTexImage2DCHROMIUM( |
+ WGC3Denum target, |
+ WGC3Dint level, |
+ WGC3Denum internalformat, |
+ WGC3Dsizei width, |
+ WGC3Dsizei height, |
+ WGC3Dint border, |
+ WGC3Denum format, |
+ WGC3Denum type, |
+ const void* pixels); |
+ virtual void asyncTexSubImage2DCHROMIUM( |
+ WGC3Denum target, |
+ WGC3Dint level, |
+ WGC3Dint xoffset, |
+ WGC3Dint yoffset, |
+ WGC3Dsizei width, |
+ WGC3Dsizei height, |
+ WGC3Denum format, |
+ WGC3Denum type, |
+ const void* pixels); |
+ |
protected: |
virtual GrGLInterface* onCreateGrGLInterface(); |