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

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

Issue 2464123003: Enabling Aura-Mus clients to submit frames to Mus. (Closed)
Patch Set: Rebase, addressing feedback, removing some unneded imports/deps. 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 "services/ui/public/cpp/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 "services/ui/public/cpp/mojo_gpu_memory_buffer.h" 8 #include "ui/aura/mus/mojo_gpu_memory_buffer.h"
9 9
10 namespace ui { 10 namespace aura {
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,
19 gfx::BufferFormat format, 19 gfx::BufferFormat format,
20 gfx::BufferUsage usage, 20 gfx::BufferUsage usage,
(...skipping 15 matching lines...) Expand all
36 ClientBuffer buffer) { 36 ClientBuffer buffer) {
37 return MojoGpuMemoryBufferImpl::FromClientBuffer(buffer); 37 return MojoGpuMemoryBufferImpl::FromClientBuffer(buffer);
38 } 38 }
39 39
40 void MojoGpuMemoryBufferManager::SetDestructionSyncToken( 40 void MojoGpuMemoryBufferManager::SetDestructionSyncToken(
41 gfx::GpuMemoryBuffer* buffer, 41 gfx::GpuMemoryBuffer* buffer,
42 const gpu::SyncToken& sync_token) { 42 const gpu::SyncToken& sync_token) {
43 NOTIMPLEMENTED(); 43 NOTIMPLEMENTED();
44 } 44 }
45 45
46 } // namespace ui 46 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/mus/mojo_gpu_memory_buffer_manager.h ('k') | ui/aura/mus/window_compositor_frame_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698