Index: mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart |
index 52493f62be361e2f9cc5da688f07d28f366e86f4..c238b62cfefa0e8c51a94c150ec41a9160fa0968 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/quads.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; |
+ |
import 'package:mojo_services/mojo/geometry.mojom.dart' as geometry_mojom; |
import 'package:mojo_services/mojo/surface_id.mojom.dart' as surface_id_mojom; |
class YuvColorSpace extends bindings.MojoEnum { |
@@ -61,11 +63,28 @@ class YuvColorSpace extends bindings.MojoEnum { |
return 'YuvColorSpace.REC_709'; |
case JPEG: |
return 'YuvColorSpace.JPEG'; |
+ default: |
+ return null; |
} |
} |
int toJson() => value; |
} |
+ |
+mojom_types.MojomEnum _quads_YUVColorSpace__() { |
+ return new mojom_types.MojomEnum() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "YuvColorSpace") |
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "REC_601") |
+ ..enumTypeKey = '_quads_YUVColorSpace__' |
+ ..intValue = 0,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "REC_709") |
+ ..enumTypeKey = '_quads_YUVColorSpace__' |
+ ..intValue = 1,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "JPEG") |
+ ..enumTypeKey = '_quads_YUVColorSpace__' |
+ ..intValue = 2,]; |
+} |
class Material extends bindings.MojoEnum { |
static const CHECKERBOARD = const Material._(1); |
static const DEBUG_BORDER = const Material._(2); |
@@ -173,11 +192,52 @@ class Material extends bindings.MojoEnum { |
return 'Material.TILED_CONTENT'; |
case YUV_VIDEO_CONTENT: |
return 'Material.YUV_VIDEO_CONTENT'; |
+ default: |
+ return null; |
} |
} |
int toJson() => value; |
} |
+ |
+mojom_types.MojomEnum _quads_Material__() { |
+ return new mojom_types.MojomEnum() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "Material") |
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "CHECKERBOARD") |
+ ..enumTypeKey = '_quads_Material__' |
+ ..intValue = 1,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "DEBUG_BORDER") |
+ ..enumTypeKey = '_quads_Material__' |
+ ..intValue = 2,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "IO_SURFACE_CONTENT") |
+ ..enumTypeKey = '_quads_Material__' |
+ ..intValue = 3,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "PICTURE_CONTENT") |
+ ..enumTypeKey = '_quads_Material__' |
+ ..intValue = 4,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "RENDER_PASS") |
+ ..enumTypeKey = '_quads_Material__' |
+ ..intValue = 5,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SOLID_COLOR") |
+ ..enumTypeKey = '_quads_Material__' |
+ ..intValue = 6,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "STREAM_VIDEO_CONTENT") |
+ ..enumTypeKey = '_quads_Material__' |
+ ..intValue = 7,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SURFACE_CONTENT") |
+ ..enumTypeKey = '_quads_Material__' |
+ ..intValue = 8,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "TEXTURE_CONTENT") |
+ ..enumTypeKey = '_quads_Material__' |
+ ..intValue = 9,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "TILED_CONTENT") |
+ ..enumTypeKey = '_quads_Material__' |
+ ..intValue = 10,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "YUV_VIDEO_CONTENT") |
+ ..enumTypeKey = '_quads_Material__' |
+ ..intValue = 11,]; |
+} |
class SkXfermode extends bindings.MojoEnum { |
static const kClear_Mode = const SkXfermode._(0); |
static const kSrc_Mode = const SkXfermode._(1); |
@@ -432,12 +492,116 @@ class SkXfermode extends bindings.MojoEnum { |
return 'SkXfermode.kLuminosity_Mode'; |
case kLastMode: |
return 'SkXfermode.kLastMode'; |
+ default: |
+ return null; |
} |
} |
int toJson() => value; |
} |
+mojom_types.MojomEnum _quads_SkXfermode__() { |
+ return new mojom_types.MojomEnum() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SkXfermode") |
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "CLEAR_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 0,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SRC_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 1,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "DST_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 2,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SRC_OVER_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 3,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "DST_OVER_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 4,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SRC_IN_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 5,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "DST_IN_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 6,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SRC_OUT_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 7,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "DST_OUT_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 8,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SRC_A_TOP_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 9,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "DST_A_TOP_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 10,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "XOR_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 11,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "PLUS_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 12,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "MODULATE_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 13,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SCREEN_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 14,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "LAST_COEFF_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 14,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "OVERLAY_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 15,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "DARKEN_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 16,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "LIGHTEN_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 17,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "COLOR_DODGE_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 18,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "COLOR_BURN_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 19,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "HARD_LIGHT_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 20,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SOFT_LIGHT_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 21,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "DIFFERENCE_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 22,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "EXCLUSION_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 23,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "MULTIPLY_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 24,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "LAST_SEPARABLE_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 24,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "HUE_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 25,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SATURATION_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 26,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "COLOR_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 27,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "LUMINOSITY_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 28,new mojom_types.EnumValue() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "LAST_MODE") |
+ ..enumTypeKey = '_quads_SkXfermode__' |
+ ..intValue = 28,]; |
+} |
+ |
class Color extends bindings.Struct { |
@@ -506,6 +670,16 @@ class Color extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_Color__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Color') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Rgba') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UINT32), |
+ ]; |
+} |
+ |
class CheckerboardQuadState extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -564,6 +738,12 @@ class CheckerboardQuadState extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_CheckerboardQuadState__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'CheckerboardQuadState') |
+ ..fields = <mojom_types.StructField>[]; |
+} |
+ |
class DebugBorderQuadState extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -622,6 +802,12 @@ class DebugBorderQuadState extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_DebugBorderQuadState__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'DebugBorderQuadState') |
+ ..fields = <mojom_types.StructField>[]; |
+} |
+ |
class IoSurfaceContentQuadState extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -680,6 +866,12 @@ class IoSurfaceContentQuadState extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_IoSurfaceContentQuadState__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'IoSurfaceContentQuadState') |
+ ..fields = <mojom_types.StructField>[]; |
+} |
+ |
class RenderPassId extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -756,6 +948,20 @@ class RenderPassId extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_RenderPassId__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'RenderPassId') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'LayerId') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Index') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ ]; |
+} |
+ |
class RenderPassQuadState extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -863,6 +1069,52 @@ class RenderPassQuadState extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_RenderPassQuadState__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'RenderPassQuadState') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'RenderPassId') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_quads_RenderPassId__' |
+ ..typeKey = '_quads_RenderPassId__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaskResourceId') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UINT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaskUvScale') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_PointF__' |
+ ..typeKey = '_geometry_PointF__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaskTextureSize') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Size__' |
+ ..typeKey = '_geometry_Size__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FiltersScale') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_PointF__' |
+ ..typeKey = '_geometry_PointF__' |
+ )), |
+ ]; |
+} |
+ |
class SolidColorQuadState extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -940,6 +1192,25 @@ class SolidColorQuadState extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_SolidColorQuadState__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SolidColorQuadState') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Color') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_quads_Color__' |
+ ..typeKey = '_quads_Color__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ForceAntiAliasingOff') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ ]; |
+} |
+ |
class SurfaceQuadState extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -1008,6 +1279,21 @@ class SurfaceQuadState extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_SurfaceQuadState__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SurfaceQuadState') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Surface') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_surface_id_SurfaceId__' |
+ ..typeKey = '_surface_id_SurfaceId__' |
+ )), |
+ ]; |
+} |
+ |
class TextureQuadState extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -1141,6 +1427,60 @@ class TextureQuadState extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_TextureQuadState__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureQuadState') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ResourceId') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UINT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'PremultipliedAlpha') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'UvTopLeft') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_PointF__' |
+ ..typeKey = '_geometry_PointF__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'UvBottomRight') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_PointF__' |
+ ..typeKey = '_geometry_PointF__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'BackgroundColor') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_quads_Color__' |
+ ..typeKey = '_quads_Color__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'VertexOpacity') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()..fixedLength = 4 |
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.FLOAT))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Flipped') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NearestNeighbor') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ ]; |
+} |
+ |
class TileQuadState extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -1246,6 +1586,42 @@ class TileQuadState extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_TileQuadState__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TileQuadState') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TexCoordRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_RectF__' |
+ ..typeKey = '_geometry_RectF__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureSize') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Size__' |
+ ..typeKey = '_geometry_Size__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SwizzleContents') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ResourceId') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UINT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NearestNeighbor') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ ]; |
+} |
+ |
class StreamVideoQuadState extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -1304,6 +1680,12 @@ class StreamVideoQuadState extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_StreamVideoQuadState__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'StreamVideoQuadState') |
+ ..fields = <mojom_types.StructField>[]; |
+} |
+ |
class YuvVideoQuadState extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -1421,6 +1803,46 @@ class YuvVideoQuadState extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_YUVVideoQuadState__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'YuvVideoQuadState') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TexCoordRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_RectF__' |
+ ..typeKey = '_geometry_RectF__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'YPlaneResourceId') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UINT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'UPlaneResourceId') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UINT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'VPlaneResourceId') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UINT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'APlaneResourceId') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UINT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ColorSpace') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_quads_YUVColorSpace__' |
+ ..typeKey = '_quads_YUVColorSpace__' |
+ )), |
+ ]; |
+} |
+ |
class Quad extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -1640,6 +2062,166 @@ class Quad extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_Quad__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Quad') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Material') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_quads_Material__' |
+ ..typeKey = '_quads_Material__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Rect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Rect__' |
+ ..typeKey = '_geometry_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'OpaqueRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Rect__' |
+ ..typeKey = '_geometry_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'VisibleRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Rect__' |
+ ..typeKey = '_geometry_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NeedsBlending') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SharedQuadStateIndex') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UINT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'CheckerboardQuadState') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_quads_CheckerboardQuadState__' |
+ ..typeKey = '_quads_CheckerboardQuadState__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'DebugBorderQuadState') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_quads_DebugBorderQuadState__' |
+ ..typeKey = '_quads_DebugBorderQuadState__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'IoSurfaceQuadState') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_quads_IoSurfaceContentQuadState__' |
+ ..typeKey = '_quads_IoSurfaceContentQuadState__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'RenderPassQuadState') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_quads_RenderPassQuadState__' |
+ ..typeKey = '_quads_RenderPassQuadState__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SolidColorQuadState') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_quads_SolidColorQuadState__' |
+ ..typeKey = '_quads_SolidColorQuadState__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SurfaceQuadState') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_quads_SurfaceQuadState__' |
+ ..typeKey = '_quads_SurfaceQuadState__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureQuadState') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_quads_TextureQuadState__' |
+ ..typeKey = '_quads_TextureQuadState__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TileQuadState') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_quads_TileQuadState__' |
+ ..typeKey = '_quads_TileQuadState__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'StreamVideoQuadState') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_quads_StreamVideoQuadState__' |
+ ..typeKey = '_quads_StreamVideoQuadState__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'YuvVideoQuadState') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ ..nullable = true |
+ |
+ |
+ ..identifier = '_quads_YUVVideoQuadState__' |
+ ..typeKey = '_quads_YUVVideoQuadState__' |
+ )), |
+ ]; |
+} |
+ |
class SharedQuadState extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -1778,6 +2360,69 @@ class SharedQuadState extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_SharedQuadState__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SharedQuadState') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ContentToTargetTransform') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Transform__' |
+ ..typeKey = '_geometry_Transform__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ContentBounds') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Size__' |
+ ..typeKey = '_geometry_Size__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'VisibleContentRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Rect__' |
+ ..typeKey = '_geometry_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ClipRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Rect__' |
+ ..typeKey = '_geometry_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'IsClipped') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Opacity') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.FLOAT), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'BlendMode') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_quads_SkXfermode__' |
+ ..typeKey = '_quads_SkXfermode__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SortingContextId') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ ]; |
+} |
+ |
class Pass extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -1936,4 +2581,317 @@ class Pass extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _quads_Pass__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Pass') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Id') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'OutputRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Rect__' |
+ ..typeKey = '_geometry_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'DamageRect') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Rect__' |
+ ..typeKey = '_geometry_Rect__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TransformToRootTarget') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Transform__' |
+ ..typeKey = '_geometry_Transform__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'HasTransparentBackground') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BOOL), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Quads') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_quads_Quad__' |
+ ..typeKey = '_quads_Quad__' |
+ )))), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SharedQuadStates') |
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType() |
+ ..elementType = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_quads_SharedQuadState__' |
+ ..typeKey = '_quads_SharedQuadState__' |
+ )))), |
+ ]; |
+} |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+var _MojomDesc__ = _initDescriptions(); |
+ |
+Map<String, mojom_types.UserDefinedType> _initDescriptions() { |
+ var map = new Map<String, mojom_types.UserDefinedType>(); |
+ |
+ map["_quads_YUVColorSpace__"] = |
+ new mojom_types.UserDefinedType() |
+ ..enumType = _quads_YUVColorSpace__(); |
+ |
+ |
+ map["_quads_Material__"] = |
+ new mojom_types.UserDefinedType() |
+ ..enumType = _quads_Material__(); |
+ |
+ |
+ map["_quads_SkXfermode__"] = |
+ new mojom_types.UserDefinedType() |
+ ..enumType = _quads_SkXfermode__(); |
+ |
+ |
+ map["_quads_Color__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_Color__(); |
+ |
+ |
+ |
+ |
+ |
+ map["_quads_CheckerboardQuadState__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_CheckerboardQuadState__(); |
+ |
+ |
+ |
+ map["_quads_DebugBorderQuadState__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_DebugBorderQuadState__(); |
+ |
+ |
+ |
+ map["_quads_IoSurfaceContentQuadState__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_IoSurfaceContentQuadState__(); |
+ |
+ |
+ |
+ map["_quads_RenderPassId__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_RenderPassId__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_quads_RenderPassQuadState__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_RenderPassQuadState__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_quads_SolidColorQuadState__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_SolidColorQuadState__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_quads_SurfaceQuadState__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_SurfaceQuadState__(); |
+ |
+ |
+ |
+ |
+ |
+ map["_quads_TextureQuadState__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_TextureQuadState__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_quads_TileQuadState__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_TileQuadState__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_quads_StreamVideoQuadState__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_StreamVideoQuadState__(); |
+ |
+ |
+ |
+ map["_quads_YUVVideoQuadState__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_YUVVideoQuadState__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_quads_Quad__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_Quad__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_quads_SharedQuadState__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_SharedQuadState__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_quads_Pass__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _quads_Pass__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+geometry_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_types.UserDefinedType udt) { |
+ map[s] = udt; |
+}); |
+surface_id_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_types.UserDefinedType udt) { |
+ map[s] = udt; |
+}); |
+ return map; |
+} |
+ |
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
+ return _MojomDesc__; |
+} |
+ |