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

Unified Diff: ui/gl/async_pixel_transfer_delegate.h

Issue 12040049: gpu: Implement idle async pixel transfers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase and prevent starvation Created 7 years, 9 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
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 e2d1d6c89951b01353c339d73fd7b5f9140067d1..aa66dc467959c0fb087dd5c6227eb1dd4b57109f 100644
--- a/ui/gl/async_pixel_transfer_delegate.h
+++ b/ui/gl/async_pixel_transfer_delegate.h
@@ -113,6 +113,9 @@ class GL_EXPORT AsyncPixelTransferDelegate {
virtual uint32 GetTextureUploadCount() = 0;
virtual base::TimeDelta GetTotalTextureUploadTime() = 0;
+ virtual void ProcessPendingTransfers() = 0;
Sami 2013/03/07 16:57:19 Can we name these somehow so that the distinction
reveman 2013/03/07 20:21:04 I agree.
+ virtual bool HasPendingTransfers() = 0;
+
protected:
AsyncPixelTransferDelegate() {}
// For testing, as returning scoped_ptr wouldn't work with MOCK_METHOD.

Powered by Google App Engine
This is Rietveld 408576698