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

Unified Diff: cc/trees/thread_proxy.cc

Issue 14417014: cc: Add tile-free software compositing mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index b6d30bf38bfebd1c176219f494aeb01a3afb5d28..e1249256d981282640b698a520c883e81713f29a 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -912,6 +912,9 @@ ThreadProxy::ScheduledActionDrawAndSwapInternal(bool forced_draw) {
bool draw_frame = false;
bool start_ready_animations = true;
+ if (layer_tree_host_impl_->settings().tile_free_software_compositing)
+ frame.cannot_append_tile_draw_quads = true;
+
if (layer_tree_host_impl_->CanDraw()) {
// Do not start animations if we skip drawing the frame to avoid
// checkerboarding.

Powered by Google App Engine
This is Rietveld 408576698