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

Unified Diff: ash/common/ash_switches.cc

Issue 2780823002: Uses copy request to flatten the layers to do screen rotation animation. (Closed)
Patch Set: Add tests for enable_smooth_screen_rotation code path. Created 3 years, 8 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: ash/common/ash_switches.cc
diff --git a/ash/common/ash_switches.cc b/ash/common/ash_switches.cc
index 4f2f8caa113cf765e38f93ca5a2ac1d9ffd36853..dd7f7cd6367717a3071a56475eef4c252273b65e 100644
--- a/ash/common/ash_switches.cc
+++ b/ash/common/ash_switches.cc
@@ -61,6 +61,10 @@ const char kAshEnableTouchView[] = "enable-touchview";
// Enables mirrored screen.
const char kAshEnableMirroredScreen[] = "ash-enable-mirrored-screen";
+// Enables a smoother animation for screen rotation.
+const char kAshEnableSmoothScreenRotation[] =
+ "ash-enable-smooth-screen-rotation";
+
// Specifies the estimated time (in milliseconds) from VSYNC event until when
// visible light can be noticed by the user.
const char kAshEstimatedPresentationDelay[] =

Powered by Google App Engine
This is Rietveld 408576698