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

Unified Diff: gpu/ipc/service/gpu_vsync_provider.h

Issue 2626413002: Route D3D VSync signal to Compositor (Closed)
Patch Set: Addressed CR feedback Created 3 years, 11 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: gpu/ipc/service/gpu_vsync_provider.h
diff --git a/gpu/ipc/service/gpu_vsync_provider.h b/gpu/ipc/service/gpu_vsync_provider.h
index 13d0ac210a1fc96b1961e0c94bee62039e3e6f32..d07be0bdc4e72d0c1eec62ff824577231f08deb8 100644
--- a/gpu/ipc/service/gpu_vsync_provider.h
+++ b/gpu/ipc/service/gpu_vsync_provider.h
@@ -30,8 +30,8 @@ class GPU_EXPORT GpuVSyncProvider {
static std::unique_ptr<GpuVSyncProvider> Create(const VSyncCallback& callback,
SurfaceHandle surface_handle);
- // Enable or disable VSync production.
- void EnableVSync(bool enabled);
+ // Start or stop VSync production.
+ void SetNeedsVSync(bool needs_vsync);
private:
#if defined(OS_WIN)

Powered by Google App Engine
This is Rietveld 408576698