Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 11412232: gpu: Add async upload functions. (Closed) Base URL: http://git.chromium.org/chromium/src.git@ASYNC_uploads
Patch Set: Add autogenerated code. Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698