OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "components/mus/gpu/gpu_memory_buffer_manager_mus_local.h" | |
6 | |
7 namespace mus { | |
8 | |
9 GpuMemoryBufferManagerMusLocal::GpuMemoryBufferManagerMusLocal( | |
10 int gpu_client_id, | |
11 uint64_t gpu_client_tracing_id) {} | |
12 | |
13 GpuMemoryBufferManagerMusLocal::~GpuMemoryBufferManagerMusLocal() {} | |
14 | |
15 std::unique_ptr<gfx::GpuMemoryBuffer> | |
16 GpuMemoryBufferManagerMusLocal::AllocateGpuMemoryBuffer( | |
17 const gfx::Size& size, | |
18 gfx::BufferFormat format, | |
19 gfx::BufferUsage usage, | |
20 gpu::SurfaceHandle surface_handle) { | |
21 NOTIMPLEMENTED(); | |
22 return std::unique_ptr<gfx::GpuMemoryBuffer>(); | |
23 } | |
24 | |
25 std::unique_ptr<gfx::GpuMemoryBuffer> | |
26 GpuMemoryBufferManagerMusLocal::CreateGpuMemoryBufferFromHandle( | |
27 const gfx::GpuMemoryBufferHandle& handle, | |
28 const gfx::Size& size, | |
29 gfx::BufferFormat format) { | |
30 NOTIMPLEMENTED(); | |
31 return std::unique_ptr<gfx::GpuMemoryBuffer>(); | |
32 } | |
33 | |
34 std::unique_ptr<gfx::GpuMemoryBuffer> | |
35 GpuMemoryBufferManagerMusLocal::CreateGpuMemoryBufferFromClientId( | |
36 int client_id, | |
37 const gfx::GpuMemoryBufferId& gpu_memory_buffer_id) { | |
38 NOTIMPLEMENTED(); | |
39 return std::unique_ptr<gfx::GpuMemoryBuffer>(); | |
40 } | |
41 | |
42 gfx::GpuMemoryBuffer* | |
43 GpuMemoryBufferManagerMusLocal::GpuMemoryBufferFromClientBuffer( | |
44 ClientBuffer buffer) { | |
45 NOTIMPLEMENTED(); | |
46 return nullptr; | |
47 } | |
48 | |
49 void GpuMemoryBufferManagerMusLocal::SetDestructionSyncToken( | |
50 gfx::GpuMemoryBuffer* buffer, | |
51 const gpu::SyncToken& sync_token) { | |
52 NOTIMPLEMENTED(); | |
53 } | |
54 | |
55 } // namespace mus | |
OLD | NEW |