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

Unified Diff: ui/compositor/compositor.cc

Issue 12542006: Implemented browser side software compositing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing review comments. Created 7 years, 9 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: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 4cb912297bb40c16604125d0115971c9ae9e55ac..b20661c3271be3fb98ddc5f44c309b522a007ecc 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -376,7 +376,8 @@ Compositor::Compositor(CompositorDelegate* delegate,
settings.initialDebugState.showDebugBorders =
command_line->HasSwitch(switches::kUIShowLayerBorders);
settings.partialSwapEnabled =
- command_line->HasSwitch(switches::kUIEnablePartialSwap);
+ command_line->HasSwitch(switches::kUIEnablePartialSwap) ||
+ command_line->HasSwitch(switches::kUIEnableSoftwareCompositing);
piman 2013/03/07 00:25:51 This shouldn't be here. It should be set by Softwa
slavi 2013/03/07 01:48:30 I found that this is not really necessary since th
settings.perTilePaintingEnabled =
command_line->HasSwitch(switches::kUIEnablePerTilePainting);

Powered by Google App Engine
This is Rietveld 408576698