Index: mojo/dart/packages/mojo_services/lib/mojo/gpu_capabilities.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/gpu_capabilities.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/gpu_capabilities.mojom.dart |
index c9c57fcd5b026e50c8142ddbe84fa5cd46c4684d..1be54473b73803354131d0f1c9c308f87b4dd3ad 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/gpu_capabilities.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/gpu_capabilities.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/mojom_types.mojom.dart' as mojom_types; |
+ |
@@ -95,6 +97,24 @@ class GpuShaderPrecision extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _gpu_capabilities_GpuShaderPrecision__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'GpuShaderPrecision') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MinRange') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxRange') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Precision') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ ]; |
+} |
+ |
class GpuPerStagePrecisions extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -213,6 +233,66 @@ class GpuPerStagePrecisions extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _gpu_capabilities_GpuPerStagePrecisions__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'GpuPerStagePrecisions') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'LowInt') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_gpu_capabilities_GpuShaderPrecision__' |
+ ..typeKey = '_gpu_capabilities_GpuShaderPrecision__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MediumInt') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_gpu_capabilities_GpuShaderPrecision__' |
+ ..typeKey = '_gpu_capabilities_GpuShaderPrecision__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'HighInt') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_gpu_capabilities_GpuShaderPrecision__' |
+ ..typeKey = '_gpu_capabilities_GpuShaderPrecision__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'LowFloat') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_gpu_capabilities_GpuShaderPrecision__' |
+ ..typeKey = '_gpu_capabilities_GpuShaderPrecision__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MediumFloat') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_gpu_capabilities_GpuShaderPrecision__' |
+ ..typeKey = '_gpu_capabilities_GpuShaderPrecision__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'HighFloat') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_gpu_capabilities_GpuShaderPrecision__' |
+ ..typeKey = '_gpu_capabilities_GpuShaderPrecision__' |
+ )), |
+ ]; |
+} |
+ |
class GpuCapabilities extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -543,4 +623,255 @@ class GpuCapabilities extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _gpu_capabilities_GpuCapabilities__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'GpuCapabilities') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'VertexShaderPrecisions') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_gpu_capabilities_GpuPerStagePrecisions__' |
+ ..typeKey = '_gpu_capabilities_GpuPerStagePrecisions__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FragmentShaderPrecisions') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_gpu_capabilities_GpuPerStagePrecisions__' |
+ ..typeKey = '_gpu_capabilities_GpuPerStagePrecisions__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxCombinedTextureImageUnits') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxCubeMapTextureSize') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxFragmentUniformVectors') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxRenderbufferSize') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxTextureImageUnits') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxTextureSize') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxVaryingVectors') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxVertexAttribs') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxVertexTextureImageUnits') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxVertexUniformVectors') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NumCompressedTextureFormats') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NumShaderBinaryFormats') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'BindGeneratesResourceChromium') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'PostSubBuffer') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'EglImageExternal') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureFormatBgra8888') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureFormatEtc1') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureFormatEtc1Npot') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureRectangle') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Iosurface') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureUsage') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureStorage') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'DiscardFramebuffer') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SyncQuery') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Image') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FutureSyncPoints') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'BlendEquationAdvanced') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'BlendEquationAdvancedCoherent') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ ]; |
+} |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+var _MojomDesc__ = _initDescriptions(); |
+ |
+Map<String, mojom_types.UserDefinedType> _initDescriptions() { |
+ var map = new Map<String, mojom_types.UserDefinedType>(); |
+ |
+ map["_gpu_capabilities_GpuShaderPrecision__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _gpu_capabilities_GpuShaderPrecision__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_gpu_capabilities_GpuPerStagePrecisions__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _gpu_capabilities_GpuPerStagePrecisions__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_gpu_capabilities_GpuCapabilities__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _gpu_capabilities_GpuCapabilities__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ return map; |
+} |
+ |
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
+ return _MojomDesc__; |
+} |
+ |