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

Unified Diff: ui/aura/mus/mojo_gpu_memory_buffer_manager.cc

Issue 2487783003: gpu: Directly cast ClientBuffer to gfx::GpuMemoryBuffer (Closed)
Patch Set: . 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/mus/mojo_gpu_memory_buffer_manager.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/mojo_gpu_memory_buffer_manager.cc
diff --git a/ui/aura/mus/mojo_gpu_memory_buffer_manager.cc b/ui/aura/mus/mojo_gpu_memory_buffer_manager.cc
index 313d4d638b7e2c57e58f83b4afa91a2ac0954db6..ff5a7c7d305b0c95f84aab8e2d0b0303d29f1e2d 100644
--- a/ui/aura/mus/mojo_gpu_memory_buffer_manager.cc
+++ b/ui/aura/mus/mojo_gpu_memory_buffer_manager.cc
@@ -31,12 +31,6 @@ MojoGpuMemoryBufferManager::CreateGpuMemoryBufferFromHandle(
return MojoGpuMemoryBufferImpl::CreateFromHandle(handle, size, format, usage);
}
-gfx::GpuMemoryBuffer*
-MojoGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer(
- ClientBuffer buffer) {
- return MojoGpuMemoryBufferImpl::FromClientBuffer(buffer);
-}
-
void MojoGpuMemoryBufferManager::SetDestructionSyncToken(
gfx::GpuMemoryBuffer* buffer,
const gpu::SyncToken& sync_token) {
« no previous file with comments | « ui/aura/mus/mojo_gpu_memory_buffer_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698