Index: ui/gl/async_pixel_transfer_delegate.h |
diff --git a/ui/gl/async_pixel_transfer_delegate.h b/ui/gl/async_pixel_transfer_delegate.h |
index da457225ecdcaebb34eeb4e9de856a14c9c0f5a4..e2d1d6c89951b01353c339d73fd7b5f9140067d1 100644 |
--- a/ui/gl/async_pixel_transfer_delegate.h |
+++ b/ui/gl/async_pixel_transfer_delegate.h |
@@ -106,6 +106,10 @@ class GL_EXPORT AsyncPixelTransferDelegate { |
const AsyncTexSubImage2DParams& tex_params, |
const AsyncMemoryParams& mem_params) = 0; |
+ // Block until the specified transfer completes. |
+ virtual void WaitForTransferCompletion( |
+ AsyncPixelTransferState* state) = 0; |
+ |
virtual uint32 GetTextureUploadCount() = 0; |
virtual base::TimeDelta GetTotalTextureUploadTime() = 0; |