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

Unified Diff: cc/trees/layer_tree_settings.h

Issue 189883009: Define a --force-gpu-rasterization flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor logic fix-up Created 6 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
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_settings.h
diff --git a/cc/trees/layer_tree_settings.h b/cc/trees/layer_tree_settings.h
index 0a48b474988bf81767fae11b2b33eedc9f5f632f..4ebcb5c64b3eded97030810a3fdd1085a5fc2fab 100644
--- a/cc/trees/layer_tree_settings.h
+++ b/cc/trees/layer_tree_settings.h
@@ -30,7 +30,12 @@ class CC_EXPORT LayerTreeSettings {
bool show_overdraw_in_tracing;
bool can_use_lcd_text;
bool should_clear_root_render_pass;
- bool gpu_rasterization;
+ enum GpuRasterizationState {
+ GpuRasterizationDisabled,
+ GpuRasterizationEnabled,
nduca 2014/03/08 04:18:02 Once you get into cc, you can use sw/hw/forced so
ernstm 2014/03/08 05:13:53 In the previous review we settled on cpu/hybrid/gp
ajuma 2014/03/08 19:04:02 Switched cc back to using cpu/hybrid/gpu.
+ GpuRasterizationForced,
+ };
+ GpuRasterizationState gpu_rasterization_state;
enum ScrollbarAnimator {
NoAnimator,
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698