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..2e3e250a4f226e6882cc46d947642da206206921 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,21 @@ class _GpuCreateOffscreenGles2ContextParams extends bindings.Struct { |
} |
} |
+ |
+ |
+ |
const int _Gpu_createOffscreenGles2ContextName = 0; |
+ |
+ |
+class _GpuServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class Gpu { |
static const String serviceName = "mojo::Gpu"; |
void createOffscreenGles2Context(Object gles2Client); |
@@ -100,6 +115,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 +261,10 @@ class GpuStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _GpuServiceDescription(); |
} |
+ |