OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 library quads_mojom; | 5 library quads_mojom; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:mojo/bindings.dart' as bindings; | 9 import 'package:mojo/bindings.dart' as bindings; |
10 import 'package:mojo/core.dart' as core; | 10 import 'package:mojo/core.dart' as core; |
| 11 import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types; |
| 12 |
11 import 'package:mojo_services/mojo/geometry.mojom.dart' as geometry_mojom; | 13 import 'package:mojo_services/mojo/geometry.mojom.dart' as geometry_mojom; |
12 import 'package:mojo_services/mojo/surface_id.mojom.dart' as surface_id_mojom; | 14 import 'package:mojo_services/mojo/surface_id.mojom.dart' as surface_id_mojom; |
13 | 15 |
14 class YuvColorSpace extends bindings.MojoEnum { | 16 class YuvColorSpace extends bindings.MojoEnum { |
15 static const YuvColorSpace rec601 = const YuvColorSpace._(0); | 17 static const YuvColorSpace rec601 = const YuvColorSpace._(0); |
16 static const YuvColorSpace rec709 = const YuvColorSpace._(1); | 18 static const YuvColorSpace rec709 = const YuvColorSpace._(1); |
17 static const YuvColorSpace jpeg = const YuvColorSpace._(2); | 19 static const YuvColorSpace jpeg = const YuvColorSpace._(2); |
18 | 20 |
19 const YuvColorSpace._(int v) : super(v); | 21 const YuvColorSpace._(int v) : super(v); |
20 | 22 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 } | 57 } |
56 | 58 |
57 String toString() { | 59 String toString() { |
58 switch(this) { | 60 switch(this) { |
59 case rec601: | 61 case rec601: |
60 return 'YuvColorSpace.rec601'; | 62 return 'YuvColorSpace.rec601'; |
61 case rec709: | 63 case rec709: |
62 return 'YuvColorSpace.rec709'; | 64 return 'YuvColorSpace.rec709'; |
63 case jpeg: | 65 case jpeg: |
64 return 'YuvColorSpace.jpeg'; | 66 return 'YuvColorSpace.jpeg'; |
| 67 default: |
| 68 return null; |
65 } | 69 } |
66 } | 70 } |
67 | 71 |
68 int toJson() => mojoEnumValue; | 72 int toJson() => mojoEnumValue; |
69 } | 73 } |
70 | 74 |
| 75 |
| 76 |
71 class Material extends bindings.MojoEnum { | 77 class Material extends bindings.MojoEnum { |
72 static const Material checkerboard = const Material._(1); | 78 static const Material checkerboard = const Material._(1); |
73 static const Material debugBorder = const Material._(2); | 79 static const Material debugBorder = const Material._(2); |
74 static const Material ioSurfaceContent = const Material._(3); | 80 static const Material ioSurfaceContent = const Material._(3); |
75 static const Material pictureContent = const Material._(4); | 81 static const Material pictureContent = const Material._(4); |
76 static const Material renderPass = const Material._(5); | 82 static const Material renderPass = const Material._(5); |
77 static const Material solidColor = const Material._(6); | 83 static const Material solidColor = const Material._(6); |
78 static const Material streamVideoContent = const Material._(7); | 84 static const Material streamVideoContent = const Material._(7); |
79 static const Material surfaceContent = const Material._(8); | 85 static const Material surfaceContent = const Material._(8); |
80 static const Material textureContent = const Material._(9); | 86 static const Material textureContent = const Material._(9); |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 case streamVideoContent: | 174 case streamVideoContent: |
169 return 'Material.streamVideoContent'; | 175 return 'Material.streamVideoContent'; |
170 case surfaceContent: | 176 case surfaceContent: |
171 return 'Material.surfaceContent'; | 177 return 'Material.surfaceContent'; |
172 case textureContent: | 178 case textureContent: |
173 return 'Material.textureContent'; | 179 return 'Material.textureContent'; |
174 case tiledContent: | 180 case tiledContent: |
175 return 'Material.tiledContent'; | 181 return 'Material.tiledContent'; |
176 case yuvVideoContent: | 182 case yuvVideoContent: |
177 return 'Material.yuvVideoContent'; | 183 return 'Material.yuvVideoContent'; |
| 184 default: |
| 185 return null; |
178 } | 186 } |
179 } | 187 } |
180 | 188 |
181 int toJson() => mojoEnumValue; | 189 int toJson() => mojoEnumValue; |
182 } | 190 } |
183 | 191 |
| 192 |
| 193 |
184 class SkXfermode extends bindings.MojoEnum { | 194 class SkXfermode extends bindings.MojoEnum { |
185 static const SkXfermode kClearMode = const SkXfermode._(0); | 195 static const SkXfermode kClearMode = const SkXfermode._(0); |
186 static const SkXfermode kSrcMode = const SkXfermode._(1); | 196 static const SkXfermode kSrcMode = const SkXfermode._(1); |
187 static const SkXfermode kDstMode = const SkXfermode._(2); | 197 static const SkXfermode kDstMode = const SkXfermode._(2); |
188 static const SkXfermode kSrcOverMode = const SkXfermode._(3); | 198 static const SkXfermode kSrcOverMode = const SkXfermode._(3); |
189 static const SkXfermode kDstOverMode = const SkXfermode._(4); | 199 static const SkXfermode kDstOverMode = const SkXfermode._(4); |
190 static const SkXfermode kSrcInMode = const SkXfermode._(5); | 200 static const SkXfermode kSrcInMode = const SkXfermode._(5); |
191 static const SkXfermode kDstInMode = const SkXfermode._(6); | 201 static const SkXfermode kDstInMode = const SkXfermode._(6); |
192 static const SkXfermode kSrcOutMode = const SkXfermode._(7); | 202 static const SkXfermode kSrcOutMode = const SkXfermode._(7); |
193 static const SkXfermode kDstOutMode = const SkXfermode._(8); | 203 static const SkXfermode kDstOutMode = const SkXfermode._(8); |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 case kHueMode: | 438 case kHueMode: |
429 return 'SkXfermode.kHueMode'; | 439 return 'SkXfermode.kHueMode'; |
430 case kSaturationMode: | 440 case kSaturationMode: |
431 return 'SkXfermode.kSaturationMode'; | 441 return 'SkXfermode.kSaturationMode'; |
432 case kColorMode: | 442 case kColorMode: |
433 return 'SkXfermode.kColorMode'; | 443 return 'SkXfermode.kColorMode'; |
434 case kLuminosityMode: | 444 case kLuminosityMode: |
435 return 'SkXfermode.kLuminosityMode'; | 445 return 'SkXfermode.kLuminosityMode'; |
436 case kLastMode: | 446 case kLastMode: |
437 return 'SkXfermode.kLastMode'; | 447 return 'SkXfermode.kLastMode'; |
| 448 default: |
| 449 return null; |
438 } | 450 } |
439 } | 451 } |
440 | 452 |
441 int toJson() => mojoEnumValue; | 453 int toJson() => mojoEnumValue; |
442 } | 454 } |
443 | 455 |
444 | 456 |
445 | 457 |
| 458 |
| 459 |
446 class Color extends bindings.Struct { | 460 class Color extends bindings.Struct { |
447 static const List<bindings.StructDataHeader> kVersions = const [ | 461 static const List<bindings.StructDataHeader> kVersions = const [ |
448 const bindings.StructDataHeader(16, 0) | 462 const bindings.StructDataHeader(16, 0) |
449 ]; | 463 ]; |
450 int rgba = 0; | 464 int rgba = 0; |
451 | 465 |
452 Color() : super(kVersions.last.size); | 466 Color() : super(kVersions.last.size); |
453 | 467 |
454 static Color deserialize(bindings.Message message) { | 468 static Color deserialize(bindings.Message message) { |
455 var decoder = new bindings.Decoder(message); | 469 var decoder = new bindings.Decoder(message); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 } | 517 } |
504 | 518 |
505 Map toJson() { | 519 Map toJson() { |
506 Map map = new Map(); | 520 Map map = new Map(); |
507 map["rgba"] = rgba; | 521 map["rgba"] = rgba; |
508 return map; | 522 return map; |
509 } | 523 } |
510 } | 524 } |
511 | 525 |
512 | 526 |
| 527 |
| 528 |
513 class CheckerboardQuadState extends bindings.Struct { | 529 class CheckerboardQuadState extends bindings.Struct { |
514 static const List<bindings.StructDataHeader> kVersions = const [ | 530 static const List<bindings.StructDataHeader> kVersions = const [ |
515 const bindings.StructDataHeader(8, 0) | 531 const bindings.StructDataHeader(8, 0) |
516 ]; | 532 ]; |
517 | 533 |
518 CheckerboardQuadState() : super(kVersions.last.size); | 534 CheckerboardQuadState() : super(kVersions.last.size); |
519 | 535 |
520 static CheckerboardQuadState deserialize(bindings.Message message) { | 536 static CheckerboardQuadState deserialize(bindings.Message message) { |
521 var decoder = new bindings.Decoder(message); | 537 var decoder = new bindings.Decoder(message); |
522 var result = decode(decoder); | 538 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 return "CheckerboardQuadState("")"; | 577 return "CheckerboardQuadState("")"; |
562 } | 578 } |
563 | 579 |
564 Map toJson() { | 580 Map toJson() { |
565 Map map = new Map(); | 581 Map map = new Map(); |
566 return map; | 582 return map; |
567 } | 583 } |
568 } | 584 } |
569 | 585 |
570 | 586 |
| 587 |
| 588 |
571 class DebugBorderQuadState extends bindings.Struct { | 589 class DebugBorderQuadState extends bindings.Struct { |
572 static const List<bindings.StructDataHeader> kVersions = const [ | 590 static const List<bindings.StructDataHeader> kVersions = const [ |
573 const bindings.StructDataHeader(8, 0) | 591 const bindings.StructDataHeader(8, 0) |
574 ]; | 592 ]; |
575 | 593 |
576 DebugBorderQuadState() : super(kVersions.last.size); | 594 DebugBorderQuadState() : super(kVersions.last.size); |
577 | 595 |
578 static DebugBorderQuadState deserialize(bindings.Message message) { | 596 static DebugBorderQuadState deserialize(bindings.Message message) { |
579 var decoder = new bindings.Decoder(message); | 597 var decoder = new bindings.Decoder(message); |
580 var result = decode(decoder); | 598 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 return "DebugBorderQuadState("")"; | 637 return "DebugBorderQuadState("")"; |
620 } | 638 } |
621 | 639 |
622 Map toJson() { | 640 Map toJson() { |
623 Map map = new Map(); | 641 Map map = new Map(); |
624 return map; | 642 return map; |
625 } | 643 } |
626 } | 644 } |
627 | 645 |
628 | 646 |
| 647 |
| 648 |
629 class IoSurfaceContentQuadState extends bindings.Struct { | 649 class IoSurfaceContentQuadState extends bindings.Struct { |
630 static const List<bindings.StructDataHeader> kVersions = const [ | 650 static const List<bindings.StructDataHeader> kVersions = const [ |
631 const bindings.StructDataHeader(8, 0) | 651 const bindings.StructDataHeader(8, 0) |
632 ]; | 652 ]; |
633 | 653 |
634 IoSurfaceContentQuadState() : super(kVersions.last.size); | 654 IoSurfaceContentQuadState() : super(kVersions.last.size); |
635 | 655 |
636 static IoSurfaceContentQuadState deserialize(bindings.Message message) { | 656 static IoSurfaceContentQuadState deserialize(bindings.Message message) { |
637 var decoder = new bindings.Decoder(message); | 657 var decoder = new bindings.Decoder(message); |
638 var result = decode(decoder); | 658 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 return "IoSurfaceContentQuadState("")"; | 697 return "IoSurfaceContentQuadState("")"; |
678 } | 698 } |
679 | 699 |
680 Map toJson() { | 700 Map toJson() { |
681 Map map = new Map(); | 701 Map map = new Map(); |
682 return map; | 702 return map; |
683 } | 703 } |
684 } | 704 } |
685 | 705 |
686 | 706 |
| 707 |
| 708 |
687 class RenderPassId extends bindings.Struct { | 709 class RenderPassId extends bindings.Struct { |
688 static const List<bindings.StructDataHeader> kVersions = const [ | 710 static const List<bindings.StructDataHeader> kVersions = const [ |
689 const bindings.StructDataHeader(16, 0) | 711 const bindings.StructDataHeader(16, 0) |
690 ]; | 712 ]; |
691 int layerId = 0; | 713 int layerId = 0; |
692 int index = 0; | 714 int index = 0; |
693 | 715 |
694 RenderPassId() : super(kVersions.last.size); | 716 RenderPassId() : super(kVersions.last.size); |
695 | 717 |
696 static RenderPassId deserialize(bindings.Message message) { | 718 static RenderPassId deserialize(bindings.Message message) { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 | 775 |
754 Map toJson() { | 776 Map toJson() { |
755 Map map = new Map(); | 777 Map map = new Map(); |
756 map["layerId"] = layerId; | 778 map["layerId"] = layerId; |
757 map["index"] = index; | 779 map["index"] = index; |
758 return map; | 780 return map; |
759 } | 781 } |
760 } | 782 } |
761 | 783 |
762 | 784 |
| 785 |
| 786 |
763 class RenderPassQuadState extends bindings.Struct { | 787 class RenderPassQuadState extends bindings.Struct { |
764 static const List<bindings.StructDataHeader> kVersions = const [ | 788 static const List<bindings.StructDataHeader> kVersions = const [ |
765 const bindings.StructDataHeader(48, 0) | 789 const bindings.StructDataHeader(48, 0) |
766 ]; | 790 ]; |
767 RenderPassId renderPassId = null; | 791 RenderPassId renderPassId = null; |
768 int maskResourceId = 0; | 792 int maskResourceId = 0; |
769 geometry_mojom.PointF maskUvScale = null; | 793 geometry_mojom.PointF maskUvScale = null; |
770 geometry_mojom.Size maskTextureSize = null; | 794 geometry_mojom.Size maskTextureSize = null; |
771 geometry_mojom.PointF filtersScale = null; | 795 geometry_mojom.PointF filtersScale = null; |
772 | 796 |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
860 map["renderPassId"] = renderPassId; | 884 map["renderPassId"] = renderPassId; |
861 map["maskResourceId"] = maskResourceId; | 885 map["maskResourceId"] = maskResourceId; |
862 map["maskUvScale"] = maskUvScale; | 886 map["maskUvScale"] = maskUvScale; |
863 map["maskTextureSize"] = maskTextureSize; | 887 map["maskTextureSize"] = maskTextureSize; |
864 map["filtersScale"] = filtersScale; | 888 map["filtersScale"] = filtersScale; |
865 return map; | 889 return map; |
866 } | 890 } |
867 } | 891 } |
868 | 892 |
869 | 893 |
| 894 |
| 895 |
870 class SolidColorQuadState extends bindings.Struct { | 896 class SolidColorQuadState extends bindings.Struct { |
871 static const List<bindings.StructDataHeader> kVersions = const [ | 897 static const List<bindings.StructDataHeader> kVersions = const [ |
872 const bindings.StructDataHeader(24, 0) | 898 const bindings.StructDataHeader(24, 0) |
873 ]; | 899 ]; |
874 Color color = null; | 900 Color color = null; |
875 bool forceAntiAliasingOff = false; | 901 bool forceAntiAliasingOff = false; |
876 | 902 |
877 SolidColorQuadState() : super(kVersions.last.size); | 903 SolidColorQuadState() : super(kVersions.last.size); |
878 | 904 |
879 static SolidColorQuadState deserialize(bindings.Message message) { | 905 static SolidColorQuadState deserialize(bindings.Message message) { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
937 | 963 |
938 Map toJson() { | 964 Map toJson() { |
939 Map map = new Map(); | 965 Map map = new Map(); |
940 map["color"] = color; | 966 map["color"] = color; |
941 map["forceAntiAliasingOff"] = forceAntiAliasingOff; | 967 map["forceAntiAliasingOff"] = forceAntiAliasingOff; |
942 return map; | 968 return map; |
943 } | 969 } |
944 } | 970 } |
945 | 971 |
946 | 972 |
| 973 |
| 974 |
947 class SurfaceQuadState extends bindings.Struct { | 975 class SurfaceQuadState extends bindings.Struct { |
948 static const List<bindings.StructDataHeader> kVersions = const [ | 976 static const List<bindings.StructDataHeader> kVersions = const [ |
949 const bindings.StructDataHeader(16, 0) | 977 const bindings.StructDataHeader(16, 0) |
950 ]; | 978 ]; |
951 surface_id_mojom.SurfaceId surface = null; | 979 surface_id_mojom.SurfaceId surface = null; |
952 | 980 |
953 SurfaceQuadState() : super(kVersions.last.size); | 981 SurfaceQuadState() : super(kVersions.last.size); |
954 | 982 |
955 static SurfaceQuadState deserialize(bindings.Message message) { | 983 static SurfaceQuadState deserialize(bindings.Message message) { |
956 var decoder = new bindings.Decoder(message); | 984 var decoder = new bindings.Decoder(message); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1005 } | 1033 } |
1006 | 1034 |
1007 Map toJson() { | 1035 Map toJson() { |
1008 Map map = new Map(); | 1036 Map map = new Map(); |
1009 map["surface"] = surface; | 1037 map["surface"] = surface; |
1010 return map; | 1038 return map; |
1011 } | 1039 } |
1012 } | 1040 } |
1013 | 1041 |
1014 | 1042 |
| 1043 |
| 1044 |
1015 class TextureQuadState extends bindings.Struct { | 1045 class TextureQuadState extends bindings.Struct { |
1016 static const List<bindings.StructDataHeader> kVersions = const [ | 1046 static const List<bindings.StructDataHeader> kVersions = const [ |
1017 const bindings.StructDataHeader(48, 0) | 1047 const bindings.StructDataHeader(48, 0) |
1018 ]; | 1048 ]; |
1019 int resourceId = 0; | 1049 int resourceId = 0; |
1020 bool premultipliedAlpha = false; | 1050 bool premultipliedAlpha = false; |
1021 bool flipped = false; | 1051 bool flipped = false; |
1022 bool nearestNeighbor = false; | 1052 bool nearestNeighbor = false; |
1023 geometry_mojom.PointF uvTopLeft = null; | 1053 geometry_mojom.PointF uvTopLeft = null; |
1024 geometry_mojom.PointF uvBottomRight = null; | 1054 geometry_mojom.PointF uvBottomRight = null; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1138 map["nearestNeighbor"] = nearestNeighbor; | 1168 map["nearestNeighbor"] = nearestNeighbor; |
1139 map["uvTopLeft"] = uvTopLeft; | 1169 map["uvTopLeft"] = uvTopLeft; |
1140 map["uvBottomRight"] = uvBottomRight; | 1170 map["uvBottomRight"] = uvBottomRight; |
1141 map["backgroundColor"] = backgroundColor; | 1171 map["backgroundColor"] = backgroundColor; |
1142 map["vertexOpacity"] = vertexOpacity; | 1172 map["vertexOpacity"] = vertexOpacity; |
1143 return map; | 1173 return map; |
1144 } | 1174 } |
1145 } | 1175 } |
1146 | 1176 |
1147 | 1177 |
| 1178 |
| 1179 |
1148 class TileQuadState extends bindings.Struct { | 1180 class TileQuadState extends bindings.Struct { |
1149 static const List<bindings.StructDataHeader> kVersions = const [ | 1181 static const List<bindings.StructDataHeader> kVersions = const [ |
1150 const bindings.StructDataHeader(32, 0) | 1182 const bindings.StructDataHeader(32, 0) |
1151 ]; | 1183 ]; |
1152 geometry_mojom.RectF texCoordRect = null; | 1184 geometry_mojom.RectF texCoordRect = null; |
1153 geometry_mojom.Size textureSize = null; | 1185 geometry_mojom.Size textureSize = null; |
1154 bool swizzleContents = false; | 1186 bool swizzleContents = false; |
1155 bool nearestNeighbor = false; | 1187 bool nearestNeighbor = false; |
1156 int resourceId = 0; | 1188 int resourceId = 0; |
1157 | 1189 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1243 map["texCoordRect"] = texCoordRect; | 1275 map["texCoordRect"] = texCoordRect; |
1244 map["textureSize"] = textureSize; | 1276 map["textureSize"] = textureSize; |
1245 map["swizzleContents"] = swizzleContents; | 1277 map["swizzleContents"] = swizzleContents; |
1246 map["nearestNeighbor"] = nearestNeighbor; | 1278 map["nearestNeighbor"] = nearestNeighbor; |
1247 map["resourceId"] = resourceId; | 1279 map["resourceId"] = resourceId; |
1248 return map; | 1280 return map; |
1249 } | 1281 } |
1250 } | 1282 } |
1251 | 1283 |
1252 | 1284 |
| 1285 |
| 1286 |
1253 class StreamVideoQuadState extends bindings.Struct { | 1287 class StreamVideoQuadState extends bindings.Struct { |
1254 static const List<bindings.StructDataHeader> kVersions = const [ | 1288 static const List<bindings.StructDataHeader> kVersions = const [ |
1255 const bindings.StructDataHeader(8, 0) | 1289 const bindings.StructDataHeader(8, 0) |
1256 ]; | 1290 ]; |
1257 | 1291 |
1258 StreamVideoQuadState() : super(kVersions.last.size); | 1292 StreamVideoQuadState() : super(kVersions.last.size); |
1259 | 1293 |
1260 static StreamVideoQuadState deserialize(bindings.Message message) { | 1294 static StreamVideoQuadState deserialize(bindings.Message message) { |
1261 var decoder = new bindings.Decoder(message); | 1295 var decoder = new bindings.Decoder(message); |
1262 var result = decode(decoder); | 1296 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1301 return "StreamVideoQuadState("")"; | 1335 return "StreamVideoQuadState("")"; |
1302 } | 1336 } |
1303 | 1337 |
1304 Map toJson() { | 1338 Map toJson() { |
1305 Map map = new Map(); | 1339 Map map = new Map(); |
1306 return map; | 1340 return map; |
1307 } | 1341 } |
1308 } | 1342 } |
1309 | 1343 |
1310 | 1344 |
| 1345 |
| 1346 |
1311 class YuvVideoQuadState extends bindings.Struct { | 1347 class YuvVideoQuadState extends bindings.Struct { |
1312 static const List<bindings.StructDataHeader> kVersions = const [ | 1348 static const List<bindings.StructDataHeader> kVersions = const [ |
1313 const bindings.StructDataHeader(40, 0) | 1349 const bindings.StructDataHeader(40, 0) |
1314 ]; | 1350 ]; |
1315 geometry_mojom.RectF texCoordRect = null; | 1351 geometry_mojom.RectF texCoordRect = null; |
1316 int yPlaneResourceId = 0; | 1352 int yPlaneResourceId = 0; |
1317 int uPlaneResourceId = 0; | 1353 int uPlaneResourceId = 0; |
1318 int vPlaneResourceId = 0; | 1354 int vPlaneResourceId = 0; |
1319 int aPlaneResourceId = 0; | 1355 int aPlaneResourceId = 0; |
1320 YuvColorSpace colorSpace = null; | 1356 YuvColorSpace colorSpace = null; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1418 map["yPlaneResourceId"] = yPlaneResourceId; | 1454 map["yPlaneResourceId"] = yPlaneResourceId; |
1419 map["uPlaneResourceId"] = uPlaneResourceId; | 1455 map["uPlaneResourceId"] = uPlaneResourceId; |
1420 map["vPlaneResourceId"] = vPlaneResourceId; | 1456 map["vPlaneResourceId"] = vPlaneResourceId; |
1421 map["aPlaneResourceId"] = aPlaneResourceId; | 1457 map["aPlaneResourceId"] = aPlaneResourceId; |
1422 map["colorSpace"] = colorSpace; | 1458 map["colorSpace"] = colorSpace; |
1423 return map; | 1459 return map; |
1424 } | 1460 } |
1425 } | 1461 } |
1426 | 1462 |
1427 | 1463 |
| 1464 |
| 1465 |
1428 class Quad extends bindings.Struct { | 1466 class Quad extends bindings.Struct { |
1429 static const List<bindings.StructDataHeader> kVersions = const [ | 1467 static const List<bindings.StructDataHeader> kVersions = const [ |
1430 const bindings.StructDataHeader(128, 0) | 1468 const bindings.StructDataHeader(128, 0) |
1431 ]; | 1469 ]; |
1432 Material material = null; | 1470 Material material = null; |
1433 bool needsBlending = false; | 1471 bool needsBlending = false; |
1434 geometry_mojom.Rect rect = null; | 1472 geometry_mojom.Rect rect = null; |
1435 geometry_mojom.Rect opaqueRect = null; | 1473 geometry_mojom.Rect opaqueRect = null; |
1436 geometry_mojom.Rect visibleRect = null; | 1474 geometry_mojom.Rect visibleRect = null; |
1437 int sharedQuadStateIndex = 0; | 1475 int sharedQuadStateIndex = 0; |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1637 map["surfaceQuadState"] = surfaceQuadState; | 1675 map["surfaceQuadState"] = surfaceQuadState; |
1638 map["textureQuadState"] = textureQuadState; | 1676 map["textureQuadState"] = textureQuadState; |
1639 map["tileQuadState"] = tileQuadState; | 1677 map["tileQuadState"] = tileQuadState; |
1640 map["streamVideoQuadState"] = streamVideoQuadState; | 1678 map["streamVideoQuadState"] = streamVideoQuadState; |
1641 map["yuvVideoQuadState"] = yuvVideoQuadState; | 1679 map["yuvVideoQuadState"] = yuvVideoQuadState; |
1642 return map; | 1680 return map; |
1643 } | 1681 } |
1644 } | 1682 } |
1645 | 1683 |
1646 | 1684 |
| 1685 |
| 1686 |
1647 class SharedQuadState extends bindings.Struct { | 1687 class SharedQuadState extends bindings.Struct { |
1648 static const List<bindings.StructDataHeader> kVersions = const [ | 1688 static const List<bindings.StructDataHeader> kVersions = const [ |
1649 const bindings.StructDataHeader(56, 0) | 1689 const bindings.StructDataHeader(56, 0) |
1650 ]; | 1690 ]; |
1651 geometry_mojom.Transform contentToTargetTransform = null; | 1691 geometry_mojom.Transform contentToTargetTransform = null; |
1652 geometry_mojom.Size contentBounds = null; | 1692 geometry_mojom.Size contentBounds = null; |
1653 geometry_mojom.Rect visibleContentRect = null; | 1693 geometry_mojom.Rect visibleContentRect = null; |
1654 geometry_mojom.Rect clipRect = null; | 1694 geometry_mojom.Rect clipRect = null; |
1655 bool isClipped = false; | 1695 bool isClipped = false; |
1656 double opacity = 0.0; | 1696 double opacity = 0.0; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1775 map["clipRect"] = clipRect; | 1815 map["clipRect"] = clipRect; |
1776 map["isClipped"] = isClipped; | 1816 map["isClipped"] = isClipped; |
1777 map["opacity"] = opacity; | 1817 map["opacity"] = opacity; |
1778 map["blendMode"] = blendMode; | 1818 map["blendMode"] = blendMode; |
1779 map["sortingContextId"] = sortingContextId; | 1819 map["sortingContextId"] = sortingContextId; |
1780 return map; | 1820 return map; |
1781 } | 1821 } |
1782 } | 1822 } |
1783 | 1823 |
1784 | 1824 |
| 1825 |
| 1826 |
1785 class Pass extends bindings.Struct { | 1827 class Pass extends bindings.Struct { |
1786 static const List<bindings.StructDataHeader> kVersions = const [ | 1828 static const List<bindings.StructDataHeader> kVersions = const [ |
1787 const bindings.StructDataHeader(56, 0) | 1829 const bindings.StructDataHeader(56, 0) |
1788 ]; | 1830 ]; |
1789 int id = 0; | 1831 int id = 0; |
1790 bool hasTransparentBackground = false; | 1832 bool hasTransparentBackground = false; |
1791 geometry_mojom.Rect outputRect = null; | 1833 geometry_mojom.Rect outputRect = null; |
1792 geometry_mojom.Rect damageRect = null; | 1834 geometry_mojom.Rect damageRect = null; |
1793 geometry_mojom.Transform transformToRootTarget = null; | 1835 geometry_mojom.Transform transformToRootTarget = null; |
1794 List<Quad> quads = null; | 1836 List<Quad> quads = null; |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1933 map["outputRect"] = outputRect; | 1975 map["outputRect"] = outputRect; |
1934 map["damageRect"] = damageRect; | 1976 map["damageRect"] = damageRect; |
1935 map["transformToRootTarget"] = transformToRootTarget; | 1977 map["transformToRootTarget"] = transformToRootTarget; |
1936 map["quads"] = quads; | 1978 map["quads"] = quads; |
1937 map["sharedQuadStates"] = sharedQuadStates; | 1979 map["sharedQuadStates"] = sharedQuadStates; |
1938 return map; | 1980 return map; |
1939 } | 1981 } |
1940 } | 1982 } |
1941 | 1983 |
1942 | 1984 |
| 1985 |
| 1986 |
| 1987 |
| 1988 |
OLD | NEW |