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

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

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.h
diff --git a/services/ui/ws/gpu_service_proxy.h b/services/ui/ws/gpu_service_proxy.h
index 9a9a009873a01fde91e5e1895d04b2dc5abd4b50..91b027b95863014584e49cfecf7f2a1dff1c114f 100644
--- a/services/ui/ws/gpu_service_proxy.h
+++ b/services/ui/ws/gpu_service_proxy.h
@@ -51,14 +51,14 @@ class GpuServiceProxy : public mojom::GpuService,
void EstablishGpuChannel(
const EstablishGpuChannelCallback& callback) override;
void CreateGpuMemoryBuffer(
- mojom::GpuMemoryBufferIdPtr id,
+ const gfx::GpuMemoryBufferId& id,
const gfx::Size& size,
gfx::BufferFormat format,
gfx::BufferUsage usage,
uint64_t surface_id,
const mojom::GpuService::CreateGpuMemoryBufferCallback& callback)
override;
- void DestroyGpuMemoryBuffer(mojom::GpuMemoryBufferIdPtr id,
+ void DestroyGpuMemoryBuffer(const gfx::GpuMemoryBufferId& id,
const gpu::SyncToken& sync_token) override;
// gpu::GpuChannelHostFactory overrides:

Powered by Google App Engine
This is Rietveld 408576698