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

Unified Diff: ui/gl/async_pixel_transfer_delegate_stub.cc

Issue 12210129: gpu: Add the ability to wait on upload completion. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix logging. Created 7 years, 10 months 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
« no previous file with comments | « ui/gl/async_pixel_transfer_delegate_stub.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/async_pixel_transfer_delegate_stub.cc
diff --git a/ui/gl/async_pixel_transfer_delegate_stub.cc b/ui/gl/async_pixel_transfer_delegate_stub.cc
index b4f36396cbe954896deda8c0bf8addc1c4bd8786..093cb116b28e3a3247861c0be2d3b9e27e1c83e3 100644
--- a/ui/gl/async_pixel_transfer_delegate_stub.cc
+++ b/ui/gl/async_pixel_transfer_delegate_stub.cc
@@ -139,6 +139,11 @@ void AsyncPixelTransferDelegateStub::AsyncTexSubImage2D(
total_texture_upload_time_ += base::TimeTicks::HighResNow() - begin_time;
}
+void AsyncPixelTransferDelegateStub::WaitForTransferCompletion(
+ AsyncPixelTransferState* state) {
+ // Already done.
+}
+
uint32 AsyncPixelTransferDelegateStub::GetTextureUploadCount() {
return texture_upload_count_;
}
« no previous file with comments | « ui/gl/async_pixel_transfer_delegate_stub.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698