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

Unified Diff: ui/compositor/compositor.cc

Issue 2612023002: cc: Implement overdraw feedback debugging feature. (Closed)
Patch Set: fix typo in comment Created 3 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: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 48beca915c169ab1ba3a699a1adaf7cb5dbc9930..e5ee2f91ca96e8886939a673e0d27b66b30ca27a 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -140,6 +140,8 @@ Compositor::Compositor(ui::ContextFactory* context_factory,
#endif
settings.renderer_settings.gl_composited_texture_quad_border =
command_line->HasSwitch(cc::switches::kGlCompositedTextureQuadBorder);
+ settings.renderer_settings.show_overdraw_feedback =
+ command_line->HasSwitch(cc::switches::kShowOverdrawFeedback);
// These flags should be mirrored by renderer versions in content/renderer/.
settings.initial_debug_state.show_debug_borders =

Powered by Google App Engine
This is Rietveld 408576698