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

Side by Side Diff: components/mus/surfaces/ozone_gpu_memory_buffer_manager.cc

Issue 1975023002: Add GpuMemoryBuffer CreateFromClientId interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Just the interface Created 4 years, 7 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/surfaces/ozone_gpu_memory_buffer_manager.h" 5 #include "components/mus/surfaces/ozone_gpu_memory_buffer_manager.h"
6 6
7 #include "components/mus/gles2/ozone_gpu_memory_buffer.h" 7 #include "components/mus/gles2/ozone_gpu_memory_buffer.h"
8 #include "gpu/command_buffer/common/gpu_memory_buffer_support.h" 8 #include "gpu/command_buffer/common/gpu_memory_buffer_support.h"
9 #include "ui/gfx/buffer_types.h" 9 #include "ui/gfx/buffer_types.h"
10 10
(...skipping 15 matching lines...) Expand all
26 26
27 std::unique_ptr<gfx::GpuMemoryBuffer> 27 std::unique_ptr<gfx::GpuMemoryBuffer>
28 OzoneGpuMemoryBufferManager::CreateGpuMemoryBufferFromHandle( 28 OzoneGpuMemoryBufferManager::CreateGpuMemoryBufferFromHandle(
29 const gfx::GpuMemoryBufferHandle& handle, 29 const gfx::GpuMemoryBufferHandle& handle,
30 const gfx::Size& size, 30 const gfx::Size& size,
31 gfx::BufferFormat format) { 31 gfx::BufferFormat format) {
32 NOTIMPLEMENTED(); 32 NOTIMPLEMENTED();
33 return nullptr; 33 return nullptr;
34 } 34 }
35 35
36 std::unique_ptr<gfx::GpuMemoryBuffer>
37 OzoneGpuMemoryBufferManager::CreateGpuMemoryBufferFromClientId(
38 int client_id,
39 const gfx::GpuMemoryBufferId& gpu_memory_buffer_id) {
40 NOTIMPLEMENTED();
41 return nullptr;
42 }
43
36 gfx::GpuMemoryBuffer* 44 gfx::GpuMemoryBuffer*
37 OzoneGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer( 45 OzoneGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer(
38 ClientBuffer buffer) { 46 ClientBuffer buffer) {
39 NOTIMPLEMENTED(); 47 NOTIMPLEMENTED();
40 return nullptr; 48 return nullptr;
41 } 49 }
42 50
43 void OzoneGpuMemoryBufferManager::SetDestructionSyncToken( 51 void OzoneGpuMemoryBufferManager::SetDestructionSyncToken(
44 gfx::GpuMemoryBuffer* buffer, 52 gfx::GpuMemoryBuffer* buffer,
45 const gpu::SyncToken& sync_token) { 53 const gpu::SyncToken& sync_token) {
46 NOTIMPLEMENTED(); 54 NOTIMPLEMENTED();
47 } 55 }
48 56
49 } // namespace mus 57 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/surfaces/ozone_gpu_memory_buffer_manager.h ('k') | content/browser/gpu/browser_gpu_memory_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698