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

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

Issue 2087673002: Remove CreateGpuMemoryBufferFromClientId and plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
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
44 gfx::GpuMemoryBuffer* 36 gfx::GpuMemoryBuffer*
45 OzoneGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer( 37 OzoneGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer(
46 ClientBuffer buffer) { 38 ClientBuffer buffer) {
47 NOTIMPLEMENTED(); 39 NOTIMPLEMENTED();
48 return nullptr; 40 return nullptr;
49 } 41 }
50 42
51 void OzoneGpuMemoryBufferManager::SetDestructionSyncToken( 43 void OzoneGpuMemoryBufferManager::SetDestructionSyncToken(
52 gfx::GpuMemoryBuffer* buffer, 44 gfx::GpuMemoryBuffer* buffer,
53 const gpu::SyncToken& sync_token) { 45 const gpu::SyncToken& sync_token) {
54 NOTIMPLEMENTED(); 46 NOTIMPLEMENTED();
55 } 47 }
56 48
57 } // namespace mus 49 } // 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