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

Side by Side Diff: ui/aura/mus/mojo_gpu_memory_buffer_manager.cc

Issue 2383753002: gpu: Add GpuFence framework.
Patch Set: rebase Created 4 years, 1 month 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 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 "ui/aura/mus/mojo_gpu_memory_buffer_manager.h" 5 #include "ui/aura/mus/mojo_gpu_memory_buffer_manager.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "ui/aura/mus/mojo_gpu_memory_buffer.h" 8 #include "ui/aura/mus/mojo_gpu_memory_buffer.h"
9 9
10 namespace aura { 10 namespace aura {
(...skipping 19 matching lines...) Expand all
30 const gfx::BufferUsage usage = gfx::BufferUsage::GPU_READ; 30 const gfx::BufferUsage usage = gfx::BufferUsage::GPU_READ;
31 return MojoGpuMemoryBufferImpl::CreateFromHandle(handle, size, format, usage); 31 return MojoGpuMemoryBufferImpl::CreateFromHandle(handle, size, format, usage);
32 } 32 }
33 33
34 void MojoGpuMemoryBufferManager::SetDestructionSyncToken( 34 void MojoGpuMemoryBufferManager::SetDestructionSyncToken(
35 gfx::GpuMemoryBuffer* buffer, 35 gfx::GpuMemoryBuffer* buffer,
36 const gpu::SyncToken& sync_token) { 36 const gpu::SyncToken& sync_token) {
37 NOTIMPLEMENTED(); 37 NOTIMPLEMENTED();
38 } 38 }
39 39
40 std::unique_ptr<gfx::GpuFence> MojoGpuMemoryBufferManager::CreateGpuFence() {
41 NOTIMPLEMENTED();
42 return nullptr;
43 }
44
45 std::unique_ptr<gfx::GpuFence>
46 MojoGpuMemoryBufferManager::CreateGpuFenceFromHandle(
47 const gfx::GpuFenceHandle& handle) {
48 NOTIMPLEMENTED();
49 return nullptr;
50 }
51
52 gfx::GpuFence* MojoGpuMemoryBufferManager::GpuFenceFromClientFence(
53 ClientFence fence) {
54 NOTIMPLEMENTED();
55 return nullptr;
56 }
57
40 } // namespace aura 58 } // namespace aura
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698