Index: mojo/dart/packages/mojo_services/lib/mojo/command_buffer.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/command_buffer.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/command_buffer.mojom.dart |
index 6c68efc36644758b94457d45dd93c2e8a49b1528..6c34c7e3adbfd47e01ea139056a29d6a588e6fd3 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/command_buffer.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/command_buffer.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/gpu_capabilities.mojom.dart' as gpu_capabilities_mojom; |
@@ -133,6 +135,8 @@ class CommandBufferState extends bindings.Struct { |
} |
+ |
+ |
class _CommandBufferSyncClientDidInitializeParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(24, 0) |
@@ -210,6 +214,8 @@ class _CommandBufferSyncClientDidInitializeParams extends bindings.Struct { |
} |
+ |
+ |
class _CommandBufferSyncClientDidMakeProgressParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -278,6 +284,8 @@ class _CommandBufferSyncClientDidMakeProgressParams extends bindings.Struct { |
} |
+ |
+ |
class _CommandBufferSyncPointClientDidInsertSyncPointParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -345,6 +353,8 @@ class _CommandBufferSyncPointClientDidInsertSyncPointParams extends bindings.Str |
} |
+ |
+ |
class _CommandBufferLostContextObserverDidLoseContextParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -412,6 +422,8 @@ class _CommandBufferLostContextObserverDidLoseContextParams extends bindings.Str |
} |
+ |
+ |
class _CommandBufferInitializeParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(40, 0) |
@@ -502,6 +514,8 @@ class _CommandBufferInitializeParams extends bindings.Struct { |
} |
+ |
+ |
class _CommandBufferSetGetBufferParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -569,6 +583,8 @@ class _CommandBufferSetGetBufferParams extends bindings.Struct { |
} |
+ |
+ |
class _CommandBufferFlushParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -636,6 +652,8 @@ class _CommandBufferFlushParams extends bindings.Struct { |
} |
+ |
+ |
class _CommandBufferMakeProgressParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -703,6 +721,8 @@ class _CommandBufferMakeProgressParams extends bindings.Struct { |
} |
+ |
+ |
class _CommandBufferRegisterTransferBufferParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(24, 0) |
@@ -785,6 +805,8 @@ class _CommandBufferRegisterTransferBufferParams extends bindings.Struct { |
} |
+ |
+ |
class _CommandBufferDestroyTransferBufferParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -852,6 +874,8 @@ class _CommandBufferDestroyTransferBufferParams extends bindings.Struct { |
} |
+ |
+ |
class _CommandBufferInsertSyncPointParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -919,6 +943,8 @@ class _CommandBufferInsertSyncPointParams extends bindings.Struct { |
} |
+ |
+ |
class _CommandBufferRetireSyncPointParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -986,6 +1012,8 @@ class _CommandBufferRetireSyncPointParams extends bindings.Struct { |
} |
+ |
+ |
class _CommandBufferEchoParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -1044,6 +1072,8 @@ class _CommandBufferEchoParams extends bindings.Struct { |
} |
+ |
+ |
class CommandBufferEchoResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -1101,9 +1131,22 @@ class CommandBufferEchoResponseParams extends bindings.Struct { |
} |
} |
+ |
+ |
+ |
const int _CommandBufferSyncClient_didInitializeName = 0; |
const int _CommandBufferSyncClient_didMakeProgressName = 1; |
+ |
+ |
+class _CommandBufferSyncClientServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class CommandBufferSyncClient { |
static const String serviceName = null; |
void didInitialize(bool success, gpu_capabilities_mojom.GpuCapabilities capabilities); |
@@ -1126,6 +1169,9 @@ class _CommandBufferSyncClientProxyImpl extends bindings.Proxy { |
return new _CommandBufferSyncClientProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CommandBufferSyncClientServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
default: |
@@ -1284,10 +1330,23 @@ class CommandBufferSyncClientStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CommandBufferSyncClientServiceDescription(); |
} |
const int _CommandBufferSyncPointClient_didInsertSyncPointName = 0; |
+ |
+ |
+class _CommandBufferSyncPointClientServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class CommandBufferSyncPointClient { |
static const String serviceName = null; |
void didInsertSyncPoint(int syncPoint); |
@@ -1309,6 +1368,9 @@ class _CommandBufferSyncPointClientProxyImpl extends bindings.Proxy { |
return new _CommandBufferSyncPointClientProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CommandBufferSyncPointClientServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
default: |
@@ -1452,10 +1514,23 @@ class CommandBufferSyncPointClientStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CommandBufferSyncPointClientServiceDescription(); |
} |
const int _CommandBufferLostContextObserver_didLoseContextName = 0; |
+ |
+ |
+class _CommandBufferLostContextObserverServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class CommandBufferLostContextObserver { |
static const String serviceName = null; |
void didLoseContext(int contextLostReason); |
@@ -1477,6 +1552,9 @@ class _CommandBufferLostContextObserverProxyImpl extends bindings.Proxy { |
return new _CommandBufferLostContextObserverProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CommandBufferLostContextObserverServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
default: |
@@ -1620,6 +1698,9 @@ class CommandBufferLostContextObserverStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CommandBufferLostContextObserverServiceDescription(); |
} |
const int _CommandBuffer_initializeName = 0; |
@@ -1632,6 +1713,16 @@ const int _CommandBuffer_insertSyncPointName = 6; |
const int _CommandBuffer_retireSyncPointName = 7; |
const int _CommandBuffer_echoName = 8; |
+ |
+ |
+class _CommandBufferServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class CommandBuffer { |
static const String serviceName = null; |
void initialize(Object syncClient, Object syncPointClient, Object lostObserver, core.MojoSharedBuffer sharedState); |
@@ -1661,6 +1752,9 @@ class _CommandBufferProxyImpl extends bindings.Proxy { |
return new _CommandBufferProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CommandBufferServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case _CommandBuffer_echoName: |
@@ -1961,6 +2055,10 @@ class CommandBufferStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _CommandBufferServiceDescription(); |
} |
+ |