| Index: mojo/dart/packages/mojo_services/lib/mojo/gpu.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/gpu.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/gpu.mojom.dart
|
| index ac2dd992fd90280a6a1569cdee5e8c6613521fd1..b6c96cb4087b11ab81a204c096edbf0152ebf191 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/gpu.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/gpu.mojom.dart
|
| @@ -8,6 +8,8 @@ import 'dart:async';
|
|
|
| import 'package:mojo/bindings.dart' as bindings;
|
| import 'package:mojo/core.dart' as core;
|
| +import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types;
|
| +import 'package:mojo/mojo/bindings/types/service_describer.mojom.dart' as service_describer;
|
| import 'package:mojo_services/mojo/command_buffer.mojom.dart' as command_buffer_mojom;
|
|
|
|
|
| @@ -77,8 +79,22 @@ class _GpuCreateOffscreenGles2ContextParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _Gpu_createOffscreenGles2ContextName = 0;
|
|
|
| +
|
| +
|
| +class _GpuServiceDescription implements service_describer.ServiceDescription {
|
| +dynamic getTopLevelInterface([Function responseFactory = null]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) =>
|
| + null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory = null]) => null;
|
| +}
|
| +
|
| abstract class Gpu {
|
| static const String serviceName = "mojo::Gpu";
|
| void createOffscreenGles2Context(Object gles2Client);
|
| @@ -100,6 +116,9 @@ class _GpuProxyImpl extends bindings.Proxy {
|
| return new _GpuProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _GpuServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -243,6 +262,11 @@ class GpuStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _GpuServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|