| OLD | NEW |
| 1 // WARNING: DO NOT EDIT. This file was generated by a program. | 1 // WARNING: DO NOT EDIT. This file was generated by a program. |
| 2 // See $MOJO_SDK/tools/bindings/mojom_bindings_generator.py. | 2 // See $MOJO_SDK/tools/bindings/mojom_bindings_generator.py. |
| 3 | 3 |
| 4 library quads_mojom; | 4 library quads_mojom; |
| 5 import 'package:mojo/bindings.dart' as bindings; | 5 import 'package:mojo/bindings.dart' as bindings; |
| 6 | 6 |
| 7 import 'package:mojo_services/mojo/geometry.mojom.dart' as geometry_mojom; | 7 import 'package:mojo_services/mojo/geometry.mojom.dart' as geometry_mojom; |
| 8 import 'package:mojo_services/mojo/surface_id.mojom.dart' as surface_id_mojom; | 8 import 'package:mojo_services/mojo/surface_id.mojom.dart' as surface_id_mojom; |
| 9 | 9 |
| 10 class YuvColorSpace extends bindings.MojoEnum { | 10 class YuvColorSpace extends bindings.MojoEnum { |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 | 446 |
| 447 | 447 |
| 448 class Color extends bindings.Struct { | 448 class Color extends bindings.Struct { |
| 449 static const List<bindings.StructDataHeader> kVersions = const [ | 449 static const List<bindings.StructDataHeader> kVersions = const [ |
| 450 const bindings.StructDataHeader(16, 0) | 450 const bindings.StructDataHeader(16, 0) |
| 451 ]; | 451 ]; |
| 452 int rgba = 0; | 452 int rgba = 0; |
| 453 | 453 |
| 454 Color() : super(kVersions.last.size); | 454 Color() : super(kVersions.last.size); |
| 455 | 455 |
| 456 Color.init( |
| 457 int this.rgba |
| 458 ) : super(kVersions.last.size); |
| 459 |
| 456 static Color deserialize(bindings.Message message) { | 460 static Color deserialize(bindings.Message message) { |
| 457 var decoder = new bindings.Decoder(message); | 461 var decoder = new bindings.Decoder(message); |
| 458 var result = decode(decoder); | 462 var result = decode(decoder); |
| 459 if (decoder.excessHandles != null) { | 463 if (decoder.excessHandles != null) { |
| 460 decoder.excessHandles.forEach((h) => h.close()); | 464 decoder.excessHandles.forEach((h) => h.close()); |
| 461 } | 465 } |
| 462 return result; | 466 return result; |
| 463 } | 467 } |
| 464 | 468 |
| 465 static Color decode(bindings.Decoder decoder0) { | 469 static Color decode(bindings.Decoder decoder0) { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 } | 521 } |
| 518 | 522 |
| 519 | 523 |
| 520 class CheckerboardQuadState extends bindings.Struct { | 524 class CheckerboardQuadState extends bindings.Struct { |
| 521 static const List<bindings.StructDataHeader> kVersions = const [ | 525 static const List<bindings.StructDataHeader> kVersions = const [ |
| 522 const bindings.StructDataHeader(8, 0) | 526 const bindings.StructDataHeader(8, 0) |
| 523 ]; | 527 ]; |
| 524 | 528 |
| 525 CheckerboardQuadState() : super(kVersions.last.size); | 529 CheckerboardQuadState() : super(kVersions.last.size); |
| 526 | 530 |
| 531 CheckerboardQuadState.init( |
| 532 ) : super(kVersions.last.size); |
| 533 |
| 527 static CheckerboardQuadState deserialize(bindings.Message message) { | 534 static CheckerboardQuadState deserialize(bindings.Message message) { |
| 528 var decoder = new bindings.Decoder(message); | 535 var decoder = new bindings.Decoder(message); |
| 529 var result = decode(decoder); | 536 var result = decode(decoder); |
| 530 if (decoder.excessHandles != null) { | 537 if (decoder.excessHandles != null) { |
| 531 decoder.excessHandles.forEach((h) => h.close()); | 538 decoder.excessHandles.forEach((h) => h.close()); |
| 532 } | 539 } |
| 533 return result; | 540 return result; |
| 534 } | 541 } |
| 535 | 542 |
| 536 static CheckerboardQuadState decode(bindings.Decoder decoder0) { | 543 static CheckerboardQuadState decode(bindings.Decoder decoder0) { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 } | 582 } |
| 576 | 583 |
| 577 | 584 |
| 578 class DebugBorderQuadState extends bindings.Struct { | 585 class DebugBorderQuadState extends bindings.Struct { |
| 579 static const List<bindings.StructDataHeader> kVersions = const [ | 586 static const List<bindings.StructDataHeader> kVersions = const [ |
| 580 const bindings.StructDataHeader(8, 0) | 587 const bindings.StructDataHeader(8, 0) |
| 581 ]; | 588 ]; |
| 582 | 589 |
| 583 DebugBorderQuadState() : super(kVersions.last.size); | 590 DebugBorderQuadState() : super(kVersions.last.size); |
| 584 | 591 |
| 592 DebugBorderQuadState.init( |
| 593 ) : super(kVersions.last.size); |
| 594 |
| 585 static DebugBorderQuadState deserialize(bindings.Message message) { | 595 static DebugBorderQuadState deserialize(bindings.Message message) { |
| 586 var decoder = new bindings.Decoder(message); | 596 var decoder = new bindings.Decoder(message); |
| 587 var result = decode(decoder); | 597 var result = decode(decoder); |
| 588 if (decoder.excessHandles != null) { | 598 if (decoder.excessHandles != null) { |
| 589 decoder.excessHandles.forEach((h) => h.close()); | 599 decoder.excessHandles.forEach((h) => h.close()); |
| 590 } | 600 } |
| 591 return result; | 601 return result; |
| 592 } | 602 } |
| 593 | 603 |
| 594 static DebugBorderQuadState decode(bindings.Decoder decoder0) { | 604 static DebugBorderQuadState decode(bindings.Decoder decoder0) { |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 } | 643 } |
| 634 | 644 |
| 635 | 645 |
| 636 class IoSurfaceContentQuadState extends bindings.Struct { | 646 class IoSurfaceContentQuadState extends bindings.Struct { |
| 637 static const List<bindings.StructDataHeader> kVersions = const [ | 647 static const List<bindings.StructDataHeader> kVersions = const [ |
| 638 const bindings.StructDataHeader(8, 0) | 648 const bindings.StructDataHeader(8, 0) |
| 639 ]; | 649 ]; |
| 640 | 650 |
| 641 IoSurfaceContentQuadState() : super(kVersions.last.size); | 651 IoSurfaceContentQuadState() : super(kVersions.last.size); |
| 642 | 652 |
| 653 IoSurfaceContentQuadState.init( |
| 654 ) : super(kVersions.last.size); |
| 655 |
| 643 static IoSurfaceContentQuadState deserialize(bindings.Message message) { | 656 static IoSurfaceContentQuadState deserialize(bindings.Message message) { |
| 644 var decoder = new bindings.Decoder(message); | 657 var decoder = new bindings.Decoder(message); |
| 645 var result = decode(decoder); | 658 var result = decode(decoder); |
| 646 if (decoder.excessHandles != null) { | 659 if (decoder.excessHandles != null) { |
| 647 decoder.excessHandles.forEach((h) => h.close()); | 660 decoder.excessHandles.forEach((h) => h.close()); |
| 648 } | 661 } |
| 649 return result; | 662 return result; |
| 650 } | 663 } |
| 651 | 664 |
| 652 static IoSurfaceContentQuadState decode(bindings.Decoder decoder0) { | 665 static IoSurfaceContentQuadState decode(bindings.Decoder decoder0) { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 693 | 706 |
| 694 class RenderPassId extends bindings.Struct { | 707 class RenderPassId extends bindings.Struct { |
| 695 static const List<bindings.StructDataHeader> kVersions = const [ | 708 static const List<bindings.StructDataHeader> kVersions = const [ |
| 696 const bindings.StructDataHeader(16, 0) | 709 const bindings.StructDataHeader(16, 0) |
| 697 ]; | 710 ]; |
| 698 int layerId = 0; | 711 int layerId = 0; |
| 699 int index = 0; | 712 int index = 0; |
| 700 | 713 |
| 701 RenderPassId() : super(kVersions.last.size); | 714 RenderPassId() : super(kVersions.last.size); |
| 702 | 715 |
| 716 RenderPassId.init( |
| 717 int this.layerId, |
| 718 int this.index |
| 719 ) : super(kVersions.last.size); |
| 720 |
| 703 static RenderPassId deserialize(bindings.Message message) { | 721 static RenderPassId deserialize(bindings.Message message) { |
| 704 var decoder = new bindings.Decoder(message); | 722 var decoder = new bindings.Decoder(message); |
| 705 var result = decode(decoder); | 723 var result = decode(decoder); |
| 706 if (decoder.excessHandles != null) { | 724 if (decoder.excessHandles != null) { |
| 707 decoder.excessHandles.forEach((h) => h.close()); | 725 decoder.excessHandles.forEach((h) => h.close()); |
| 708 } | 726 } |
| 709 return result; | 727 return result; |
| 710 } | 728 } |
| 711 | 729 |
| 712 static RenderPassId decode(bindings.Decoder decoder0) { | 730 static RenderPassId decode(bindings.Decoder decoder0) { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 const bindings.StructDataHeader(48, 0) | 800 const bindings.StructDataHeader(48, 0) |
| 783 ]; | 801 ]; |
| 784 RenderPassId renderPassId = null; | 802 RenderPassId renderPassId = null; |
| 785 int maskResourceId = 0; | 803 int maskResourceId = 0; |
| 786 geometry_mojom.PointF maskUvScale = null; | 804 geometry_mojom.PointF maskUvScale = null; |
| 787 geometry_mojom.Size maskTextureSize = null; | 805 geometry_mojom.Size maskTextureSize = null; |
| 788 geometry_mojom.PointF filtersScale = null; | 806 geometry_mojom.PointF filtersScale = null; |
| 789 | 807 |
| 790 RenderPassQuadState() : super(kVersions.last.size); | 808 RenderPassQuadState() : super(kVersions.last.size); |
| 791 | 809 |
| 810 RenderPassQuadState.init( |
| 811 RenderPassId this.renderPassId, |
| 812 int this.maskResourceId, |
| 813 geometry_mojom.PointF this.maskUvScale, |
| 814 geometry_mojom.Size this.maskTextureSize, |
| 815 geometry_mojom.PointF this.filtersScale |
| 816 ) : super(kVersions.last.size); |
| 817 |
| 792 static RenderPassQuadState deserialize(bindings.Message message) { | 818 static RenderPassQuadState deserialize(bindings.Message message) { |
| 793 var decoder = new bindings.Decoder(message); | 819 var decoder = new bindings.Decoder(message); |
| 794 var result = decode(decoder); | 820 var result = decode(decoder); |
| 795 if (decoder.excessHandles != null) { | 821 if (decoder.excessHandles != null) { |
| 796 decoder.excessHandles.forEach((h) => h.close()); | 822 decoder.excessHandles.forEach((h) => h.close()); |
| 797 } | 823 } |
| 798 return result; | 824 return result; |
| 799 } | 825 } |
| 800 | 826 |
| 801 static RenderPassQuadState decode(bindings.Decoder decoder0) { | 827 static RenderPassQuadState decode(bindings.Decoder decoder0) { |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 | 937 |
| 912 class SolidColorQuadState extends bindings.Struct { | 938 class SolidColorQuadState extends bindings.Struct { |
| 913 static const List<bindings.StructDataHeader> kVersions = const [ | 939 static const List<bindings.StructDataHeader> kVersions = const [ |
| 914 const bindings.StructDataHeader(24, 0) | 940 const bindings.StructDataHeader(24, 0) |
| 915 ]; | 941 ]; |
| 916 Color color = null; | 942 Color color = null; |
| 917 bool forceAntiAliasingOff = false; | 943 bool forceAntiAliasingOff = false; |
| 918 | 944 |
| 919 SolidColorQuadState() : super(kVersions.last.size); | 945 SolidColorQuadState() : super(kVersions.last.size); |
| 920 | 946 |
| 947 SolidColorQuadState.init( |
| 948 Color this.color, |
| 949 bool this.forceAntiAliasingOff |
| 950 ) : super(kVersions.last.size); |
| 951 |
| 921 static SolidColorQuadState deserialize(bindings.Message message) { | 952 static SolidColorQuadState deserialize(bindings.Message message) { |
| 922 var decoder = new bindings.Decoder(message); | 953 var decoder = new bindings.Decoder(message); |
| 923 var result = decode(decoder); | 954 var result = decode(decoder); |
| 924 if (decoder.excessHandles != null) { | 955 if (decoder.excessHandles != null) { |
| 925 decoder.excessHandles.forEach((h) => h.close()); | 956 decoder.excessHandles.forEach((h) => h.close()); |
| 926 } | 957 } |
| 927 return result; | 958 return result; |
| 928 } | 959 } |
| 929 | 960 |
| 930 static SolidColorQuadState decode(bindings.Decoder decoder0) { | 961 static SolidColorQuadState decode(bindings.Decoder decoder0) { |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 997 | 1028 |
| 998 | 1029 |
| 999 class SurfaceQuadState extends bindings.Struct { | 1030 class SurfaceQuadState extends bindings.Struct { |
| 1000 static const List<bindings.StructDataHeader> kVersions = const [ | 1031 static const List<bindings.StructDataHeader> kVersions = const [ |
| 1001 const bindings.StructDataHeader(16, 0) | 1032 const bindings.StructDataHeader(16, 0) |
| 1002 ]; | 1033 ]; |
| 1003 surface_id_mojom.SurfaceId surface = null; | 1034 surface_id_mojom.SurfaceId surface = null; |
| 1004 | 1035 |
| 1005 SurfaceQuadState() : super(kVersions.last.size); | 1036 SurfaceQuadState() : super(kVersions.last.size); |
| 1006 | 1037 |
| 1038 SurfaceQuadState.init( |
| 1039 surface_id_mojom.SurfaceId this.surface |
| 1040 ) : super(kVersions.last.size); |
| 1041 |
| 1007 static SurfaceQuadState deserialize(bindings.Message message) { | 1042 static SurfaceQuadState deserialize(bindings.Message message) { |
| 1008 var decoder = new bindings.Decoder(message); | 1043 var decoder = new bindings.Decoder(message); |
| 1009 var result = decode(decoder); | 1044 var result = decode(decoder); |
| 1010 if (decoder.excessHandles != null) { | 1045 if (decoder.excessHandles != null) { |
| 1011 decoder.excessHandles.forEach((h) => h.close()); | 1046 decoder.excessHandles.forEach((h) => h.close()); |
| 1012 } | 1047 } |
| 1013 return result; | 1048 return result; |
| 1014 } | 1049 } |
| 1015 | 1050 |
| 1016 static SurfaceQuadState decode(bindings.Decoder decoder0) { | 1051 static SurfaceQuadState decode(bindings.Decoder decoder0) { |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1077 bool premultipliedAlpha = false; | 1112 bool premultipliedAlpha = false; |
| 1078 bool flipped = false; | 1113 bool flipped = false; |
| 1079 bool nearestNeighbor = false; | 1114 bool nearestNeighbor = false; |
| 1080 geometry_mojom.PointF uvTopLeft = null; | 1115 geometry_mojom.PointF uvTopLeft = null; |
| 1081 geometry_mojom.PointF uvBottomRight = null; | 1116 geometry_mojom.PointF uvBottomRight = null; |
| 1082 Color backgroundColor = null; | 1117 Color backgroundColor = null; |
| 1083 List<double> vertexOpacity = null; | 1118 List<double> vertexOpacity = null; |
| 1084 | 1119 |
| 1085 TextureQuadState() : super(kVersions.last.size); | 1120 TextureQuadState() : super(kVersions.last.size); |
| 1086 | 1121 |
| 1122 TextureQuadState.init( |
| 1123 int this.resourceId, |
| 1124 bool this.premultipliedAlpha, |
| 1125 bool this.flipped, |
| 1126 bool this.nearestNeighbor, |
| 1127 geometry_mojom.PointF this.uvTopLeft, |
| 1128 geometry_mojom.PointF this.uvBottomRight, |
| 1129 Color this.backgroundColor, |
| 1130 List<double> this.vertexOpacity |
| 1131 ) : super(kVersions.last.size); |
| 1132 |
| 1087 static TextureQuadState deserialize(bindings.Message message) { | 1133 static TextureQuadState deserialize(bindings.Message message) { |
| 1088 var decoder = new bindings.Decoder(message); | 1134 var decoder = new bindings.Decoder(message); |
| 1089 var result = decode(decoder); | 1135 var result = decode(decoder); |
| 1090 if (decoder.excessHandles != null) { | 1136 if (decoder.excessHandles != null) { |
| 1091 decoder.excessHandles.forEach((h) => h.close()); | 1137 decoder.excessHandles.forEach((h) => h.close()); |
| 1092 } | 1138 } |
| 1093 return result; | 1139 return result; |
| 1094 } | 1140 } |
| 1095 | 1141 |
| 1096 static TextureQuadState decode(bindings.Decoder decoder0) { | 1142 static TextureQuadState decode(bindings.Decoder decoder0) { |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1247 const bindings.StructDataHeader(32, 0) | 1293 const bindings.StructDataHeader(32, 0) |
| 1248 ]; | 1294 ]; |
| 1249 geometry_mojom.RectF texCoordRect = null; | 1295 geometry_mojom.RectF texCoordRect = null; |
| 1250 geometry_mojom.Size textureSize = null; | 1296 geometry_mojom.Size textureSize = null; |
| 1251 bool swizzleContents = false; | 1297 bool swizzleContents = false; |
| 1252 bool nearestNeighbor = false; | 1298 bool nearestNeighbor = false; |
| 1253 int resourceId = 0; | 1299 int resourceId = 0; |
| 1254 | 1300 |
| 1255 TileQuadState() : super(kVersions.last.size); | 1301 TileQuadState() : super(kVersions.last.size); |
| 1256 | 1302 |
| 1303 TileQuadState.init( |
| 1304 geometry_mojom.RectF this.texCoordRect, |
| 1305 geometry_mojom.Size this.textureSize, |
| 1306 bool this.swizzleContents, |
| 1307 bool this.nearestNeighbor, |
| 1308 int this.resourceId |
| 1309 ) : super(kVersions.last.size); |
| 1310 |
| 1257 static TileQuadState deserialize(bindings.Message message) { | 1311 static TileQuadState deserialize(bindings.Message message) { |
| 1258 var decoder = new bindings.Decoder(message); | 1312 var decoder = new bindings.Decoder(message); |
| 1259 var result = decode(decoder); | 1313 var result = decode(decoder); |
| 1260 if (decoder.excessHandles != null) { | 1314 if (decoder.excessHandles != null) { |
| 1261 decoder.excessHandles.forEach((h) => h.close()); | 1315 decoder.excessHandles.forEach((h) => h.close()); |
| 1262 } | 1316 } |
| 1263 return result; | 1317 return result; |
| 1264 } | 1318 } |
| 1265 | 1319 |
| 1266 static TileQuadState decode(bindings.Decoder decoder0) { | 1320 static TileQuadState decode(bindings.Decoder decoder0) { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1372 } | 1426 } |
| 1373 | 1427 |
| 1374 | 1428 |
| 1375 class StreamVideoQuadState extends bindings.Struct { | 1429 class StreamVideoQuadState extends bindings.Struct { |
| 1376 static const List<bindings.StructDataHeader> kVersions = const [ | 1430 static const List<bindings.StructDataHeader> kVersions = const [ |
| 1377 const bindings.StructDataHeader(8, 0) | 1431 const bindings.StructDataHeader(8, 0) |
| 1378 ]; | 1432 ]; |
| 1379 | 1433 |
| 1380 StreamVideoQuadState() : super(kVersions.last.size); | 1434 StreamVideoQuadState() : super(kVersions.last.size); |
| 1381 | 1435 |
| 1436 StreamVideoQuadState.init( |
| 1437 ) : super(kVersions.last.size); |
| 1438 |
| 1382 static StreamVideoQuadState deserialize(bindings.Message message) { | 1439 static StreamVideoQuadState deserialize(bindings.Message message) { |
| 1383 var decoder = new bindings.Decoder(message); | 1440 var decoder = new bindings.Decoder(message); |
| 1384 var result = decode(decoder); | 1441 var result = decode(decoder); |
| 1385 if (decoder.excessHandles != null) { | 1442 if (decoder.excessHandles != null) { |
| 1386 decoder.excessHandles.forEach((h) => h.close()); | 1443 decoder.excessHandles.forEach((h) => h.close()); |
| 1387 } | 1444 } |
| 1388 return result; | 1445 return result; |
| 1389 } | 1446 } |
| 1390 | 1447 |
| 1391 static StreamVideoQuadState decode(bindings.Decoder decoder0) { | 1448 static StreamVideoQuadState decode(bindings.Decoder decoder0) { |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1436 ]; | 1493 ]; |
| 1437 geometry_mojom.RectF texCoordRect = null; | 1494 geometry_mojom.RectF texCoordRect = null; |
| 1438 int yPlaneResourceId = 0; | 1495 int yPlaneResourceId = 0; |
| 1439 int uPlaneResourceId = 0; | 1496 int uPlaneResourceId = 0; |
| 1440 int vPlaneResourceId = 0; | 1497 int vPlaneResourceId = 0; |
| 1441 int aPlaneResourceId = 0; | 1498 int aPlaneResourceId = 0; |
| 1442 YuvColorSpace colorSpace = null; | 1499 YuvColorSpace colorSpace = null; |
| 1443 | 1500 |
| 1444 YuvVideoQuadState() : super(kVersions.last.size); | 1501 YuvVideoQuadState() : super(kVersions.last.size); |
| 1445 | 1502 |
| 1503 YuvVideoQuadState.init( |
| 1504 geometry_mojom.RectF this.texCoordRect, |
| 1505 int this.yPlaneResourceId, |
| 1506 int this.uPlaneResourceId, |
| 1507 int this.vPlaneResourceId, |
| 1508 int this.aPlaneResourceId, |
| 1509 YuvColorSpace this.colorSpace |
| 1510 ) : super(kVersions.last.size); |
| 1511 |
| 1446 static YuvVideoQuadState deserialize(bindings.Message message) { | 1512 static YuvVideoQuadState deserialize(bindings.Message message) { |
| 1447 var decoder = new bindings.Decoder(message); | 1513 var decoder = new bindings.Decoder(message); |
| 1448 var result = decode(decoder); | 1514 var result = decode(decoder); |
| 1449 if (decoder.excessHandles != null) { | 1515 if (decoder.excessHandles != null) { |
| 1450 decoder.excessHandles.forEach((h) => h.close()); | 1516 decoder.excessHandles.forEach((h) => h.close()); |
| 1451 } | 1517 } |
| 1452 return result; | 1518 return result; |
| 1453 } | 1519 } |
| 1454 | 1520 |
| 1455 static YuvVideoQuadState decode(bindings.Decoder decoder0) { | 1521 static YuvVideoQuadState decode(bindings.Decoder decoder0) { |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1593 RenderPassQuadState renderPassQuadState = null; | 1659 RenderPassQuadState renderPassQuadState = null; |
| 1594 SolidColorQuadState solidColorQuadState = null; | 1660 SolidColorQuadState solidColorQuadState = null; |
| 1595 SurfaceQuadState surfaceQuadState = null; | 1661 SurfaceQuadState surfaceQuadState = null; |
| 1596 TextureQuadState textureQuadState = null; | 1662 TextureQuadState textureQuadState = null; |
| 1597 TileQuadState tileQuadState = null; | 1663 TileQuadState tileQuadState = null; |
| 1598 StreamVideoQuadState streamVideoQuadState = null; | 1664 StreamVideoQuadState streamVideoQuadState = null; |
| 1599 YuvVideoQuadState yuvVideoQuadState = null; | 1665 YuvVideoQuadState yuvVideoQuadState = null; |
| 1600 | 1666 |
| 1601 Quad() : super(kVersions.last.size); | 1667 Quad() : super(kVersions.last.size); |
| 1602 | 1668 |
| 1669 Quad.init( |
| 1670 Material this.material, |
| 1671 bool this.needsBlending, |
| 1672 geometry_mojom.Rect this.rect, |
| 1673 geometry_mojom.Rect this.opaqueRect, |
| 1674 geometry_mojom.Rect this.visibleRect, |
| 1675 int this.sharedQuadStateIndex, |
| 1676 CheckerboardQuadState this.checkerboardQuadState, |
| 1677 DebugBorderQuadState this.debugBorderQuadState, |
| 1678 IoSurfaceContentQuadState this.ioSurfaceQuadState, |
| 1679 RenderPassQuadState this.renderPassQuadState, |
| 1680 SolidColorQuadState this.solidColorQuadState, |
| 1681 SurfaceQuadState this.surfaceQuadState, |
| 1682 TextureQuadState this.textureQuadState, |
| 1683 TileQuadState this.tileQuadState, |
| 1684 StreamVideoQuadState this.streamVideoQuadState, |
| 1685 YuvVideoQuadState this.yuvVideoQuadState |
| 1686 ) : super(kVersions.last.size); |
| 1687 |
| 1603 static Quad deserialize(bindings.Message message) { | 1688 static Quad deserialize(bindings.Message message) { |
| 1604 var decoder = new bindings.Decoder(message); | 1689 var decoder = new bindings.Decoder(message); |
| 1605 var result = decode(decoder); | 1690 var result = decode(decoder); |
| 1606 if (decoder.excessHandles != null) { | 1691 if (decoder.excessHandles != null) { |
| 1607 decoder.excessHandles.forEach((h) => h.close()); | 1692 decoder.excessHandles.forEach((h) => h.close()); |
| 1608 } | 1693 } |
| 1609 return result; | 1694 return result; |
| 1610 } | 1695 } |
| 1611 | 1696 |
| 1612 static Quad decode(bindings.Decoder decoder0) { | 1697 static Quad decode(bindings.Decoder decoder0) { |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1884 geometry_mojom.Size contentBounds = null; | 1969 geometry_mojom.Size contentBounds = null; |
| 1885 geometry_mojom.Rect visibleContentRect = null; | 1970 geometry_mojom.Rect visibleContentRect = null; |
| 1886 geometry_mojom.Rect clipRect = null; | 1971 geometry_mojom.Rect clipRect = null; |
| 1887 bool isClipped = false; | 1972 bool isClipped = false; |
| 1888 double opacity = 0.0; | 1973 double opacity = 0.0; |
| 1889 SkXfermode blendMode = null; | 1974 SkXfermode blendMode = null; |
| 1890 int sortingContextId = 0; | 1975 int sortingContextId = 0; |
| 1891 | 1976 |
| 1892 SharedQuadState() : super(kVersions.last.size); | 1977 SharedQuadState() : super(kVersions.last.size); |
| 1893 | 1978 |
| 1979 SharedQuadState.init( |
| 1980 geometry_mojom.Transform this.contentToTargetTransform, |
| 1981 geometry_mojom.Size this.contentBounds, |
| 1982 geometry_mojom.Rect this.visibleContentRect, |
| 1983 geometry_mojom.Rect this.clipRect, |
| 1984 bool this.isClipped, |
| 1985 double this.opacity, |
| 1986 SkXfermode this.blendMode, |
| 1987 int this.sortingContextId |
| 1988 ) : super(kVersions.last.size); |
| 1989 |
| 1894 static SharedQuadState deserialize(bindings.Message message) { | 1990 static SharedQuadState deserialize(bindings.Message message) { |
| 1895 var decoder = new bindings.Decoder(message); | 1991 var decoder = new bindings.Decoder(message); |
| 1896 var result = decode(decoder); | 1992 var result = decode(decoder); |
| 1897 if (decoder.excessHandles != null) { | 1993 if (decoder.excessHandles != null) { |
| 1898 decoder.excessHandles.forEach((h) => h.close()); | 1994 decoder.excessHandles.forEach((h) => h.close()); |
| 1899 } | 1995 } |
| 1900 return result; | 1996 return result; |
| 1901 } | 1997 } |
| 1902 | 1998 |
| 1903 static SharedQuadState decode(bindings.Decoder decoder0) { | 1999 static SharedQuadState decode(bindings.Decoder decoder0) { |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2061 int id = 0; | 2157 int id = 0; |
| 2062 bool hasTransparentBackground = false; | 2158 bool hasTransparentBackground = false; |
| 2063 geometry_mojom.Rect outputRect = null; | 2159 geometry_mojom.Rect outputRect = null; |
| 2064 geometry_mojom.Rect damageRect = null; | 2160 geometry_mojom.Rect damageRect = null; |
| 2065 geometry_mojom.Transform transformToRootTarget = null; | 2161 geometry_mojom.Transform transformToRootTarget = null; |
| 2066 List<Quad> quads = null; | 2162 List<Quad> quads = null; |
| 2067 List<SharedQuadState> sharedQuadStates = null; | 2163 List<SharedQuadState> sharedQuadStates = null; |
| 2068 | 2164 |
| 2069 Pass() : super(kVersions.last.size); | 2165 Pass() : super(kVersions.last.size); |
| 2070 | 2166 |
| 2167 Pass.init( |
| 2168 int this.id, |
| 2169 bool this.hasTransparentBackground, |
| 2170 geometry_mojom.Rect this.outputRect, |
| 2171 geometry_mojom.Rect this.damageRect, |
| 2172 geometry_mojom.Transform this.transformToRootTarget, |
| 2173 List<Quad> this.quads, |
| 2174 List<SharedQuadState> this.sharedQuadStates |
| 2175 ) : super(kVersions.last.size); |
| 2176 |
| 2071 static Pass deserialize(bindings.Message message) { | 2177 static Pass deserialize(bindings.Message message) { |
| 2072 var decoder = new bindings.Decoder(message); | 2178 var decoder = new bindings.Decoder(message); |
| 2073 var result = decode(decoder); | 2179 var result = decode(decoder); |
| 2074 if (decoder.excessHandles != null) { | 2180 if (decoder.excessHandles != null) { |
| 2075 decoder.excessHandles.forEach((h) => h.close()); | 2181 decoder.excessHandles.forEach((h) => h.close()); |
| 2076 } | 2182 } |
| 2077 return result; | 2183 return result; |
| 2078 } | 2184 } |
| 2079 | 2185 |
| 2080 static Pass decode(bindings.Decoder decoder0) { | 2186 static Pass decode(bindings.Decoder decoder0) { |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2239 map["damageRect"] = damageRect; | 2345 map["damageRect"] = damageRect; |
| 2240 map["transformToRootTarget"] = transformToRootTarget; | 2346 map["transformToRootTarget"] = transformToRootTarget; |
| 2241 map["quads"] = quads; | 2347 map["quads"] = quads; |
| 2242 map["sharedQuadStates"] = sharedQuadStates; | 2348 map["sharedQuadStates"] = sharedQuadStates; |
| 2243 return map; | 2349 return map; |
| 2244 } | 2350 } |
| 2245 } | 2351 } |
| 2246 | 2352 |
| 2247 | 2353 |
| 2248 | 2354 |
| OLD | NEW |