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

Side by Side Diff: gpu/ipc/service/gpu_vsync_provider_posix.cc

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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/ipc/service/gpu_vsync_provider.h" 5 #include "gpu/ipc/service/gpu_vsync_provider.h"
6 6
7 namespace gpu { 7 namespace gpu {
8 8
9 /* static */ 9 /* static */
10 std::unique_ptr<GpuVSyncProvider> GpuVSyncProvider::Create( 10 std::unique_ptr<GpuVSyncProvider> GpuVSyncProvider::Create(
11 const VSyncCallback& callback, 11 const VSyncCallback& callback,
12 SurfaceHandle surface_handle) { 12 SurfaceHandle surface_handle) {
13 return std::unique_ptr<GpuVSyncProvider>(); 13 return std::unique_ptr<GpuVSyncProvider>();
14 } 14 }
15 15
16 GpuVSyncProvider::~GpuVSyncProvider() = default; 16 GpuVSyncProvider::~GpuVSyncProvider() = default;
17 17
18 void GpuVSyncProvider::EnableVSync(bool enabled) { 18 void GpuVSyncProvider::SetNeedsVSync(bool needs_vsync) {
19 NOTREACHED(); 19 NOTREACHED();
20 } 20 }
21 21
22 } // namespace gpu 22 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698