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

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

Issue 2008193002: Change mojo geometry structs from using type converters to StructTraits. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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
11 GpuServiceMus::GpuServiceMus() {} 11 GpuServiceMus::GpuServiceMus() {}
12 12
13 GpuServiceMus::~GpuServiceMus() {} 13 GpuServiceMus::~GpuServiceMus() {}
14 14
15 void GpuServiceMus::EstablishGpuChannel( 15 void GpuServiceMus::EstablishGpuChannel(
16 bool prempts, 16 bool prempts,
17 bool allow_view_command_buffers, 17 bool allow_view_command_buffers,
18 bool allow_real_time_streams, 18 bool allow_real_time_streams,
19 const mojom::GpuService::EstablishGpuChannelCallback& callback) { 19 const mojom::GpuService::EstablishGpuChannelCallback& callback) {
20 NOTIMPLEMENTED(); 20 NOTIMPLEMENTED();
21 } 21 }
22 22
23 void GpuServiceMus::CreateGpuMemoryBuffer( 23 void GpuServiceMus::CreateGpuMemoryBuffer(
24 mojom::GpuMemoryBufferIdPtr id, 24 mojom::GpuMemoryBufferIdPtr id,
25 mojo::SizePtr size, 25 const gfx::Size& size,
26 mojom::BufferFormat format, 26 mojom::BufferFormat format,
27 mojom::BufferUsage usage, 27 mojom::BufferUsage usage,
28 uint64_t surface_id, 28 uint64_t surface_id,
29 const mojom::GpuService::CreateGpuMemoryBufferCallback& callback) { 29 const mojom::GpuService::CreateGpuMemoryBufferCallback& callback) {
30 NOTIMPLEMENTED(); 30 NOTIMPLEMENTED();
31 } 31 }
32 32
33 void GpuServiceMus::CreateGpuMemoryBufferFromHandle( 33 void GpuServiceMus::CreateGpuMemoryBufferFromHandle(
34 mojom::GpuMemoryBufferHandlePtr buffer_handle, 34 mojom::GpuMemoryBufferHandlePtr buffer_handle,
35 mojom::GpuMemoryBufferIdPtr id, 35 mojom::GpuMemoryBufferIdPtr id,
36 mojo::SizePtr size, 36 const gfx::Size& size,
37 mojom::BufferFormat format, 37 mojom::BufferFormat format,
38 const mojom::GpuService::CreateGpuMemoryBufferFromHandleCallback& 38 const mojom::GpuService::CreateGpuMemoryBufferFromHandleCallback&
39 callback) { 39 callback) {
40 NOTIMPLEMENTED(); 40 NOTIMPLEMENTED();
41 } 41 }
42 42
43 void GpuServiceMus::DestroyGpuMemoryBuffer(mojom::GpuMemoryBufferIdPtr id, 43 void GpuServiceMus::DestroyGpuMemoryBuffer(mojom::GpuMemoryBufferIdPtr id,
44 const gpu::SyncToken& sync_token) { 44 const gpu::SyncToken& sync_token) {
45 NOTIMPLEMENTED(); 45 NOTIMPLEMENTED();
46 } 46 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 gpu::SurfaceHandle child_window) { 79 gpu::SurfaceHandle child_window) {
80 NOTIMPLEMENTED(); 80 NOTIMPLEMENTED();
81 } 81 }
82 #endif 82 #endif
83 83
84 void GpuServiceMus::SetActiveURL(const GURL& url) { 84 void GpuServiceMus::SetActiveURL(const GURL& url) {
85 NOTIMPLEMENTED(); 85 NOTIMPLEMENTED();
86 } 86 }
87 87
88 } // namespace mus 88 } // namespace mus
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698