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 54bbd9f66bbdef0cc613faca23afc6b97193eb79..aebd04a9d83ff15530696ee074694673883cea49 100644 |
--- a/services/ui/public/interfaces/gpu_service.mojom |
+++ b/services/ui/public/interfaces/gpu_service.mojom |
@@ -9,6 +9,7 @@ import "gpu/ipc/common/sync_token.mojom"; |
import "services/ui/public/interfaces/channel_handle.mojom"; |
import "services/ui/public/interfaces/gpu_memory_buffer.mojom"; |
import "ui/gfx/geometry/mojo/geometry.mojom"; |
+import "ui/gfx/mojo/buffer_types.mojom"; |
interface GpuService { |
// Tells the GPU service to create a new channel for communication with a |
@@ -22,8 +23,8 @@ interface GpuService { |
// Tells the GPU service to create a new GPU memory buffer. |
CreateGpuMemoryBuffer(GpuMemoryBufferId id, |
gfx.mojom.Size size, |
- BufferFormat format, |
- BufferUsage usage, |
+ gfx.mojom.BufferFormat format, |
+ gfx.mojom.BufferUsage usage, |
uint64 surface_id) |
=> (GpuMemoryBufferHandle buffer_handle); |