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

Unified Diff: content/renderer/gpu/compositor_output_surface.cc

Issue 335873002: gpu: Only estimate parent compositor run time when needed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/renderer/gpu/compositor_output_surface.cc
diff --git a/content/renderer/gpu/compositor_output_surface.cc b/content/renderer/gpu/compositor_output_surface.cc
index a2929643ac17e9a467fdb1d7d172979db087d510..2a566e6852671bb4c38659df4d5f3047256b6389 100644
--- a/content/renderer/gpu/compositor_output_surface.cc
+++ b/content/renderer/gpu/compositor_output_surface.cc
@@ -76,6 +76,9 @@ CompositorOutputSurface::CompositorOutputSurface(
DCHECK(message_sender_.get());
if (OutputSurface::software_device())
capabilities_.max_frames_pending = 1;
+#if defined(OS_ANDROID)
piman 2014/06/13 20:46:43 Why android only? All platforms but Mac* use deleg
Sami 2014/06/16 13:15:04 Yeah, I was wondering if this should be done more
+ capabilities_.adjust_deadline_for_parent = false;
+#endif
}
CompositorOutputSurface::~CompositorOutputSurface() {
« 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