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

Unified Diff: ui/compositor/compositor.h

Issue 2277883002: Use vsync manager regardless of begin frame settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 4 years, 4 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: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index e7d12bf0361bff3ddf410d593e8ed9ae34869de0..b73eb8664434c9263ebec611943babf807eb583c 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -287,6 +287,12 @@ class COMPOSITOR_EXPORT Compositor
// context.
void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval);
+ // Most platforms set their vsync info via BrowerCompositorOutputSurface's
+ // OnUpdateVSyncParametersFromGpu, but Mac routes vsync info via the
+ // browser compositor instead through this path.
+ void SetDisplayVSyncParameters(base::TimeTicks timebase,
+ base::TimeDelta interval);
+
// Sets the widget for the compositor to render into.
void SetAcceleratedWidget(gfx::AcceleratedWidget widget);
// Releases the widget previously set through SetAcceleratedWidget().

Powered by Google App Engine
This is Rietveld 408576698