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 "components/mus/gles2/mojo_gpu_memory_buffer_manager.h" | 5 #include "components/mus/gles2/mojo_gpu_memory_buffer_manager.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "components/mus/gles2/mojo_gpu_memory_buffer.h" | 8 #include "components/mus/gles2/mojo_gpu_memory_buffer.h" |
9 | 9 |
10 namespace mus { | 10 namespace mus { |
(...skipping 17 matching lines...) Expand all Loading... |
28 NOTIMPLEMENTED(); | 28 NOTIMPLEMENTED(); |
29 return nullptr; | 29 return nullptr; |
30 } | 30 } |
31 | 31 |
32 gfx::GpuMemoryBuffer* | 32 gfx::GpuMemoryBuffer* |
33 MojoGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer( | 33 MojoGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer( |
34 ClientBuffer buffer) { | 34 ClientBuffer buffer) { |
35 return MojoGpuMemoryBufferImpl::FromClientBuffer(buffer); | 35 return MojoGpuMemoryBufferImpl::FromClientBuffer(buffer); |
36 } | 36 } |
37 | 37 |
38 void MojoGpuMemoryBufferManager::SetDestructionSyncPoint( | 38 void MojoGpuMemoryBufferManager::SetDestructionSyncToken( |
39 gfx::GpuMemoryBuffer* buffer, | 39 gfx::GpuMemoryBuffer* buffer, |
40 uint32 sync_point) { | 40 const gpu::SyncToken& sync_token) { |
41 NOTIMPLEMENTED(); | 41 NOTIMPLEMENTED(); |
42 } | 42 } |
43 | 43 |
44 } // namespace mus | 44 } // namespace mus |
OLD | NEW |