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

Unified Diff: ui/compositor/compositor.cc

Issue 123463004: Don't allow software fallback for UI compositor on CrOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 76e09c4566726506239bd77e6b9fecf25f84a40f..e334fc41a1599d032747d44dc0d60c57c1d3c491 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -514,6 +514,10 @@ void Compositor::Layout() {
}
scoped_ptr<cc::OutputSurface> Compositor::CreateOutputSurface(bool fallback) {
+ // Chrome OS doesn't support falling back to software.
+#if defined(OS_CHROMEOS)
danakj 2014/01/06 19:33:06 Can we keep the #ifdefs out of ui::Compositor and
ccameron 2014/01/06 19:47:02 Sure -- done!
+ fallback = false;
+#endif
return ContextFactory::GetInstance()->CreateOutputSurface(this, fallback);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698