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

Unified Diff: content/browser/gpu/compositor_util.h

Issue 895763002: Add a command-line flag to enable threaded GPU rasterization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 5 years, 11 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: content/browser/gpu/compositor_util.h
diff --git a/content/browser/gpu/compositor_util.h b/content/browser/gpu/compositor_util.h
index 6266f36e1cbeefc7225835c72dcdef3e3f535da1..16dca45c45ad6f50fb522aab32067d3f8209e3f3 100644
--- a/content/browser/gpu/compositor_util.h
+++ b/content/browser/gpu/compositor_util.h
@@ -42,6 +42,10 @@ CONTENT_EXPORT int GpuRasterizationMSAASampleCount();
// Returns true if force-gpu-rasterization is on (via flags) for the renderer.
CONTENT_EXPORT bool IsForceGpuRasterizationEnabled();
+// Returns true if threaded GPU rasterization is on (via flags) for the
+// renderer.
+CONTENT_EXPORT bool IsThreadedGpuRasterizationEnabled();
+
// Returns the number of raster threads to use for compositing.
CONTENT_EXPORT int NumberOfRendererRasterThreads();

Powered by Google App Engine
This is Rietveld 408576698