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

Unified Diff: cc/raster/raster_buffer_provider.h

Issue 2814843002: gpu: GPU service scheduler. (Closed)
Patch Set: rebase Created 3 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/raster/raster_buffer_provider.h
diff --git a/cc/raster/raster_buffer_provider.h b/cc/raster/raster_buffer_provider.h
index 40611dfb96b3bb8abbf8372d1b04be3c76680f96..6055ccdacd69c35fd951969dc591309de7e9fd5c 100644
--- a/cc/raster/raster_buffer_provider.h
+++ b/cc/raster/raster_buffer_provider.h
@@ -54,6 +54,10 @@ class CC_EXPORT RasterBufferProvider {
// Used for syncing resources to the worker context.
virtual void OrderingBarrier() = 0;
+ // In addition to above, also ensures that pending work is sent to the GPU
+ // process.
+ virtual void Flush() = 0;
+
// Returns the format to use for the tiles.
virtual ResourceFormat GetResourceFormat(bool must_support_alpha) const = 0;

Powered by Google App Engine
This is Rietveld 408576698