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

Unified Diff: content/browser/gpu/gpu_data_manager_impl_private.cc

Issue 191563003: Turn on compositing for animations with software compositor. (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
« 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: content/browser/gpu/gpu_data_manager_impl_private.cc
diff --git a/content/browser/gpu/gpu_data_manager_impl_private.cc b/content/browser/gpu/gpu_data_manager_impl_private.cc
index ae9f6bf1d1763afa51e1f597e1fdea841decc13b..3785c59f6748f5aea772bc3577d631330816dcda 100644
--- a/content/browser/gpu/gpu_data_manager_impl_private.cc
+++ b/content/browser/gpu/gpu_data_manager_impl_private.cc
@@ -787,6 +787,7 @@ void GpuDataManagerImplPrivate::UpdateRendererWebPrefs(
prefs->accelerated_compositing_for_video_enabled = false;
prefs->accelerated_compositing_for_animation_enabled = false;
prefs->accelerated_compositing_for_3d_transforms_enabled = false;
+ prefs->accelerated_compositing_for_animation_enabled = false;
jbauman 2014/03/07 22:59:29 This line is redundant with the one above.
danakj 2014/03/07 23:02:36 Oh, I was mimicing line 779. Should we just always
jbauman 2014/03/07 23:09:44 I mean, this is literally a duplicate of line 788.
danakj 2014/03/07 23:11:11 Ohhh, order changed. :D thanks!
prefs->accelerated_compositing_for_plugins_enabled = false;
prefs->pepper_3d_enabled = false;
}
@@ -795,6 +796,7 @@ void GpuDataManagerImplPrivate::UpdateRendererWebPrefs(
prefs->force_compositing_mode = true;
prefs->accelerated_compositing_enabled = true;
prefs->accelerated_compositing_for_3d_transforms_enabled = true;
+ prefs->accelerated_compositing_for_animation_enabled = true;
prefs->accelerated_compositing_for_plugins_enabled = true;
prefs->accelerated_compositing_for_video_enabled = true;
}
« 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