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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

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/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index acdaa779949c00bbfe2008b5b3b7d55ca05575be..2277a5c9f63fd3d4e197fe267d4a697d7b4a73ca 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1081,6 +1081,9 @@ static void AppendCompositorCommandLineFlags(base::CommandLine* command_line) {
if (IsGpuRasterizationEnabled())
command_line->AppendSwitch(switches::kEnableGpuRasterization);
+ if (IsThreadedGpuRasterizationEnabled())
+ command_line->AppendSwitch(switches::kEnableThreadedGpuRasterization);
+
int msaa_sample_count = GpuRasterizationMSAASampleCount();
if (msaa_sample_count > 0) {
command_line->AppendSwitchASCII(

Powered by Google App Engine
This is Rietveld 408576698