OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "services/ui/public/cpp/mojo_gpu_memory_buffer_manager.h" | 5 #include "services/ui/public/cpp/mojo_gpu_memory_buffer_manager.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
10 #include "base/memory/shared_memory.h" | 10 #include "base/memory/shared_memory.h" |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 return nullptr; | 126 return nullptr; |
127 } | 127 } |
128 | 128 |
129 void MojoGpuMemoryBufferManager::SetDestructionSyncToken( | 129 void MojoGpuMemoryBufferManager::SetDestructionSyncToken( |
130 gfx::GpuMemoryBuffer* buffer, | 130 gfx::GpuMemoryBuffer* buffer, |
131 const gpu::SyncToken& sync_token) { | 131 const gpu::SyncToken& sync_token) { |
132 static_cast<gpu::GpuMemoryBufferImpl*>(buffer)->set_destruction_sync_token( | 132 static_cast<gpu::GpuMemoryBufferImpl*>(buffer)->set_destruction_sync_token( |
133 sync_token); | 133 sync_token); |
134 } | 134 } |
135 | 135 |
| 136 std::unique_ptr<gfx::GpuFence> MojoGpuMemoryBufferManager::CreateGpuFence() { |
| 137 NOTIMPLEMENTED(); |
| 138 return nullptr; |
| 139 } |
| 140 |
| 141 std::unique_ptr<gfx::GpuFence> |
| 142 MojoGpuMemoryBufferManager::CreateGpuFenceFromHandle( |
| 143 const gfx::GpuFenceHandle& handle) { |
| 144 NOTIMPLEMENTED(); |
| 145 return nullptr; |
| 146 } |
| 147 |
| 148 gfx::GpuFence* MojoGpuMemoryBufferManager::GpuFenceFromClientFence( |
| 149 ClientFence fence) { |
| 150 NOTIMPLEMENTED(); |
| 151 return nullptr; |
| 152 } |
| 153 |
136 } // namespace ui | 154 } // namespace ui |
OLD | NEW |