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

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: 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
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,
+ GpuRasterizationForced,
+ };
+ GpuRasterizationState gpu_rasterization_state;
enum ScrollbarAnimator {
NoAnimator,

Powered by Google App Engine
This is Rietveld 408576698