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

Unified Diff: services/ui/public/interfaces/gpu_service.mojom

Issue 2448983003: gpu: Refactor memory buffer handling code out of content.
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 | « services/ui/public/cpp/mojo_gpu_memory_buffer_manager.cc ('k') | services/ui/ws/gpu_service_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/gpu_service.mojom
diff --git a/services/ui/public/interfaces/gpu_service.mojom b/services/ui/public/interfaces/gpu_service.mojom
index feaeeb7c37971682581c74a1566d31f2b6647b08..b3c0fe726006fcc0fccfda322daa7c75a46447b8 100644
--- a/services/ui/public/interfaces/gpu_service.mojom
+++ b/services/ui/public/interfaces/gpu_service.mojom
@@ -20,11 +20,11 @@ interface GpuService {
gpu.mojom.GpuInfo gpu_info);
// Tells the GPU service to create a new GPU memory buffer.
+ [Sync]
CreateGpuMemoryBuffer(gfx.mojom.GpuMemoryBufferId id,
gfx.mojom.Size size,
gfx.mojom.BufferFormat format,
- gfx.mojom.BufferUsage usage,
- uint64 surface_id)
+ gfx.mojom.BufferUsage usage)
=> (gfx.mojom.GpuMemoryBufferHandle buffer_handle);
// Tells the GPU process to destroy GPU memory buffer.
« no previous file with comments | « services/ui/public/cpp/mojo_gpu_memory_buffer_manager.cc ('k') | services/ui/ws/gpu_service_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698