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 import 'package:mojo/bindings.dart' as bindings; | 6 import 'package:mojo/bindings.dart' as bindings; |
7 | 7 |
8 import 'package:mojo_services/mojo/geometry.mojom.dart' as geometry_mojom; | 8 import 'package:mojo_services/mojo/geometry.mojom.dart' as geometry_mojom; |
9 import 'package:mojo_services/mojo/surface_id.mojom.dart' as surface_id_mojom; | 9 import 'package:mojo_services/mojo/surface_id.mojom.dart' as surface_id_mojom; |
10 | 10 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 case jpeg: | 60 case jpeg: |
61 return 'YuvColorSpace.jpeg'; | 61 return 'YuvColorSpace.jpeg'; |
62 default: | 62 default: |
63 return null; | 63 return null; |
64 } | 64 } |
65 } | 65 } |
66 | 66 |
67 int toJson() => mojoEnumValue; | 67 int toJson() => mojoEnumValue; |
68 } | 68 } |
69 | 69 |
70 | |
71 | |
72 class Material extends bindings.MojoEnum { | 70 class Material extends bindings.MojoEnum { |
73 static const Material checkerboard = const Material._(1); | 71 static const Material checkerboard = const Material._(1); |
74 static const Material debugBorder = const Material._(2); | 72 static const Material debugBorder = const Material._(2); |
75 static const Material ioSurfaceContent = const Material._(3); | 73 static const Material ioSurfaceContent = const Material._(3); |
76 static const Material pictureContent = const Material._(4); | 74 static const Material pictureContent = const Material._(4); |
77 static const Material renderPass = const Material._(5); | 75 static const Material renderPass = const Material._(5); |
78 static const Material solidColor = const Material._(6); | 76 static const Material solidColor = const Material._(6); |
79 static const Material streamVideoContent = const Material._(7); | 77 static const Material streamVideoContent = const Material._(7); |
80 static const Material surfaceContent = const Material._(8); | 78 static const Material surfaceContent = const Material._(8); |
81 static const Material textureContent = const Material._(9); | 79 static const Material textureContent = const Material._(9); |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 case yuvVideoContent: | 175 case yuvVideoContent: |
178 return 'Material.yuvVideoContent'; | 176 return 'Material.yuvVideoContent'; |
179 default: | 177 default: |
180 return null; | 178 return null; |
181 } | 179 } |
182 } | 180 } |
183 | 181 |
184 int toJson() => mojoEnumValue; | 182 int toJson() => mojoEnumValue; |
185 } | 183 } |
186 | 184 |
187 | |
188 | |
189 class SkXfermode extends bindings.MojoEnum { | 185 class SkXfermode extends bindings.MojoEnum { |
190 static const SkXfermode kClearMode = const SkXfermode._(0); | 186 static const SkXfermode kClearMode = const SkXfermode._(0); |
191 static const SkXfermode kSrcMode = const SkXfermode._(1); | 187 static const SkXfermode kSrcMode = const SkXfermode._(1); |
192 static const SkXfermode kDstMode = const SkXfermode._(2); | 188 static const SkXfermode kDstMode = const SkXfermode._(2); |
193 static const SkXfermode kSrcOverMode = const SkXfermode._(3); | 189 static const SkXfermode kSrcOverMode = const SkXfermode._(3); |
194 static const SkXfermode kDstOverMode = const SkXfermode._(4); | 190 static const SkXfermode kDstOverMode = const SkXfermode._(4); |
195 static const SkXfermode kSrcInMode = const SkXfermode._(5); | 191 static const SkXfermode kSrcInMode = const SkXfermode._(5); |
196 static const SkXfermode kDstInMode = const SkXfermode._(6); | 192 static const SkXfermode kDstInMode = const SkXfermode._(6); |
197 static const SkXfermode kSrcOutMode = const SkXfermode._(7); | 193 static const SkXfermode kSrcOutMode = const SkXfermode._(7); |
198 static const SkXfermode kDstOutMode = const SkXfermode._(8); | 194 static const SkXfermode kDstOutMode = const SkXfermode._(8); |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 default: | 439 default: |
444 return null; | 440 return null; |
445 } | 441 } |
446 } | 442 } |
447 | 443 |
448 int toJson() => mojoEnumValue; | 444 int toJson() => mojoEnumValue; |
449 } | 445 } |
450 | 446 |
451 | 447 |
452 | 448 |
453 | |
454 | |
455 class Color extends bindings.Struct { | 449 class Color extends bindings.Struct { |
456 static const List<bindings.StructDataHeader> kVersions = const [ | 450 static const List<bindings.StructDataHeader> kVersions = const [ |
457 const bindings.StructDataHeader(16, 0) | 451 const bindings.StructDataHeader(16, 0) |
458 ]; | 452 ]; |
459 int rgba = 0; | 453 int rgba = 0; |
460 | 454 |
461 Color() : super(kVersions.last.size); | 455 Color() : super(kVersions.last.size); |
462 | 456 |
463 static Color deserialize(bindings.Message message) { | 457 static Color deserialize(bindings.Message message) { |
464 var decoder = new bindings.Decoder(message); | 458 var decoder = new bindings.Decoder(message); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
517 } | 511 } |
518 | 512 |
519 Map toJson() { | 513 Map toJson() { |
520 Map map = new Map(); | 514 Map map = new Map(); |
521 map["rgba"] = rgba; | 515 map["rgba"] = rgba; |
522 return map; | 516 return map; |
523 } | 517 } |
524 } | 518 } |
525 | 519 |
526 | 520 |
527 | |
528 | |
529 class CheckerboardQuadState extends bindings.Struct { | 521 class CheckerboardQuadState extends bindings.Struct { |
530 static const List<bindings.StructDataHeader> kVersions = const [ | 522 static const List<bindings.StructDataHeader> kVersions = const [ |
531 const bindings.StructDataHeader(8, 0) | 523 const bindings.StructDataHeader(8, 0) |
532 ]; | 524 ]; |
533 | 525 |
534 CheckerboardQuadState() : super(kVersions.last.size); | 526 CheckerboardQuadState() : super(kVersions.last.size); |
535 | 527 |
536 static CheckerboardQuadState deserialize(bindings.Message message) { | 528 static CheckerboardQuadState deserialize(bindings.Message message) { |
537 var decoder = new bindings.Decoder(message); | 529 var decoder = new bindings.Decoder(message); |
538 var result = decode(decoder); | 530 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
577 return "CheckerboardQuadState("")"; | 569 return "CheckerboardQuadState("")"; |
578 } | 570 } |
579 | 571 |
580 Map toJson() { | 572 Map toJson() { |
581 Map map = new Map(); | 573 Map map = new Map(); |
582 return map; | 574 return map; |
583 } | 575 } |
584 } | 576 } |
585 | 577 |
586 | 578 |
587 | |
588 | |
589 class DebugBorderQuadState extends bindings.Struct { | 579 class DebugBorderQuadState extends bindings.Struct { |
590 static const List<bindings.StructDataHeader> kVersions = const [ | 580 static const List<bindings.StructDataHeader> kVersions = const [ |
591 const bindings.StructDataHeader(8, 0) | 581 const bindings.StructDataHeader(8, 0) |
592 ]; | 582 ]; |
593 | 583 |
594 DebugBorderQuadState() : super(kVersions.last.size); | 584 DebugBorderQuadState() : super(kVersions.last.size); |
595 | 585 |
596 static DebugBorderQuadState deserialize(bindings.Message message) { | 586 static DebugBorderQuadState deserialize(bindings.Message message) { |
597 var decoder = new bindings.Decoder(message); | 587 var decoder = new bindings.Decoder(message); |
598 var result = decode(decoder); | 588 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 return "DebugBorderQuadState("")"; | 627 return "DebugBorderQuadState("")"; |
638 } | 628 } |
639 | 629 |
640 Map toJson() { | 630 Map toJson() { |
641 Map map = new Map(); | 631 Map map = new Map(); |
642 return map; | 632 return map; |
643 } | 633 } |
644 } | 634 } |
645 | 635 |
646 | 636 |
647 | |
648 | |
649 class IoSurfaceContentQuadState extends bindings.Struct { | 637 class IoSurfaceContentQuadState extends bindings.Struct { |
650 static const List<bindings.StructDataHeader> kVersions = const [ | 638 static const List<bindings.StructDataHeader> kVersions = const [ |
651 const bindings.StructDataHeader(8, 0) | 639 const bindings.StructDataHeader(8, 0) |
652 ]; | 640 ]; |
653 | 641 |
654 IoSurfaceContentQuadState() : super(kVersions.last.size); | 642 IoSurfaceContentQuadState() : super(kVersions.last.size); |
655 | 643 |
656 static IoSurfaceContentQuadState deserialize(bindings.Message message) { | 644 static IoSurfaceContentQuadState deserialize(bindings.Message message) { |
657 var decoder = new bindings.Decoder(message); | 645 var decoder = new bindings.Decoder(message); |
658 var result = decode(decoder); | 646 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 return "IoSurfaceContentQuadState("")"; | 685 return "IoSurfaceContentQuadState("")"; |
698 } | 686 } |
699 | 687 |
700 Map toJson() { | 688 Map toJson() { |
701 Map map = new Map(); | 689 Map map = new Map(); |
702 return map; | 690 return map; |
703 } | 691 } |
704 } | 692 } |
705 | 693 |
706 | 694 |
707 | |
708 | |
709 class RenderPassId extends bindings.Struct { | 695 class RenderPassId extends bindings.Struct { |
710 static const List<bindings.StructDataHeader> kVersions = const [ | 696 static const List<bindings.StructDataHeader> kVersions = const [ |
711 const bindings.StructDataHeader(16, 0) | 697 const bindings.StructDataHeader(16, 0) |
712 ]; | 698 ]; |
713 int layerId = 0; | 699 int layerId = 0; |
714 int index = 0; | 700 int index = 0; |
715 | 701 |
716 RenderPassId() : super(kVersions.last.size); | 702 RenderPassId() : super(kVersions.last.size); |
717 | 703 |
718 static RenderPassId deserialize(bindings.Message message) { | 704 static RenderPassId deserialize(bindings.Message message) { |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 | 771 |
786 Map toJson() { | 772 Map toJson() { |
787 Map map = new Map(); | 773 Map map = new Map(); |
788 map["layerId"] = layerId; | 774 map["layerId"] = layerId; |
789 map["index"] = index; | 775 map["index"] = index; |
790 return map; | 776 return map; |
791 } | 777 } |
792 } | 778 } |
793 | 779 |
794 | 780 |
795 | |
796 | |
797 class RenderPassQuadState extends bindings.Struct { | 781 class RenderPassQuadState extends bindings.Struct { |
798 static const List<bindings.StructDataHeader> kVersions = const [ | 782 static const List<bindings.StructDataHeader> kVersions = const [ |
799 const bindings.StructDataHeader(48, 0) | 783 const bindings.StructDataHeader(48, 0) |
800 ]; | 784 ]; |
801 RenderPassId renderPassId = null; | 785 RenderPassId renderPassId = null; |
802 int maskResourceId = 0; | 786 int maskResourceId = 0; |
803 geometry_mojom.PointF maskUvScale = null; | 787 geometry_mojom.PointF maskUvScale = null; |
804 geometry_mojom.Size maskTextureSize = null; | 788 geometry_mojom.Size maskTextureSize = null; |
805 geometry_mojom.PointF filtersScale = null; | 789 geometry_mojom.PointF filtersScale = null; |
806 | 790 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 map["renderPassId"] = renderPassId; | 903 map["renderPassId"] = renderPassId; |
920 map["maskResourceId"] = maskResourceId; | 904 map["maskResourceId"] = maskResourceId; |
921 map["maskUvScale"] = maskUvScale; | 905 map["maskUvScale"] = maskUvScale; |
922 map["maskTextureSize"] = maskTextureSize; | 906 map["maskTextureSize"] = maskTextureSize; |
923 map["filtersScale"] = filtersScale; | 907 map["filtersScale"] = filtersScale; |
924 return map; | 908 return map; |
925 } | 909 } |
926 } | 910 } |
927 | 911 |
928 | 912 |
929 | |
930 | |
931 class SolidColorQuadState extends bindings.Struct { | 913 class SolidColorQuadState extends bindings.Struct { |
932 static const List<bindings.StructDataHeader> kVersions = const [ | 914 static const List<bindings.StructDataHeader> kVersions = const [ |
933 const bindings.StructDataHeader(24, 0) | 915 const bindings.StructDataHeader(24, 0) |
934 ]; | 916 ]; |
935 Color color = null; | 917 Color color = null; |
936 bool forceAntiAliasingOff = false; | 918 bool forceAntiAliasingOff = false; |
937 | 919 |
938 SolidColorQuadState() : super(kVersions.last.size); | 920 SolidColorQuadState() : super(kVersions.last.size); |
939 | 921 |
940 static SolidColorQuadState deserialize(bindings.Message message) { | 922 static SolidColorQuadState deserialize(bindings.Message message) { |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1008 | 990 |
1009 Map toJson() { | 991 Map toJson() { |
1010 Map map = new Map(); | 992 Map map = new Map(); |
1011 map["color"] = color; | 993 map["color"] = color; |
1012 map["forceAntiAliasingOff"] = forceAntiAliasingOff; | 994 map["forceAntiAliasingOff"] = forceAntiAliasingOff; |
1013 return map; | 995 return map; |
1014 } | 996 } |
1015 } | 997 } |
1016 | 998 |
1017 | 999 |
1018 | |
1019 | |
1020 class SurfaceQuadState extends bindings.Struct { | 1000 class SurfaceQuadState extends bindings.Struct { |
1021 static const List<bindings.StructDataHeader> kVersions = const [ | 1001 static const List<bindings.StructDataHeader> kVersions = const [ |
1022 const bindings.StructDataHeader(16, 0) | 1002 const bindings.StructDataHeader(16, 0) |
1023 ]; | 1003 ]; |
1024 surface_id_mojom.SurfaceId surface = null; | 1004 surface_id_mojom.SurfaceId surface = null; |
1025 | 1005 |
1026 SurfaceQuadState() : super(kVersions.last.size); | 1006 SurfaceQuadState() : super(kVersions.last.size); |
1027 | 1007 |
1028 static SurfaceQuadState deserialize(bindings.Message message) { | 1008 static SurfaceQuadState deserialize(bindings.Message message) { |
1029 var decoder = new bindings.Decoder(message); | 1009 var decoder = new bindings.Decoder(message); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1083 } | 1063 } |
1084 | 1064 |
1085 Map toJson() { | 1065 Map toJson() { |
1086 Map map = new Map(); | 1066 Map map = new Map(); |
1087 map["surface"] = surface; | 1067 map["surface"] = surface; |
1088 return map; | 1068 return map; |
1089 } | 1069 } |
1090 } | 1070 } |
1091 | 1071 |
1092 | 1072 |
1093 | |
1094 | |
1095 class TextureQuadState extends bindings.Struct { | 1073 class TextureQuadState extends bindings.Struct { |
1096 static const List<bindings.StructDataHeader> kVersions = const [ | 1074 static const List<bindings.StructDataHeader> kVersions = const [ |
1097 const bindings.StructDataHeader(48, 0) | 1075 const bindings.StructDataHeader(48, 0) |
1098 ]; | 1076 ]; |
1099 int resourceId = 0; | 1077 int resourceId = 0; |
1100 bool premultipliedAlpha = false; | 1078 bool premultipliedAlpha = false; |
1101 bool flipped = false; | 1079 bool flipped = false; |
1102 bool nearestNeighbor = false; | 1080 bool nearestNeighbor = false; |
1103 geometry_mojom.PointF uvTopLeft = null; | 1081 geometry_mojom.PointF uvTopLeft = null; |
1104 geometry_mojom.PointF uvBottomRight = null; | 1082 geometry_mojom.PointF uvBottomRight = null; |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1258 map["nearestNeighbor"] = nearestNeighbor; | 1236 map["nearestNeighbor"] = nearestNeighbor; |
1259 map["uvTopLeft"] = uvTopLeft; | 1237 map["uvTopLeft"] = uvTopLeft; |
1260 map["uvBottomRight"] = uvBottomRight; | 1238 map["uvBottomRight"] = uvBottomRight; |
1261 map["backgroundColor"] = backgroundColor; | 1239 map["backgroundColor"] = backgroundColor; |
1262 map["vertexOpacity"] = vertexOpacity; | 1240 map["vertexOpacity"] = vertexOpacity; |
1263 return map; | 1241 return map; |
1264 } | 1242 } |
1265 } | 1243 } |
1266 | 1244 |
1267 | 1245 |
1268 | |
1269 | |
1270 class TileQuadState extends bindings.Struct { | 1246 class TileQuadState extends bindings.Struct { |
1271 static const List<bindings.StructDataHeader> kVersions = const [ | 1247 static const List<bindings.StructDataHeader> kVersions = const [ |
1272 const bindings.StructDataHeader(32, 0) | 1248 const bindings.StructDataHeader(32, 0) |
1273 ]; | 1249 ]; |
1274 geometry_mojom.RectF texCoordRect = null; | 1250 geometry_mojom.RectF texCoordRect = null; |
1275 geometry_mojom.Size textureSize = null; | 1251 geometry_mojom.Size textureSize = null; |
1276 bool swizzleContents = false; | 1252 bool swizzleContents = false; |
1277 bool nearestNeighbor = false; | 1253 bool nearestNeighbor = false; |
1278 int resourceId = 0; | 1254 int resourceId = 0; |
1279 | 1255 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1390 map["texCoordRect"] = texCoordRect; | 1366 map["texCoordRect"] = texCoordRect; |
1391 map["textureSize"] = textureSize; | 1367 map["textureSize"] = textureSize; |
1392 map["swizzleContents"] = swizzleContents; | 1368 map["swizzleContents"] = swizzleContents; |
1393 map["nearestNeighbor"] = nearestNeighbor; | 1369 map["nearestNeighbor"] = nearestNeighbor; |
1394 map["resourceId"] = resourceId; | 1370 map["resourceId"] = resourceId; |
1395 return map; | 1371 return map; |
1396 } | 1372 } |
1397 } | 1373 } |
1398 | 1374 |
1399 | 1375 |
1400 | |
1401 | |
1402 class StreamVideoQuadState extends bindings.Struct { | 1376 class StreamVideoQuadState extends bindings.Struct { |
1403 static const List<bindings.StructDataHeader> kVersions = const [ | 1377 static const List<bindings.StructDataHeader> kVersions = const [ |
1404 const bindings.StructDataHeader(8, 0) | 1378 const bindings.StructDataHeader(8, 0) |
1405 ]; | 1379 ]; |
1406 | 1380 |
1407 StreamVideoQuadState() : super(kVersions.last.size); | 1381 StreamVideoQuadState() : super(kVersions.last.size); |
1408 | 1382 |
1409 static StreamVideoQuadState deserialize(bindings.Message message) { | 1383 static StreamVideoQuadState deserialize(bindings.Message message) { |
1410 var decoder = new bindings.Decoder(message); | 1384 var decoder = new bindings.Decoder(message); |
1411 var result = decode(decoder); | 1385 var result = decode(decoder); |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1450 return "StreamVideoQuadState("")"; | 1424 return "StreamVideoQuadState("")"; |
1451 } | 1425 } |
1452 | 1426 |
1453 Map toJson() { | 1427 Map toJson() { |
1454 Map map = new Map(); | 1428 Map map = new Map(); |
1455 return map; | 1429 return map; |
1456 } | 1430 } |
1457 } | 1431 } |
1458 | 1432 |
1459 | 1433 |
1460 | |
1461 | |
1462 class YuvVideoQuadState extends bindings.Struct { | 1434 class YuvVideoQuadState extends bindings.Struct { |
1463 static const List<bindings.StructDataHeader> kVersions = const [ | 1435 static const List<bindings.StructDataHeader> kVersions = const [ |
1464 const bindings.StructDataHeader(40, 0) | 1436 const bindings.StructDataHeader(40, 0) |
1465 ]; | 1437 ]; |
1466 geometry_mojom.RectF texCoordRect = null; | 1438 geometry_mojom.RectF texCoordRect = null; |
1467 int yPlaneResourceId = 0; | 1439 int yPlaneResourceId = 0; |
1468 int uPlaneResourceId = 0; | 1440 int uPlaneResourceId = 0; |
1469 int vPlaneResourceId = 0; | 1441 int vPlaneResourceId = 0; |
1470 int aPlaneResourceId = 0; | 1442 int aPlaneResourceId = 0; |
1471 YuvColorSpace colorSpace = null; | 1443 YuvColorSpace colorSpace = null; |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1599 map["yPlaneResourceId"] = yPlaneResourceId; | 1571 map["yPlaneResourceId"] = yPlaneResourceId; |
1600 map["uPlaneResourceId"] = uPlaneResourceId; | 1572 map["uPlaneResourceId"] = uPlaneResourceId; |
1601 map["vPlaneResourceId"] = vPlaneResourceId; | 1573 map["vPlaneResourceId"] = vPlaneResourceId; |
1602 map["aPlaneResourceId"] = aPlaneResourceId; | 1574 map["aPlaneResourceId"] = aPlaneResourceId; |
1603 map["colorSpace"] = colorSpace; | 1575 map["colorSpace"] = colorSpace; |
1604 return map; | 1576 return map; |
1605 } | 1577 } |
1606 } | 1578 } |
1607 | 1579 |
1608 | 1580 |
1609 | |
1610 | |
1611 class Quad extends bindings.Struct { | 1581 class Quad extends bindings.Struct { |
1612 static const List<bindings.StructDataHeader> kVersions = const [ | 1582 static const List<bindings.StructDataHeader> kVersions = const [ |
1613 const bindings.StructDataHeader(128, 0) | 1583 const bindings.StructDataHeader(128, 0) |
1614 ]; | 1584 ]; |
1615 Material material = null; | 1585 Material material = null; |
1616 bool needsBlending = false; | 1586 bool needsBlending = false; |
1617 geometry_mojom.Rect rect = null; | 1587 geometry_mojom.Rect rect = null; |
1618 geometry_mojom.Rect opaqueRect = null; | 1588 geometry_mojom.Rect opaqueRect = null; |
1619 geometry_mojom.Rect visibleRect = null; | 1589 geometry_mojom.Rect visibleRect = null; |
1620 int sharedQuadStateIndex = 0; | 1590 int sharedQuadStateIndex = 0; |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1900 map["surfaceQuadState"] = surfaceQuadState; | 1870 map["surfaceQuadState"] = surfaceQuadState; |
1901 map["textureQuadState"] = textureQuadState; | 1871 map["textureQuadState"] = textureQuadState; |
1902 map["tileQuadState"] = tileQuadState; | 1872 map["tileQuadState"] = tileQuadState; |
1903 map["streamVideoQuadState"] = streamVideoQuadState; | 1873 map["streamVideoQuadState"] = streamVideoQuadState; |
1904 map["yuvVideoQuadState"] = yuvVideoQuadState; | 1874 map["yuvVideoQuadState"] = yuvVideoQuadState; |
1905 return map; | 1875 return map; |
1906 } | 1876 } |
1907 } | 1877 } |
1908 | 1878 |
1909 | 1879 |
1910 | |
1911 | |
1912 class SharedQuadState extends bindings.Struct { | 1880 class SharedQuadState extends bindings.Struct { |
1913 static const List<bindings.StructDataHeader> kVersions = const [ | 1881 static const List<bindings.StructDataHeader> kVersions = const [ |
1914 const bindings.StructDataHeader(56, 0) | 1882 const bindings.StructDataHeader(56, 0) |
1915 ]; | 1883 ]; |
1916 geometry_mojom.Transform contentToTargetTransform = null; | 1884 geometry_mojom.Transform contentToTargetTransform = null; |
1917 geometry_mojom.Size contentBounds = null; | 1885 geometry_mojom.Size contentBounds = null; |
1918 geometry_mojom.Rect visibleContentRect = null; | 1886 geometry_mojom.Rect visibleContentRect = null; |
1919 geometry_mojom.Rect clipRect = null; | 1887 geometry_mojom.Rect clipRect = null; |
1920 bool isClipped = false; | 1888 bool isClipped = false; |
1921 double opacity = 0.0; | 1889 double opacity = 0.0; |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2080 map["clipRect"] = clipRect; | 2048 map["clipRect"] = clipRect; |
2081 map["isClipped"] = isClipped; | 2049 map["isClipped"] = isClipped; |
2082 map["opacity"] = opacity; | 2050 map["opacity"] = opacity; |
2083 map["blendMode"] = blendMode; | 2051 map["blendMode"] = blendMode; |
2084 map["sortingContextId"] = sortingContextId; | 2052 map["sortingContextId"] = sortingContextId; |
2085 return map; | 2053 return map; |
2086 } | 2054 } |
2087 } | 2055 } |
2088 | 2056 |
2089 | 2057 |
2090 | |
2091 | |
2092 class Pass extends bindings.Struct { | 2058 class Pass extends bindings.Struct { |
2093 static const List<bindings.StructDataHeader> kVersions = const [ | 2059 static const List<bindings.StructDataHeader> kVersions = const [ |
2094 const bindings.StructDataHeader(56, 0) | 2060 const bindings.StructDataHeader(56, 0) |
2095 ]; | 2061 ]; |
2096 int id = 0; | 2062 int id = 0; |
2097 bool hasTransparentBackground = false; | 2063 bool hasTransparentBackground = false; |
2098 geometry_mojom.Rect outputRect = null; | 2064 geometry_mojom.Rect outputRect = null; |
2099 geometry_mojom.Rect damageRect = null; | 2065 geometry_mojom.Rect damageRect = null; |
2100 geometry_mojom.Transform transformToRootTarget = null; | 2066 geometry_mojom.Transform transformToRootTarget = null; |
2101 List<Quad> quads = null; | 2067 List<Quad> quads = null; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2274 map["damageRect"] = damageRect; | 2240 map["damageRect"] = damageRect; |
2275 map["transformToRootTarget"] = transformToRootTarget; | 2241 map["transformToRootTarget"] = transformToRootTarget; |
2276 map["quads"] = quads; | 2242 map["quads"] = quads; |
2277 map["sharedQuadStates"] = sharedQuadStates; | 2243 map["sharedQuadStates"] = sharedQuadStates; |
2278 return map; | 2244 return map; |
2279 } | 2245 } |
2280 } | 2246 } |
2281 | 2247 |
2282 | 2248 |
2283 | 2249 |
2284 | |
2285 | |
2286 | |
OLD | NEW |