| Index: services/ui/gpu/interfaces/gpu_service_internal.mojom
|
| diff --git a/services/ui/gpu/interfaces/gpu_service_internal.mojom b/services/ui/gpu/interfaces/gpu_service_internal.mojom
|
| index cafde2a42c89650abb759944299bcf2d3f6c612a..18474844f0bb5a4b94b9e77e8800d7fb3541dee8 100644
|
| --- a/services/ui/gpu/interfaces/gpu_service_internal.mojom
|
| +++ b/services/ui/gpu/interfaces/gpu_service_internal.mojom
|
| @@ -5,6 +5,8 @@
|
| module ui.mojom;
|
|
|
| import "gpu/ipc/common/gpu_info.mojom";
|
| +import "gpu/ipc/common/surface_handle.mojom";
|
| +import "gpu/ipc/common/sync_token.mojom";
|
| import "ui/gfx/geometry/mojo/geometry.mojom";
|
| import "ui/gfx/mojo/buffer_types.mojom";
|
|
|
| @@ -17,4 +19,17 @@ interface GpuServiceInternal {
|
| uint64 client_tracing_id,
|
| bool is_gpu_host)
|
| => (handle<message_pipe> channel_handle);
|
| +
|
| + [Sync]
|
| + CreateGpuMemoryBuffer(gfx.mojom.GpuMemoryBufferId id,
|
| + gfx.mojom.Size size,
|
| + gfx.mojom.BufferFormat format,
|
| + gfx.mojom.BufferUsage usage,
|
| + int32 client_id,
|
| + gpu.mojom.SurfaceHandle surface_handle)
|
| + => (gfx.mojom.GpuMemoryBufferHandle buffer_handle);
|
| +
|
| + DestroyGpuMemoryBuffer(gfx.mojom.GpuMemoryBufferId id,
|
| + int32 client_id,
|
| + gpu.mojom.SyncToken sync_token);
|
| };
|
|
|