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

Unified Diff: cc/resources/resource_provider.h

Issue 14273026: cc: Make async readback path use async glRreadPixels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: There, I fixed it Created 7 years, 8 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: cc/resources/resource_provider.h
diff --git a/cc/resources/resource_provider.h b/cc/resources/resource_provider.h
index e964437757ba5ed4e6f7c8356bb083cc00c78e67..3a9554906dedcc0af66ac21d23a96f47971aa77d 100644
--- a/cc/resources/resource_provider.h
+++ b/cc/resources/resource_provider.h
@@ -127,6 +127,10 @@ class CC_EXPORT ResourceProvider {
// respect to other contexts.
void Flush();
+ // Finish all context operations, causing any pendnig callbacks to be
piman 2013/04/27 00:42:25 typo: pendnig
danakj 2013/04/29 14:59:05 Done.
+ // scheduled.
+ void Finish();
+
// Only flush the command buffer if supported.
// Returns true if the shallow flush occurred, false otherwise.
bool ShallowFlushIfSupported();

Powered by Google App Engine
This is Rietveld 408576698