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

Unified Diff: cc/resources/rasterizer.h

Issue 667793004: Support single-threaded impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use numeric limits for raster task limit Created 6 years, 2 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/rasterizer.h
diff --git a/cc/resources/rasterizer.h b/cc/resources/rasterizer.h
index 526058c338d01d42ef7fcb56b587f648c8103537..224ec32409c317be3100e8c91918388e20b06312 100644
--- a/cc/resources/rasterizer.h
+++ b/cc/resources/rasterizer.h
@@ -152,6 +152,9 @@ class CC_EXPORT Rasterizer {
// ScheduleTasks().
virtual void ScheduleTasks(RasterTaskQueue* queue) = 0;
+ // Blocks until all currently scheduled tasks have completed.
+ virtual void WaitForTasksToFinishRunning() = 0;
reveman 2014/10/27 19:15:49 I don't think we should add this to the Rasterizer
enne (OOO) 2014/10/27 20:23:24 What do you mean by non-threaded? Is this somethin
+
// Check for completed tasks and dispatch reply callbacks.
virtual void CheckForCompletedTasks() = 0;

Powered by Google App Engine
This is Rietveld 408576698