OLD | NEW |
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/surfaces/ozone_gpu_memory_buffer_manager.h" | 5 #include "services/ui/surfaces/ozone_gpu_memory_buffer_manager.h" |
6 | 6 |
7 #include "components/mus/gles2/ozone_gpu_memory_buffer.h" | |
8 #include "gpu/command_buffer/common/gpu_memory_buffer_support.h" | 7 #include "gpu/command_buffer/common/gpu_memory_buffer_support.h" |
| 8 #include "services/ui/gles2/ozone_gpu_memory_buffer.h" |
9 #include "ui/gfx/buffer_types.h" | 9 #include "ui/gfx/buffer_types.h" |
10 | 10 |
11 namespace mus { | 11 namespace mus { |
12 | 12 |
13 OzoneGpuMemoryBufferManager::OzoneGpuMemoryBufferManager() {} | 13 OzoneGpuMemoryBufferManager::OzoneGpuMemoryBufferManager() {} |
14 | 14 |
15 OzoneGpuMemoryBufferManager::~OzoneGpuMemoryBufferManager() {} | 15 OzoneGpuMemoryBufferManager::~OzoneGpuMemoryBufferManager() {} |
16 | 16 |
17 std::unique_ptr<gfx::GpuMemoryBuffer> | 17 std::unique_ptr<gfx::GpuMemoryBuffer> |
18 OzoneGpuMemoryBufferManager::AllocateGpuMemoryBuffer( | 18 OzoneGpuMemoryBufferManager::AllocateGpuMemoryBuffer( |
(...skipping 21 matching lines...) Expand all Loading... |
40 return nullptr; | 40 return nullptr; |
41 } | 41 } |
42 | 42 |
43 void OzoneGpuMemoryBufferManager::SetDestructionSyncToken( | 43 void OzoneGpuMemoryBufferManager::SetDestructionSyncToken( |
44 gfx::GpuMemoryBuffer* buffer, | 44 gfx::GpuMemoryBuffer* buffer, |
45 const gpu::SyncToken& sync_token) { | 45 const gpu::SyncToken& sync_token) { |
46 NOTIMPLEMENTED(); | 46 NOTIMPLEMENTED(); |
47 } | 47 } |
48 | 48 |
49 } // namespace mus | 49 } // namespace mus |
OLD | NEW |