From 049fc7a730faa0dc77df259cc63a7907bc87d922 Mon Sep 17 00:00:00 2001 From: "brianderson@chromium.org" Date: Tue, 18 Jun 2013 12:32:35 +0000 Subject: cc: Emulate BeginFrame in OutputSurfaces that don't support it natively Relanding again. This time, the proactive SetNeedsBeginFrame is broken out explicitly with logic to workaround crbug 249806 and to avoid expensive redraws with the synchronous renderer. This includes two small fixes for the original version of this patch that broke software compositing and WebView. This will allow us to avoid having two different code paths in the Scheduler. It also allows us to more easily remove the VSyncTimeSource and FrameRateController from the Scheduler. This patch instantiates the FrameRateController inside of OutputSurface for now, but the FrameRateController could be removed in future patches. BUG=245920 BUG=243497 BUG=249806 TBR=nduca@chromium.org,sievers@chromium.org,kbr@chromium.org Review URL: https://chromiumcodereview.appspot.com/17353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206955 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/scheduler/scheduler_settings.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cc/scheduler/scheduler_settings.h') diff --git a/cc/scheduler/scheduler_settings.h b/cc/scheduler/scheduler_settings.h index ebcfc6a..c06e28f 100644 --- a/cc/scheduler/scheduler_settings.h +++ b/cc/scheduler/scheduler_settings.h @@ -16,6 +16,7 @@ class CC_EXPORT SchedulerSettings { bool impl_side_painting; bool timeout_and_draw_when_animation_checkerboards; + bool using_synchronous_renderer_compositor; }; } // namespace cc -- cgit v1.1