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

Unified Diff: services/ui/ws/gpu_service_proxy.cc

Issue 2295923002: gfx: Struct traits for GpuMemoryBufferId and GpuMemoryBufferType. (Closed)
Patch Set: . Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: services/ui/ws/gpu_service_proxy.cc
diff --git a/services/ui/ws/gpu_service_proxy.cc b/services/ui/ws/gpu_service_proxy.cc
index 7decbc3bb24d398236685c78a9fe6510ea6e72d1..760bdef102972ef772931aeda99d724e9646ed6b 100644
--- a/services/ui/ws/gpu_service_proxy.cc
+++ b/services/ui/ws/gpu_service_proxy.cc
@@ -93,7 +93,7 @@ void GpuServiceProxy::EstablishGpuChannel(
}
void GpuServiceProxy::CreateGpuMemoryBuffer(
- mojom::GpuMemoryBufferIdPtr id,
+ const gfx::GpuMemoryBufferId& id,
const gfx::Size& size,
gfx::BufferFormat format,
gfx::BufferUsage usage,
@@ -102,7 +102,7 @@ void GpuServiceProxy::CreateGpuMemoryBuffer(
NOTIMPLEMENTED();
}
-void GpuServiceProxy::DestroyGpuMemoryBuffer(mojom::GpuMemoryBufferIdPtr id,
+void GpuServiceProxy::DestroyGpuMemoryBuffer(const gfx::GpuMemoryBufferId& id,
const gpu::SyncToken& sync_token) {
NOTIMPLEMENTED();
}

Powered by Google App Engine
This is Rietveld 408576698