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

Side by Side Diff: components/mus/gpu/gpu_service_mus.cc

Issue 1962493002: Make Mac swap code like other platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporate review feedback Created 4 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 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 "components/mus/gpu/gpu_service_mus.h" 5 #include "components/mus/gpu/gpu_service_mus.h"
6 6
7 #include "gpu/ipc/common/surface_handle.h" 7 #include "gpu/ipc/common/surface_handle.h"
8 8
9 namespace mus { 9 namespace mus {
10 10
(...skipping 22 matching lines...) Expand all
33 void GpuServiceMus::GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) { 33 void GpuServiceMus::GpuMemoryUmaStats(const gpu::GPUMemoryUmaStats& params) {
34 NOTIMPLEMENTED(); 34 NOTIMPLEMENTED();
35 } 35 }
36 36
37 void GpuServiceMus::StoreShaderToDisk(int32_t client_id, 37 void GpuServiceMus::StoreShaderToDisk(int32_t client_id,
38 const std::string& key, 38 const std::string& key,
39 const std::string& shader) { 39 const std::string& shader) {
40 NOTIMPLEMENTED(); 40 NOTIMPLEMENTED();
41 } 41 }
42 42
43 #if defined(OS_MACOSX)
44 void GpuServiceMus::SendAcceleratedSurfaceBuffersSwapped(
45 gpu::SurfaceHandle surface_handle,
46 CAContextID ca_context_id,
47 const gfx::ScopedRefCountedIOSurfaceMachPort& io_surface,
48 const gfx::Size& size,
49 float scale_factor,
50 std::vector<ui::LatencyInfo> latency_info) {
51 NOTIMPLEMENTED();
52 }
53 #endif
54
55 #if defined(OS_WIN) 43 #if defined(OS_WIN)
56 void GpuServiceMus::SendAcceleratedSurfaceCreatedChildWindow( 44 void GpuServiceMus::SendAcceleratedSurfaceCreatedChildWindow(
57 gpu::SurfaceHandle parent_window, 45 gpu::SurfaceHandle parent_window,
58 gpu::SurfaceHandle child_window) { 46 gpu::SurfaceHandle child_window) {
59 NOTIMPLEMENTED(); 47 NOTIMPLEMENTED();
60 } 48 }
61 #endif 49 #endif
62 50
63 void GpuServiceMus::SetActiveURL(const GURL& url) { 51 void GpuServiceMus::SetActiveURL(const GURL& url) {
64 NOTIMPLEMENTED(); 52 NOTIMPLEMENTED();
65 } 53 }
66 54
67 } // namespace mus 55 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/gpu/gpu_service_mus.h ('k') | content/browser/compositor/browser_compositor_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698