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

Side by Side Diff: components/mus/common/mojo_gpu_memory_buffer_manager.cc

Issue 2020293003: Use mus::MojoGpuMemoryBufferManager in mus::GpuService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 6 months 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
« no previous file with comments | « components/mus/common/mojo_gpu_memory_buffer_manager.h ('k') | components/mus/gles2/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "components/mus/gles2/mojo_gpu_memory_buffer_manager.h" 5 #include "components/mus/common/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/common/mojo_gpu_memory_buffer.h"
9 9
10 namespace mus { 10 namespace mus {
11 11
12 MojoGpuMemoryBufferManager::MojoGpuMemoryBufferManager() {} 12 MojoGpuMemoryBufferManager::MojoGpuMemoryBufferManager() {}
13 13
14 MojoGpuMemoryBufferManager::~MojoGpuMemoryBufferManager() {} 14 MojoGpuMemoryBufferManager::~MojoGpuMemoryBufferManager() {}
15 15
16 std::unique_ptr<gfx::GpuMemoryBuffer> 16 std::unique_ptr<gfx::GpuMemoryBuffer>
17 MojoGpuMemoryBufferManager::AllocateGpuMemoryBuffer( 17 MojoGpuMemoryBufferManager::AllocateGpuMemoryBuffer(
18 const gfx::Size& size, 18 const gfx::Size& size,
(...skipping 26 matching lines...) Expand all
45 return MojoGpuMemoryBufferImpl::FromClientBuffer(buffer); 45 return MojoGpuMemoryBufferImpl::FromClientBuffer(buffer);
46 } 46 }
47 47
48 void MojoGpuMemoryBufferManager::SetDestructionSyncToken( 48 void MojoGpuMemoryBufferManager::SetDestructionSyncToken(
49 gfx::GpuMemoryBuffer* buffer, 49 gfx::GpuMemoryBuffer* buffer,
50 const gpu::SyncToken& sync_token) { 50 const gpu::SyncToken& sync_token) {
51 NOTIMPLEMENTED(); 51 NOTIMPLEMENTED();
52 } 52 }
53 53
54 } // namespace mus 54 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/common/mojo_gpu_memory_buffer_manager.h ('k') | components/mus/gles2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698