Index: gpu/command_buffer/service/async_pixel_transfer_manager.h |
diff --git a/gpu/command_buffer/service/async_pixel_transfer_manager.h b/gpu/command_buffer/service/async_pixel_transfer_manager.h |
index 4b5761945b3dca9d349c731ce388df617e257cef..1a818f3c1ad80a18a4da5ad42e6c9711c76ddfff 100644 |
--- a/gpu/command_buffer/service/async_pixel_transfer_manager.h |
+++ b/gpu/command_buffer/service/async_pixel_transfer_manager.h |
@@ -78,6 +78,9 @@ class GPU_EXPORT AsyncPixelTransferManager |
virtual void ProcessMorePendingTransfers() = 0; |
virtual bool NeedsProcessMorePendingTransfers() = 0; |
+ // Wait for all AsyncTex(Sub)Image2D uploads to finish before returning. |
+ virtual void WaitAllAsyncTexImage2D() = 0; |
+ |
AsyncPixelTransferDelegate* CreatePixelTransferDelegate( |
gles2::TextureRef* ref, |
const AsyncTexImage2DParams& define_params); |