Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart

Issue 1433183002: Generate Mojom Types for Dart (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Simplify identifier_store for Go and Dart Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/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 class YuvColorSpace extends bindings.MojoEnum { 15 class YuvColorSpace extends bindings.MojoEnum {
14 static const REC_601 = const YuvColorSpace._(0); 16 static const REC_601 = const YuvColorSpace._(0);
15 static const REC_709 = const YuvColorSpace._(1); 17 static const REC_709 = const YuvColorSpace._(1);
16 static const JPEG = const YuvColorSpace._(2); 18 static const JPEG = const YuvColorSpace._(2);
17 19
18 const YuvColorSpace._(int v) : super(v); 20 const YuvColorSpace._(int v) : super(v);
19 21
20 static const Map<String, YuvColorSpace> valuesMap = const { 22 static const Map<String, YuvColorSpace> valuesMap = const {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 } 56 }
55 57
56 String toString() { 58 String toString() {
57 switch(this) { 59 switch(this) {
58 case REC_601: 60 case REC_601:
59 return 'YuvColorSpace.REC_601'; 61 return 'YuvColorSpace.REC_601';
60 case REC_709: 62 case REC_709:
61 return 'YuvColorSpace.REC_709'; 63 return 'YuvColorSpace.REC_709';
62 case JPEG: 64 case JPEG:
63 return 'YuvColorSpace.JPEG'; 65 return 'YuvColorSpace.JPEG';
66 default:
67 return null;
64 } 68 }
65 } 69 }
66 70
67 int toJson() => value; 71 int toJson() => value;
68 } 72 }
73
74 mojom_types.MojomEnum _quads_YUVColorSpace__() {
75 return new mojom_types.MojomEnum()
76 ..declData = (new mojom_types.DeclarationData()..shortName = "YuvColorSpace" )
77 ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
78 ..declData = (new mojom_types.DeclarationData()..shortName = "REC_601")
79 ..enumTypeKey = '_quads_YUVColorSpace__'
80 ..intValue = 0,new mojom_types.EnumValue()
81 ..declData = (new mojom_types.DeclarationData()..shortName = "REC_709")
82 ..enumTypeKey = '_quads_YUVColorSpace__'
83 ..intValue = 1,new mojom_types.EnumValue()
84 ..declData = (new mojom_types.DeclarationData()..shortName = "JPEG")
85 ..enumTypeKey = '_quads_YUVColorSpace__'
86 ..intValue = 2,];
87 }
69 class Material extends bindings.MojoEnum { 88 class Material extends bindings.MojoEnum {
70 static const CHECKERBOARD = const Material._(1); 89 static const CHECKERBOARD = const Material._(1);
71 static const DEBUG_BORDER = const Material._(2); 90 static const DEBUG_BORDER = const Material._(2);
72 static const IO_SURFACE_CONTENT = const Material._(3); 91 static const IO_SURFACE_CONTENT = const Material._(3);
73 static const PICTURE_CONTENT = const Material._(4); 92 static const PICTURE_CONTENT = const Material._(4);
74 static const RENDER_PASS = const Material._(5); 93 static const RENDER_PASS = const Material._(5);
75 static const SOLID_COLOR = const Material._(6); 94 static const SOLID_COLOR = const Material._(6);
76 static const STREAM_VIDEO_CONTENT = const Material._(7); 95 static const STREAM_VIDEO_CONTENT = const Material._(7);
77 static const SURFACE_CONTENT = const Material._(8); 96 static const SURFACE_CONTENT = const Material._(8);
78 static const TEXTURE_CONTENT = const Material._(9); 97 static const TEXTURE_CONTENT = const Material._(9);
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 case STREAM_VIDEO_CONTENT: 185 case STREAM_VIDEO_CONTENT:
167 return 'Material.STREAM_VIDEO_CONTENT'; 186 return 'Material.STREAM_VIDEO_CONTENT';
168 case SURFACE_CONTENT: 187 case SURFACE_CONTENT:
169 return 'Material.SURFACE_CONTENT'; 188 return 'Material.SURFACE_CONTENT';
170 case TEXTURE_CONTENT: 189 case TEXTURE_CONTENT:
171 return 'Material.TEXTURE_CONTENT'; 190 return 'Material.TEXTURE_CONTENT';
172 case TILED_CONTENT: 191 case TILED_CONTENT:
173 return 'Material.TILED_CONTENT'; 192 return 'Material.TILED_CONTENT';
174 case YUV_VIDEO_CONTENT: 193 case YUV_VIDEO_CONTENT:
175 return 'Material.YUV_VIDEO_CONTENT'; 194 return 'Material.YUV_VIDEO_CONTENT';
195 default:
196 return null;
176 } 197 }
177 } 198 }
178 199
179 int toJson() => value; 200 int toJson() => value;
180 } 201 }
202
203 mojom_types.MojomEnum _quads_Material__() {
204 return new mojom_types.MojomEnum()
205 ..declData = (new mojom_types.DeclarationData()..shortName = "Material")
206 ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
207 ..declData = (new mojom_types.DeclarationData()..shortName = "CHECKERBOA RD")
208 ..enumTypeKey = '_quads_Material__'
209 ..intValue = 1,new mojom_types.EnumValue()
210 ..declData = (new mojom_types.DeclarationData()..shortName = "DEBUG_BORD ER")
211 ..enumTypeKey = '_quads_Material__'
212 ..intValue = 2,new mojom_types.EnumValue()
213 ..declData = (new mojom_types.DeclarationData()..shortName = "IO_SURFACE _CONTENT")
214 ..enumTypeKey = '_quads_Material__'
215 ..intValue = 3,new mojom_types.EnumValue()
216 ..declData = (new mojom_types.DeclarationData()..shortName = "PICTURE_CO NTENT")
217 ..enumTypeKey = '_quads_Material__'
218 ..intValue = 4,new mojom_types.EnumValue()
219 ..declData = (new mojom_types.DeclarationData()..shortName = "RENDER_PAS S")
220 ..enumTypeKey = '_quads_Material__'
221 ..intValue = 5,new mojom_types.EnumValue()
222 ..declData = (new mojom_types.DeclarationData()..shortName = "SOLID_COLO R")
223 ..enumTypeKey = '_quads_Material__'
224 ..intValue = 6,new mojom_types.EnumValue()
225 ..declData = (new mojom_types.DeclarationData()..shortName = "STREAM_VID EO_CONTENT")
226 ..enumTypeKey = '_quads_Material__'
227 ..intValue = 7,new mojom_types.EnumValue()
228 ..declData = (new mojom_types.DeclarationData()..shortName = "SURFACE_CO NTENT")
229 ..enumTypeKey = '_quads_Material__'
230 ..intValue = 8,new mojom_types.EnumValue()
231 ..declData = (new mojom_types.DeclarationData()..shortName = "TEXTURE_CO NTENT")
232 ..enumTypeKey = '_quads_Material__'
233 ..intValue = 9,new mojom_types.EnumValue()
234 ..declData = (new mojom_types.DeclarationData()..shortName = "TILED_CONT ENT")
235 ..enumTypeKey = '_quads_Material__'
236 ..intValue = 10,new mojom_types.EnumValue()
237 ..declData = (new mojom_types.DeclarationData()..shortName = "YUV_VIDEO_ CONTENT")
238 ..enumTypeKey = '_quads_Material__'
239 ..intValue = 11,];
240 }
181 class SkXfermode extends bindings.MojoEnum { 241 class SkXfermode extends bindings.MojoEnum {
182 static const kClear_Mode = const SkXfermode._(0); 242 static const kClear_Mode = const SkXfermode._(0);
183 static const kSrc_Mode = const SkXfermode._(1); 243 static const kSrc_Mode = const SkXfermode._(1);
184 static const kDst_Mode = const SkXfermode._(2); 244 static const kDst_Mode = const SkXfermode._(2);
185 static const kSrcOver_Mode = const SkXfermode._(3); 245 static const kSrcOver_Mode = const SkXfermode._(3);
186 static const kDstOver_Mode = const SkXfermode._(4); 246 static const kDstOver_Mode = const SkXfermode._(4);
187 static const kSrcIn_Mode = const SkXfermode._(5); 247 static const kSrcIn_Mode = const SkXfermode._(5);
188 static const kDstIn_Mode = const SkXfermode._(6); 248 static const kDstIn_Mode = const SkXfermode._(6);
189 static const kSrcOut_Mode = const SkXfermode._(7); 249 static const kSrcOut_Mode = const SkXfermode._(7);
190 static const kDstOut_Mode = const SkXfermode._(8); 250 static const kDstOut_Mode = const SkXfermode._(8);
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 case kHue_Mode: 485 case kHue_Mode:
426 return 'SkXfermode.kHue_Mode'; 486 return 'SkXfermode.kHue_Mode';
427 case kSaturation_Mode: 487 case kSaturation_Mode:
428 return 'SkXfermode.kSaturation_Mode'; 488 return 'SkXfermode.kSaturation_Mode';
429 case kColor_Mode: 489 case kColor_Mode:
430 return 'SkXfermode.kColor_Mode'; 490 return 'SkXfermode.kColor_Mode';
431 case kLuminosity_Mode: 491 case kLuminosity_Mode:
432 return 'SkXfermode.kLuminosity_Mode'; 492 return 'SkXfermode.kLuminosity_Mode';
433 case kLastMode: 493 case kLastMode:
434 return 'SkXfermode.kLastMode'; 494 return 'SkXfermode.kLastMode';
495 default:
496 return null;
435 } 497 }
436 } 498 }
437 499
438 int toJson() => value; 500 int toJson() => value;
439 } 501 }
440 502
503 mojom_types.MojomEnum _quads_SkXfermode__() {
504 return new mojom_types.MojomEnum()
505 ..declData = (new mojom_types.DeclarationData()..shortName = "SkXfermode")
506 ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
507 ..declData = (new mojom_types.DeclarationData()..shortName = "CLEAR_MODE ")
508 ..enumTypeKey = '_quads_SkXfermode__'
509 ..intValue = 0,new mojom_types.EnumValue()
510 ..declData = (new mojom_types.DeclarationData()..shortName = "SRC_MODE")
511 ..enumTypeKey = '_quads_SkXfermode__'
512 ..intValue = 1,new mojom_types.EnumValue()
513 ..declData = (new mojom_types.DeclarationData()..shortName = "DST_MODE")
514 ..enumTypeKey = '_quads_SkXfermode__'
515 ..intValue = 2,new mojom_types.EnumValue()
516 ..declData = (new mojom_types.DeclarationData()..shortName = "SRC_OVER_M ODE")
517 ..enumTypeKey = '_quads_SkXfermode__'
518 ..intValue = 3,new mojom_types.EnumValue()
519 ..declData = (new mojom_types.DeclarationData()..shortName = "DST_OVER_M ODE")
520 ..enumTypeKey = '_quads_SkXfermode__'
521 ..intValue = 4,new mojom_types.EnumValue()
522 ..declData = (new mojom_types.DeclarationData()..shortName = "SRC_IN_MOD E")
523 ..enumTypeKey = '_quads_SkXfermode__'
524 ..intValue = 5,new mojom_types.EnumValue()
525 ..declData = (new mojom_types.DeclarationData()..shortName = "DST_IN_MOD E")
526 ..enumTypeKey = '_quads_SkXfermode__'
527 ..intValue = 6,new mojom_types.EnumValue()
528 ..declData = (new mojom_types.DeclarationData()..shortName = "SRC_OUT_MO DE")
529 ..enumTypeKey = '_quads_SkXfermode__'
530 ..intValue = 7,new mojom_types.EnumValue()
531 ..declData = (new mojom_types.DeclarationData()..shortName = "DST_OUT_MO DE")
532 ..enumTypeKey = '_quads_SkXfermode__'
533 ..intValue = 8,new mojom_types.EnumValue()
534 ..declData = (new mojom_types.DeclarationData()..shortName = "SRC_A_TOP_ MODE")
535 ..enumTypeKey = '_quads_SkXfermode__'
536 ..intValue = 9,new mojom_types.EnumValue()
537 ..declData = (new mojom_types.DeclarationData()..shortName = "DST_A_TOP_ MODE")
538 ..enumTypeKey = '_quads_SkXfermode__'
539 ..intValue = 10,new mojom_types.EnumValue()
540 ..declData = (new mojom_types.DeclarationData()..shortName = "XOR_MODE")
541 ..enumTypeKey = '_quads_SkXfermode__'
542 ..intValue = 11,new mojom_types.EnumValue()
543 ..declData = (new mojom_types.DeclarationData()..shortName = "PLUS_MODE" )
544 ..enumTypeKey = '_quads_SkXfermode__'
545 ..intValue = 12,new mojom_types.EnumValue()
546 ..declData = (new mojom_types.DeclarationData()..shortName = "MODULATE_M ODE")
547 ..enumTypeKey = '_quads_SkXfermode__'
548 ..intValue = 13,new mojom_types.EnumValue()
549 ..declData = (new mojom_types.DeclarationData()..shortName = "SCREEN_MOD E")
550 ..enumTypeKey = '_quads_SkXfermode__'
551 ..intValue = 14,new mojom_types.EnumValue()
552 ..declData = (new mojom_types.DeclarationData()..shortName = "LAST_COEFF _MODE")
553 ..enumTypeKey = '_quads_SkXfermode__'
554 ..intValue = 14,new mojom_types.EnumValue()
555 ..declData = (new mojom_types.DeclarationData()..shortName = "OVERLAY_MO DE")
556 ..enumTypeKey = '_quads_SkXfermode__'
557 ..intValue = 15,new mojom_types.EnumValue()
558 ..declData = (new mojom_types.DeclarationData()..shortName = "DARKEN_MOD E")
559 ..enumTypeKey = '_quads_SkXfermode__'
560 ..intValue = 16,new mojom_types.EnumValue()
561 ..declData = (new mojom_types.DeclarationData()..shortName = "LIGHTEN_MO DE")
562 ..enumTypeKey = '_quads_SkXfermode__'
563 ..intValue = 17,new mojom_types.EnumValue()
564 ..declData = (new mojom_types.DeclarationData()..shortName = "COLOR_DODG E_MODE")
565 ..enumTypeKey = '_quads_SkXfermode__'
566 ..intValue = 18,new mojom_types.EnumValue()
567 ..declData = (new mojom_types.DeclarationData()..shortName = "COLOR_BURN _MODE")
568 ..enumTypeKey = '_quads_SkXfermode__'
569 ..intValue = 19,new mojom_types.EnumValue()
570 ..declData = (new mojom_types.DeclarationData()..shortName = "HARD_LIGHT _MODE")
571 ..enumTypeKey = '_quads_SkXfermode__'
572 ..intValue = 20,new mojom_types.EnumValue()
573 ..declData = (new mojom_types.DeclarationData()..shortName = "SOFT_LIGHT _MODE")
574 ..enumTypeKey = '_quads_SkXfermode__'
575 ..intValue = 21,new mojom_types.EnumValue()
576 ..declData = (new mojom_types.DeclarationData()..shortName = "DIFFERENCE _MODE")
577 ..enumTypeKey = '_quads_SkXfermode__'
578 ..intValue = 22,new mojom_types.EnumValue()
579 ..declData = (new mojom_types.DeclarationData()..shortName = "EXCLUSION_ MODE")
580 ..enumTypeKey = '_quads_SkXfermode__'
581 ..intValue = 23,new mojom_types.EnumValue()
582 ..declData = (new mojom_types.DeclarationData()..shortName = "MULTIPLY_M ODE")
583 ..enumTypeKey = '_quads_SkXfermode__'
584 ..intValue = 24,new mojom_types.EnumValue()
585 ..declData = (new mojom_types.DeclarationData()..shortName = "LAST_SEPAR ABLE_MODE")
586 ..enumTypeKey = '_quads_SkXfermode__'
587 ..intValue = 24,new mojom_types.EnumValue()
588 ..declData = (new mojom_types.DeclarationData()..shortName = "HUE_MODE")
589 ..enumTypeKey = '_quads_SkXfermode__'
590 ..intValue = 25,new mojom_types.EnumValue()
591 ..declData = (new mojom_types.DeclarationData()..shortName = "SATURATION _MODE")
592 ..enumTypeKey = '_quads_SkXfermode__'
593 ..intValue = 26,new mojom_types.EnumValue()
594 ..declData = (new mojom_types.DeclarationData()..shortName = "COLOR_MODE ")
595 ..enumTypeKey = '_quads_SkXfermode__'
596 ..intValue = 27,new mojom_types.EnumValue()
597 ..declData = (new mojom_types.DeclarationData()..shortName = "LUMINOSITY _MODE")
598 ..enumTypeKey = '_quads_SkXfermode__'
599 ..intValue = 28,new mojom_types.EnumValue()
600 ..declData = (new mojom_types.DeclarationData()..shortName = "LAST_MODE" )
601 ..enumTypeKey = '_quads_SkXfermode__'
602 ..intValue = 28,];
603 }
604
441 605
442 606
443 class Color extends bindings.Struct { 607 class Color extends bindings.Struct {
444 static const List<bindings.StructDataHeader> kVersions = const [ 608 static const List<bindings.StructDataHeader> kVersions = const [
445 const bindings.StructDataHeader(16, 0) 609 const bindings.StructDataHeader(16, 0)
446 ]; 610 ];
447 int rgba = 0; 611 int rgba = 0;
448 612
449 Color() : super(kVersions.last.size); 613 Color() : super(kVersions.last.size);
450 614
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
499 "rgba: $rgba" ")"; 663 "rgba: $rgba" ")";
500 } 664 }
501 665
502 Map toJson() { 666 Map toJson() {
503 Map map = new Map(); 667 Map map = new Map();
504 map["rgba"] = rgba; 668 map["rgba"] = rgba;
505 return map; 669 return map;
506 } 670 }
507 } 671 }
508 672
673 mojom_types.MojomStruct _quads_Color__() {
674 return new mojom_types.MojomStruct()
675 ..declData = (new mojom_types.DeclarationData()..shortName = 'Color')
676 ..fields = <mojom_types.StructField>[
677 new mojom_types.StructField()
678 ..declData = (new mojom_types.DeclarationData()..shortName = 'Rgba')
679 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT32),
680 ];
681 }
682
509 683
510 class CheckerboardQuadState extends bindings.Struct { 684 class CheckerboardQuadState extends bindings.Struct {
511 static const List<bindings.StructDataHeader> kVersions = const [ 685 static const List<bindings.StructDataHeader> kVersions = const [
512 const bindings.StructDataHeader(8, 0) 686 const bindings.StructDataHeader(8, 0)
513 ]; 687 ];
514 688
515 CheckerboardQuadState() : super(kVersions.last.size); 689 CheckerboardQuadState() : super(kVersions.last.size);
516 690
517 static CheckerboardQuadState deserialize(bindings.Message message) { 691 static CheckerboardQuadState deserialize(bindings.Message message) {
518 var decoder = new bindings.Decoder(message); 692 var decoder = new bindings.Decoder(message);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 String toString() { 731 String toString() {
558 return "CheckerboardQuadState("")"; 732 return "CheckerboardQuadState("")";
559 } 733 }
560 734
561 Map toJson() { 735 Map toJson() {
562 Map map = new Map(); 736 Map map = new Map();
563 return map; 737 return map;
564 } 738 }
565 } 739 }
566 740
741 mojom_types.MojomStruct _quads_CheckerboardQuadState__() {
742 return new mojom_types.MojomStruct()
743 ..declData = (new mojom_types.DeclarationData()..shortName = 'CheckerboardQu adState')
744 ..fields = <mojom_types.StructField>[];
745 }
746
567 747
568 class DebugBorderQuadState extends bindings.Struct { 748 class DebugBorderQuadState extends bindings.Struct {
569 static const List<bindings.StructDataHeader> kVersions = const [ 749 static const List<bindings.StructDataHeader> kVersions = const [
570 const bindings.StructDataHeader(8, 0) 750 const bindings.StructDataHeader(8, 0)
571 ]; 751 ];
572 752
573 DebugBorderQuadState() : super(kVersions.last.size); 753 DebugBorderQuadState() : super(kVersions.last.size);
574 754
575 static DebugBorderQuadState deserialize(bindings.Message message) { 755 static DebugBorderQuadState deserialize(bindings.Message message) {
576 var decoder = new bindings.Decoder(message); 756 var decoder = new bindings.Decoder(message);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 String toString() { 795 String toString() {
616 return "DebugBorderQuadState("")"; 796 return "DebugBorderQuadState("")";
617 } 797 }
618 798
619 Map toJson() { 799 Map toJson() {
620 Map map = new Map(); 800 Map map = new Map();
621 return map; 801 return map;
622 } 802 }
623 } 803 }
624 804
805 mojom_types.MojomStruct _quads_DebugBorderQuadState__() {
806 return new mojom_types.MojomStruct()
807 ..declData = (new mojom_types.DeclarationData()..shortName = 'DebugBorderQua dState')
808 ..fields = <mojom_types.StructField>[];
809 }
810
625 811
626 class IoSurfaceContentQuadState extends bindings.Struct { 812 class IoSurfaceContentQuadState extends bindings.Struct {
627 static const List<bindings.StructDataHeader> kVersions = const [ 813 static const List<bindings.StructDataHeader> kVersions = const [
628 const bindings.StructDataHeader(8, 0) 814 const bindings.StructDataHeader(8, 0)
629 ]; 815 ];
630 816
631 IoSurfaceContentQuadState() : super(kVersions.last.size); 817 IoSurfaceContentQuadState() : super(kVersions.last.size);
632 818
633 static IoSurfaceContentQuadState deserialize(bindings.Message message) { 819 static IoSurfaceContentQuadState deserialize(bindings.Message message) {
634 var decoder = new bindings.Decoder(message); 820 var decoder = new bindings.Decoder(message);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 String toString() { 859 String toString() {
674 return "IoSurfaceContentQuadState("")"; 860 return "IoSurfaceContentQuadState("")";
675 } 861 }
676 862
677 Map toJson() { 863 Map toJson() {
678 Map map = new Map(); 864 Map map = new Map();
679 return map; 865 return map;
680 } 866 }
681 } 867 }
682 868
869 mojom_types.MojomStruct _quads_IoSurfaceContentQuadState__() {
870 return new mojom_types.MojomStruct()
871 ..declData = (new mojom_types.DeclarationData()..shortName = 'IoSurfaceConte ntQuadState')
872 ..fields = <mojom_types.StructField>[];
873 }
874
683 875
684 class RenderPassId extends bindings.Struct { 876 class RenderPassId extends bindings.Struct {
685 static const List<bindings.StructDataHeader> kVersions = const [ 877 static const List<bindings.StructDataHeader> kVersions = const [
686 const bindings.StructDataHeader(16, 0) 878 const bindings.StructDataHeader(16, 0)
687 ]; 879 ];
688 int layerId = 0; 880 int layerId = 0;
689 int index = 0; 881 int index = 0;
690 882
691 RenderPassId() : super(kVersions.last.size); 883 RenderPassId() : super(kVersions.last.size);
692 884
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 } 941 }
750 942
751 Map toJson() { 943 Map toJson() {
752 Map map = new Map(); 944 Map map = new Map();
753 map["layerId"] = layerId; 945 map["layerId"] = layerId;
754 map["index"] = index; 946 map["index"] = index;
755 return map; 947 return map;
756 } 948 }
757 } 949 }
758 950
951 mojom_types.MojomStruct _quads_RenderPassId__() {
952 return new mojom_types.MojomStruct()
953 ..declData = (new mojom_types.DeclarationData()..shortName = 'RenderPassId')
954 ..fields = <mojom_types.StructField>[
955 new mojom_types.StructField()
956 ..declData = (new mojom_types.DeclarationData()..shortName = 'LayerId')
957 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN T32),
958
959 new mojom_types.StructField()
960 ..declData = (new mojom_types.DeclarationData()..shortName = 'Index')
961 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN T32),
962 ];
963 }
964
759 965
760 class RenderPassQuadState extends bindings.Struct { 966 class RenderPassQuadState extends bindings.Struct {
761 static const List<bindings.StructDataHeader> kVersions = const [ 967 static const List<bindings.StructDataHeader> kVersions = const [
762 const bindings.StructDataHeader(48, 0) 968 const bindings.StructDataHeader(48, 0)
763 ]; 969 ];
764 RenderPassId renderPassId = null; 970 RenderPassId renderPassId = null;
765 int maskResourceId = 0; 971 int maskResourceId = 0;
766 geometry_mojom.PointF maskUvScale = null; 972 geometry_mojom.PointF maskUvScale = null;
767 geometry_mojom.Size maskTextureSize = null; 973 geometry_mojom.Size maskTextureSize = null;
768 geometry_mojom.PointF filtersScale = null; 974 geometry_mojom.PointF filtersScale = null;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 Map map = new Map(); 1062 Map map = new Map();
857 map["renderPassId"] = renderPassId; 1063 map["renderPassId"] = renderPassId;
858 map["maskResourceId"] = maskResourceId; 1064 map["maskResourceId"] = maskResourceId;
859 map["maskUvScale"] = maskUvScale; 1065 map["maskUvScale"] = maskUvScale;
860 map["maskTextureSize"] = maskTextureSize; 1066 map["maskTextureSize"] = maskTextureSize;
861 map["filtersScale"] = filtersScale; 1067 map["filtersScale"] = filtersScale;
862 return map; 1068 return map;
863 } 1069 }
864 } 1070 }
865 1071
1072 mojom_types.MojomStruct _quads_RenderPassQuadState__() {
1073 return new mojom_types.MojomStruct()
1074 ..declData = (new mojom_types.DeclarationData()..shortName = 'RenderPassQuad State')
1075 ..fields = <mojom_types.StructField>[
1076 new mojom_types.StructField()
1077 ..declData = (new mojom_types.DeclarationData()..shortName = 'RenderPass Id')
1078 ..type = (new mojom_types.Type()
1079 ..typeReference = (new mojom_types.TypeReference()
1080
1081 ..identifier = '_quads_RenderPassId__'
1082 ..typeKey = '_quads_RenderPassId__'
1083 )),
1084
1085 new mojom_types.StructField()
1086 ..declData = (new mojom_types.DeclarationData()..shortName = 'MaskResour ceId')
1087 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT32),
1088
1089 new mojom_types.StructField()
1090 ..declData = (new mojom_types.DeclarationData()..shortName = 'MaskUvScal e')
1091 ..type = (new mojom_types.Type()
1092 ..typeReference = (new mojom_types.TypeReference()
1093
1094 ..identifier = '_geometry_PointF__'
1095 ..typeKey = '_geometry_PointF__'
1096 )),
1097
1098 new mojom_types.StructField()
1099 ..declData = (new mojom_types.DeclarationData()..shortName = 'MaskTextur eSize')
1100 ..type = (new mojom_types.Type()
1101 ..typeReference = (new mojom_types.TypeReference()
1102
1103 ..identifier = '_geometry_Size__'
1104 ..typeKey = '_geometry_Size__'
1105 )),
1106
1107 new mojom_types.StructField()
1108 ..declData = (new mojom_types.DeclarationData()..shortName = 'FiltersSca le')
1109 ..type = (new mojom_types.Type()
1110 ..typeReference = (new mojom_types.TypeReference()
1111
1112 ..identifier = '_geometry_PointF__'
1113 ..typeKey = '_geometry_PointF__'
1114 )),
1115 ];
1116 }
1117
866 1118
867 class SolidColorQuadState extends bindings.Struct { 1119 class SolidColorQuadState extends bindings.Struct {
868 static const List<bindings.StructDataHeader> kVersions = const [ 1120 static const List<bindings.StructDataHeader> kVersions = const [
869 const bindings.StructDataHeader(24, 0) 1121 const bindings.StructDataHeader(24, 0)
870 ]; 1122 ];
871 Color color = null; 1123 Color color = null;
872 bool forceAntiAliasingOff = false; 1124 bool forceAntiAliasingOff = false;
873 1125
874 SolidColorQuadState() : super(kVersions.last.size); 1126 SolidColorQuadState() : super(kVersions.last.size);
875 1127
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 } 1185 }
934 1186
935 Map toJson() { 1187 Map toJson() {
936 Map map = new Map(); 1188 Map map = new Map();
937 map["color"] = color; 1189 map["color"] = color;
938 map["forceAntiAliasingOff"] = forceAntiAliasingOff; 1190 map["forceAntiAliasingOff"] = forceAntiAliasingOff;
939 return map; 1191 return map;
940 } 1192 }
941 } 1193 }
942 1194
1195 mojom_types.MojomStruct _quads_SolidColorQuadState__() {
1196 return new mojom_types.MojomStruct()
1197 ..declData = (new mojom_types.DeclarationData()..shortName = 'SolidColorQuad State')
1198 ..fields = <mojom_types.StructField>[
1199 new mojom_types.StructField()
1200 ..declData = (new mojom_types.DeclarationData()..shortName = 'Color')
1201 ..type = (new mojom_types.Type()
1202 ..typeReference = (new mojom_types.TypeReference()
1203
1204 ..identifier = '_quads_Color__'
1205 ..typeKey = '_quads_Color__'
1206 )),
1207
1208 new mojom_types.StructField()
1209 ..declData = (new mojom_types.DeclarationData()..shortName = 'ForceAntiA liasingOff')
1210 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BO OL),
1211 ];
1212 }
1213
943 1214
944 class SurfaceQuadState extends bindings.Struct { 1215 class SurfaceQuadState extends bindings.Struct {
945 static const List<bindings.StructDataHeader> kVersions = const [ 1216 static const List<bindings.StructDataHeader> kVersions = const [
946 const bindings.StructDataHeader(16, 0) 1217 const bindings.StructDataHeader(16, 0)
947 ]; 1218 ];
948 surface_id_mojom.SurfaceId surface = null; 1219 surface_id_mojom.SurfaceId surface = null;
949 1220
950 SurfaceQuadState() : super(kVersions.last.size); 1221 SurfaceQuadState() : super(kVersions.last.size);
951 1222
952 static SurfaceQuadState deserialize(bindings.Message message) { 1223 static SurfaceQuadState deserialize(bindings.Message message) {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 "surface: $surface" ")"; 1272 "surface: $surface" ")";
1002 } 1273 }
1003 1274
1004 Map toJson() { 1275 Map toJson() {
1005 Map map = new Map(); 1276 Map map = new Map();
1006 map["surface"] = surface; 1277 map["surface"] = surface;
1007 return map; 1278 return map;
1008 } 1279 }
1009 } 1280 }
1010 1281
1282 mojom_types.MojomStruct _quads_SurfaceQuadState__() {
1283 return new mojom_types.MojomStruct()
1284 ..declData = (new mojom_types.DeclarationData()..shortName = 'SurfaceQuadSta te')
1285 ..fields = <mojom_types.StructField>[
1286 new mojom_types.StructField()
1287 ..declData = (new mojom_types.DeclarationData()..shortName = 'Surface')
1288 ..type = (new mojom_types.Type()
1289 ..typeReference = (new mojom_types.TypeReference()
1290
1291 ..identifier = '_surface_id_SurfaceId__'
1292 ..typeKey = '_surface_id_SurfaceId__'
1293 )),
1294 ];
1295 }
1296
1011 1297
1012 class TextureQuadState extends bindings.Struct { 1298 class TextureQuadState extends bindings.Struct {
1013 static const List<bindings.StructDataHeader> kVersions = const [ 1299 static const List<bindings.StructDataHeader> kVersions = const [
1014 const bindings.StructDataHeader(48, 0) 1300 const bindings.StructDataHeader(48, 0)
1015 ]; 1301 ];
1016 int resourceId = 0; 1302 int resourceId = 0;
1017 bool premultipliedAlpha = false; 1303 bool premultipliedAlpha = false;
1018 bool flipped = false; 1304 bool flipped = false;
1019 bool nearestNeighbor = false; 1305 bool nearestNeighbor = false;
1020 geometry_mojom.PointF uvTopLeft = null; 1306 geometry_mojom.PointF uvTopLeft = null;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 map["flipped"] = flipped; 1420 map["flipped"] = flipped;
1135 map["nearestNeighbor"] = nearestNeighbor; 1421 map["nearestNeighbor"] = nearestNeighbor;
1136 map["uvTopLeft"] = uvTopLeft; 1422 map["uvTopLeft"] = uvTopLeft;
1137 map["uvBottomRight"] = uvBottomRight; 1423 map["uvBottomRight"] = uvBottomRight;
1138 map["backgroundColor"] = backgroundColor; 1424 map["backgroundColor"] = backgroundColor;
1139 map["vertexOpacity"] = vertexOpacity; 1425 map["vertexOpacity"] = vertexOpacity;
1140 return map; 1426 return map;
1141 } 1427 }
1142 } 1428 }
1143 1429
1430 mojom_types.MojomStruct _quads_TextureQuadState__() {
1431 return new mojom_types.MojomStruct()
1432 ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureQuadSta te')
1433 ..fields = <mojom_types.StructField>[
1434 new mojom_types.StructField()
1435 ..declData = (new mojom_types.DeclarationData()..shortName = 'ResourceId ')
1436 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT32),
1437
1438 new mojom_types.StructField()
1439 ..declData = (new mojom_types.DeclarationData()..shortName = 'Premultipl iedAlpha')
1440 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BO OL),
1441
1442 new mojom_types.StructField()
1443 ..declData = (new mojom_types.DeclarationData()..shortName = 'UvTopLeft' )
1444 ..type = (new mojom_types.Type()
1445 ..typeReference = (new mojom_types.TypeReference()
1446
1447 ..identifier = '_geometry_PointF__'
1448 ..typeKey = '_geometry_PointF__'
1449 )),
1450
1451 new mojom_types.StructField()
1452 ..declData = (new mojom_types.DeclarationData()..shortName = 'UvBottomRi ght')
1453 ..type = (new mojom_types.Type()
1454 ..typeReference = (new mojom_types.TypeReference()
1455
1456 ..identifier = '_geometry_PointF__'
1457 ..typeKey = '_geometry_PointF__'
1458 )),
1459
1460 new mojom_types.StructField()
1461 ..declData = (new mojom_types.DeclarationData()..shortName = 'Background Color')
1462 ..type = (new mojom_types.Type()
1463 ..typeReference = (new mojom_types.TypeReference()
1464
1465 ..identifier = '_quads_Color__'
1466 ..typeKey = '_quads_Color__'
1467 )),
1468
1469 new mojom_types.StructField()
1470 ..declData = (new mojom_types.DeclarationData()..shortName = 'VertexOpac ity')
1471 ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType ()..fixedLength = 4
1472 ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType .FLOAT))),
1473
1474 new mojom_types.StructField()
1475 ..declData = (new mojom_types.DeclarationData()..shortName = 'Flipped')
1476 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BO OL),
1477
1478 new mojom_types.StructField()
1479 ..declData = (new mojom_types.DeclarationData()..shortName = 'NearestNei ghbor')
1480 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BO OL),
1481 ];
1482 }
1483
1144 1484
1145 class TileQuadState extends bindings.Struct { 1485 class TileQuadState extends bindings.Struct {
1146 static const List<bindings.StructDataHeader> kVersions = const [ 1486 static const List<bindings.StructDataHeader> kVersions = const [
1147 const bindings.StructDataHeader(32, 0) 1487 const bindings.StructDataHeader(32, 0)
1148 ]; 1488 ];
1149 geometry_mojom.RectF texCoordRect = null; 1489 geometry_mojom.RectF texCoordRect = null;
1150 geometry_mojom.Size textureSize = null; 1490 geometry_mojom.Size textureSize = null;
1151 bool swizzleContents = false; 1491 bool swizzleContents = false;
1152 bool nearestNeighbor = false; 1492 bool nearestNeighbor = false;
1153 int resourceId = 0; 1493 int resourceId = 0;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
1239 Map map = new Map(); 1579 Map map = new Map();
1240 map["texCoordRect"] = texCoordRect; 1580 map["texCoordRect"] = texCoordRect;
1241 map["textureSize"] = textureSize; 1581 map["textureSize"] = textureSize;
1242 map["swizzleContents"] = swizzleContents; 1582 map["swizzleContents"] = swizzleContents;
1243 map["nearestNeighbor"] = nearestNeighbor; 1583 map["nearestNeighbor"] = nearestNeighbor;
1244 map["resourceId"] = resourceId; 1584 map["resourceId"] = resourceId;
1245 return map; 1585 return map;
1246 } 1586 }
1247 } 1587 }
1248 1588
1589 mojom_types.MojomStruct _quads_TileQuadState__() {
1590 return new mojom_types.MojomStruct()
1591 ..declData = (new mojom_types.DeclarationData()..shortName = 'TileQuadState' )
1592 ..fields = <mojom_types.StructField>[
1593 new mojom_types.StructField()
1594 ..declData = (new mojom_types.DeclarationData()..shortName = 'TexCoordRe ct')
1595 ..type = (new mojom_types.Type()
1596 ..typeReference = (new mojom_types.TypeReference()
1597
1598 ..identifier = '_geometry_RectF__'
1599 ..typeKey = '_geometry_RectF__'
1600 )),
1601
1602 new mojom_types.StructField()
1603 ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureSiz e')
1604 ..type = (new mojom_types.Type()
1605 ..typeReference = (new mojom_types.TypeReference()
1606
1607 ..identifier = '_geometry_Size__'
1608 ..typeKey = '_geometry_Size__'
1609 )),
1610
1611 new mojom_types.StructField()
1612 ..declData = (new mojom_types.DeclarationData()..shortName = 'SwizzleCon tents')
1613 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BO OL),
1614
1615 new mojom_types.StructField()
1616 ..declData = (new mojom_types.DeclarationData()..shortName = 'ResourceId ')
1617 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT32),
1618
1619 new mojom_types.StructField()
1620 ..declData = (new mojom_types.DeclarationData()..shortName = 'NearestNei ghbor')
1621 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BO OL),
1622 ];
1623 }
1624
1249 1625
1250 class StreamVideoQuadState extends bindings.Struct { 1626 class StreamVideoQuadState extends bindings.Struct {
1251 static const List<bindings.StructDataHeader> kVersions = const [ 1627 static const List<bindings.StructDataHeader> kVersions = const [
1252 const bindings.StructDataHeader(8, 0) 1628 const bindings.StructDataHeader(8, 0)
1253 ]; 1629 ];
1254 1630
1255 StreamVideoQuadState() : super(kVersions.last.size); 1631 StreamVideoQuadState() : super(kVersions.last.size);
1256 1632
1257 static StreamVideoQuadState deserialize(bindings.Message message) { 1633 static StreamVideoQuadState deserialize(bindings.Message message) {
1258 var decoder = new bindings.Decoder(message); 1634 var decoder = new bindings.Decoder(message);
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 String toString() { 1673 String toString() {
1298 return "StreamVideoQuadState("")"; 1674 return "StreamVideoQuadState("")";
1299 } 1675 }
1300 1676
1301 Map toJson() { 1677 Map toJson() {
1302 Map map = new Map(); 1678 Map map = new Map();
1303 return map; 1679 return map;
1304 } 1680 }
1305 } 1681 }
1306 1682
1683 mojom_types.MojomStruct _quads_StreamVideoQuadState__() {
1684 return new mojom_types.MojomStruct()
1685 ..declData = (new mojom_types.DeclarationData()..shortName = 'StreamVideoQua dState')
1686 ..fields = <mojom_types.StructField>[];
1687 }
1688
1307 1689
1308 class YuvVideoQuadState extends bindings.Struct { 1690 class YuvVideoQuadState extends bindings.Struct {
1309 static const List<bindings.StructDataHeader> kVersions = const [ 1691 static const List<bindings.StructDataHeader> kVersions = const [
1310 const bindings.StructDataHeader(40, 0) 1692 const bindings.StructDataHeader(40, 0)
1311 ]; 1693 ];
1312 geometry_mojom.RectF texCoordRect = null; 1694 geometry_mojom.RectF texCoordRect = null;
1313 int yPlaneResourceId = 0; 1695 int yPlaneResourceId = 0;
1314 int uPlaneResourceId = 0; 1696 int uPlaneResourceId = 0;
1315 int vPlaneResourceId = 0; 1697 int vPlaneResourceId = 0;
1316 int aPlaneResourceId = 0; 1698 int aPlaneResourceId = 0;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
1414 map["texCoordRect"] = texCoordRect; 1796 map["texCoordRect"] = texCoordRect;
1415 map["yPlaneResourceId"] = yPlaneResourceId; 1797 map["yPlaneResourceId"] = yPlaneResourceId;
1416 map["uPlaneResourceId"] = uPlaneResourceId; 1798 map["uPlaneResourceId"] = uPlaneResourceId;
1417 map["vPlaneResourceId"] = vPlaneResourceId; 1799 map["vPlaneResourceId"] = vPlaneResourceId;
1418 map["aPlaneResourceId"] = aPlaneResourceId; 1800 map["aPlaneResourceId"] = aPlaneResourceId;
1419 map["colorSpace"] = colorSpace; 1801 map["colorSpace"] = colorSpace;
1420 return map; 1802 return map;
1421 } 1803 }
1422 } 1804 }
1423 1805
1806 mojom_types.MojomStruct _quads_YUVVideoQuadState__() {
1807 return new mojom_types.MojomStruct()
1808 ..declData = (new mojom_types.DeclarationData()..shortName = 'YuvVideoQuadSt ate')
1809 ..fields = <mojom_types.StructField>[
1810 new mojom_types.StructField()
1811 ..declData = (new mojom_types.DeclarationData()..shortName = 'TexCoordRe ct')
1812 ..type = (new mojom_types.Type()
1813 ..typeReference = (new mojom_types.TypeReference()
1814
1815 ..identifier = '_geometry_RectF__'
1816 ..typeKey = '_geometry_RectF__'
1817 )),
1818
1819 new mojom_types.StructField()
1820 ..declData = (new mojom_types.DeclarationData()..shortName = 'YPlaneReso urceId')
1821 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT32),
1822
1823 new mojom_types.StructField()
1824 ..declData = (new mojom_types.DeclarationData()..shortName = 'UPlaneReso urceId')
1825 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT32),
1826
1827 new mojom_types.StructField()
1828 ..declData = (new mojom_types.DeclarationData()..shortName = 'VPlaneReso urceId')
1829 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT32),
1830
1831 new mojom_types.StructField()
1832 ..declData = (new mojom_types.DeclarationData()..shortName = 'APlaneReso urceId')
1833 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT32),
1834
1835 new mojom_types.StructField()
1836 ..declData = (new mojom_types.DeclarationData()..shortName = 'ColorSpace ')
1837 ..type = (new mojom_types.Type()
1838 ..typeReference = (new mojom_types.TypeReference()
1839
1840 ..identifier = '_quads_YUVColorSpace__'
1841 ..typeKey = '_quads_YUVColorSpace__'
1842 )),
1843 ];
1844 }
1845
1424 1846
1425 class Quad extends bindings.Struct { 1847 class Quad extends bindings.Struct {
1426 static const List<bindings.StructDataHeader> kVersions = const [ 1848 static const List<bindings.StructDataHeader> kVersions = const [
1427 const bindings.StructDataHeader(128, 0) 1849 const bindings.StructDataHeader(128, 0)
1428 ]; 1850 ];
1429 Material material = null; 1851 Material material = null;
1430 bool needsBlending = false; 1852 bool needsBlending = false;
1431 geometry_mojom.Rect rect = null; 1853 geometry_mojom.Rect rect = null;
1432 geometry_mojom.Rect opaqueRect = null; 1854 geometry_mojom.Rect opaqueRect = null;
1433 geometry_mojom.Rect visibleRect = null; 1855 geometry_mojom.Rect visibleRect = null;
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1633 map["solidColorQuadState"] = solidColorQuadState; 2055 map["solidColorQuadState"] = solidColorQuadState;
1634 map["surfaceQuadState"] = surfaceQuadState; 2056 map["surfaceQuadState"] = surfaceQuadState;
1635 map["textureQuadState"] = textureQuadState; 2057 map["textureQuadState"] = textureQuadState;
1636 map["tileQuadState"] = tileQuadState; 2058 map["tileQuadState"] = tileQuadState;
1637 map["streamVideoQuadState"] = streamVideoQuadState; 2059 map["streamVideoQuadState"] = streamVideoQuadState;
1638 map["yuvVideoQuadState"] = yuvVideoQuadState; 2060 map["yuvVideoQuadState"] = yuvVideoQuadState;
1639 return map; 2061 return map;
1640 } 2062 }
1641 } 2063 }
1642 2064
2065 mojom_types.MojomStruct _quads_Quad__() {
2066 return new mojom_types.MojomStruct()
2067 ..declData = (new mojom_types.DeclarationData()..shortName = 'Quad')
2068 ..fields = <mojom_types.StructField>[
2069 new mojom_types.StructField()
2070 ..declData = (new mojom_types.DeclarationData()..shortName = 'Material')
2071 ..type = (new mojom_types.Type()
2072 ..typeReference = (new mojom_types.TypeReference()
2073
2074 ..identifier = '_quads_Material__'
2075 ..typeKey = '_quads_Material__'
2076 )),
2077
2078 new mojom_types.StructField()
2079 ..declData = (new mojom_types.DeclarationData()..shortName = 'Rect')
2080 ..type = (new mojom_types.Type()
2081 ..typeReference = (new mojom_types.TypeReference()
2082
2083 ..identifier = '_geometry_Rect__'
2084 ..typeKey = '_geometry_Rect__'
2085 )),
2086
2087 new mojom_types.StructField()
2088 ..declData = (new mojom_types.DeclarationData()..shortName = 'OpaqueRect ')
2089 ..type = (new mojom_types.Type()
2090 ..typeReference = (new mojom_types.TypeReference()
2091
2092 ..identifier = '_geometry_Rect__'
2093 ..typeKey = '_geometry_Rect__'
2094 )),
2095
2096 new mojom_types.StructField()
2097 ..declData = (new mojom_types.DeclarationData()..shortName = 'VisibleRec t')
2098 ..type = (new mojom_types.Type()
2099 ..typeReference = (new mojom_types.TypeReference()
2100
2101 ..identifier = '_geometry_Rect__'
2102 ..typeKey = '_geometry_Rect__'
2103 )),
2104
2105 new mojom_types.StructField()
2106 ..declData = (new mojom_types.DeclarationData()..shortName = 'NeedsBlend ing')
2107 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BO OL),
2108
2109 new mojom_types.StructField()
2110 ..declData = (new mojom_types.DeclarationData()..shortName = 'SharedQuad StateIndex')
2111 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.UI NT32),
2112
2113 new mojom_types.StructField()
2114 ..declData = (new mojom_types.DeclarationData()..shortName = 'Checkerboa rdQuadState')
2115 ..type = (new mojom_types.Type()
2116 ..typeReference = (new mojom_types.TypeReference()
2117 ..nullable = true
2118
2119
2120 ..identifier = '_quads_CheckerboardQuadState__'
2121 ..typeKey = '_quads_CheckerboardQuadState__'
2122 )),
2123
2124 new mojom_types.StructField()
2125 ..declData = (new mojom_types.DeclarationData()..shortName = 'DebugBorde rQuadState')
2126 ..type = (new mojom_types.Type()
2127 ..typeReference = (new mojom_types.TypeReference()
2128 ..nullable = true
2129
2130
2131 ..identifier = '_quads_DebugBorderQuadState__'
2132 ..typeKey = '_quads_DebugBorderQuadState__'
2133 )),
2134
2135 new mojom_types.StructField()
2136 ..declData = (new mojom_types.DeclarationData()..shortName = 'IoSurfaceQ uadState')
2137 ..type = (new mojom_types.Type()
2138 ..typeReference = (new mojom_types.TypeReference()
2139 ..nullable = true
2140
2141
2142 ..identifier = '_quads_IoSurfaceContentQuadState__'
2143 ..typeKey = '_quads_IoSurfaceContentQuadState__'
2144 )),
2145
2146 new mojom_types.StructField()
2147 ..declData = (new mojom_types.DeclarationData()..shortName = 'RenderPass QuadState')
2148 ..type = (new mojom_types.Type()
2149 ..typeReference = (new mojom_types.TypeReference()
2150 ..nullable = true
2151
2152
2153 ..identifier = '_quads_RenderPassQuadState__'
2154 ..typeKey = '_quads_RenderPassQuadState__'
2155 )),
2156
2157 new mojom_types.StructField()
2158 ..declData = (new mojom_types.DeclarationData()..shortName = 'SolidColor QuadState')
2159 ..type = (new mojom_types.Type()
2160 ..typeReference = (new mojom_types.TypeReference()
2161 ..nullable = true
2162
2163
2164 ..identifier = '_quads_SolidColorQuadState__'
2165 ..typeKey = '_quads_SolidColorQuadState__'
2166 )),
2167
2168 new mojom_types.StructField()
2169 ..declData = (new mojom_types.DeclarationData()..shortName = 'SurfaceQua dState')
2170 ..type = (new mojom_types.Type()
2171 ..typeReference = (new mojom_types.TypeReference()
2172 ..nullable = true
2173
2174
2175 ..identifier = '_quads_SurfaceQuadState__'
2176 ..typeKey = '_quads_SurfaceQuadState__'
2177 )),
2178
2179 new mojom_types.StructField()
2180 ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureQua dState')
2181 ..type = (new mojom_types.Type()
2182 ..typeReference = (new mojom_types.TypeReference()
2183 ..nullable = true
2184
2185
2186 ..identifier = '_quads_TextureQuadState__'
2187 ..typeKey = '_quads_TextureQuadState__'
2188 )),
2189
2190 new mojom_types.StructField()
2191 ..declData = (new mojom_types.DeclarationData()..shortName = 'TileQuadSt ate')
2192 ..type = (new mojom_types.Type()
2193 ..typeReference = (new mojom_types.TypeReference()
2194 ..nullable = true
2195
2196
2197 ..identifier = '_quads_TileQuadState__'
2198 ..typeKey = '_quads_TileQuadState__'
2199 )),
2200
2201 new mojom_types.StructField()
2202 ..declData = (new mojom_types.DeclarationData()..shortName = 'StreamVide oQuadState')
2203 ..type = (new mojom_types.Type()
2204 ..typeReference = (new mojom_types.TypeReference()
2205 ..nullable = true
2206
2207
2208 ..identifier = '_quads_StreamVideoQuadState__'
2209 ..typeKey = '_quads_StreamVideoQuadState__'
2210 )),
2211
2212 new mojom_types.StructField()
2213 ..declData = (new mojom_types.DeclarationData()..shortName = 'YuvVideoQu adState')
2214 ..type = (new mojom_types.Type()
2215 ..typeReference = (new mojom_types.TypeReference()
2216 ..nullable = true
2217
2218
2219 ..identifier = '_quads_YUVVideoQuadState__'
2220 ..typeKey = '_quads_YUVVideoQuadState__'
2221 )),
2222 ];
2223 }
2224
1643 2225
1644 class SharedQuadState extends bindings.Struct { 2226 class SharedQuadState extends bindings.Struct {
1645 static const List<bindings.StructDataHeader> kVersions = const [ 2227 static const List<bindings.StructDataHeader> kVersions = const [
1646 const bindings.StructDataHeader(56, 0) 2228 const bindings.StructDataHeader(56, 0)
1647 ]; 2229 ];
1648 geometry_mojom.Transform contentToTargetTransform = null; 2230 geometry_mojom.Transform contentToTargetTransform = null;
1649 geometry_mojom.Size contentBounds = null; 2231 geometry_mojom.Size contentBounds = null;
1650 geometry_mojom.Rect visibleContentRect = null; 2232 geometry_mojom.Rect visibleContentRect = null;
1651 geometry_mojom.Rect clipRect = null; 2233 geometry_mojom.Rect clipRect = null;
1652 bool isClipped = false; 2234 bool isClipped = false;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1771 map["visibleContentRect"] = visibleContentRect; 2353 map["visibleContentRect"] = visibleContentRect;
1772 map["clipRect"] = clipRect; 2354 map["clipRect"] = clipRect;
1773 map["isClipped"] = isClipped; 2355 map["isClipped"] = isClipped;
1774 map["opacity"] = opacity; 2356 map["opacity"] = opacity;
1775 map["blendMode"] = blendMode; 2357 map["blendMode"] = blendMode;
1776 map["sortingContextId"] = sortingContextId; 2358 map["sortingContextId"] = sortingContextId;
1777 return map; 2359 return map;
1778 } 2360 }
1779 } 2361 }
1780 2362
2363 mojom_types.MojomStruct _quads_SharedQuadState__() {
2364 return new mojom_types.MojomStruct()
2365 ..declData = (new mojom_types.DeclarationData()..shortName = 'SharedQuadStat e')
2366 ..fields = <mojom_types.StructField>[
2367 new mojom_types.StructField()
2368 ..declData = (new mojom_types.DeclarationData()..shortName = 'ContentToT argetTransform')
2369 ..type = (new mojom_types.Type()
2370 ..typeReference = (new mojom_types.TypeReference()
2371
2372 ..identifier = '_geometry_Transform__'
2373 ..typeKey = '_geometry_Transform__'
2374 )),
2375
2376 new mojom_types.StructField()
2377 ..declData = (new mojom_types.DeclarationData()..shortName = 'ContentBou nds')
2378 ..type = (new mojom_types.Type()
2379 ..typeReference = (new mojom_types.TypeReference()
2380
2381 ..identifier = '_geometry_Size__'
2382 ..typeKey = '_geometry_Size__'
2383 )),
2384
2385 new mojom_types.StructField()
2386 ..declData = (new mojom_types.DeclarationData()..shortName = 'VisibleCon tentRect')
2387 ..type = (new mojom_types.Type()
2388 ..typeReference = (new mojom_types.TypeReference()
2389
2390 ..identifier = '_geometry_Rect__'
2391 ..typeKey = '_geometry_Rect__'
2392 )),
2393
2394 new mojom_types.StructField()
2395 ..declData = (new mojom_types.DeclarationData()..shortName = 'ClipRect')
2396 ..type = (new mojom_types.Type()
2397 ..typeReference = (new mojom_types.TypeReference()
2398
2399 ..identifier = '_geometry_Rect__'
2400 ..typeKey = '_geometry_Rect__'
2401 )),
2402
2403 new mojom_types.StructField()
2404 ..declData = (new mojom_types.DeclarationData()..shortName = 'IsClipped' )
2405 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BO OL),
2406
2407 new mojom_types.StructField()
2408 ..declData = (new mojom_types.DeclarationData()..shortName = 'Opacity')
2409 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.FL OAT),
2410
2411 new mojom_types.StructField()
2412 ..declData = (new mojom_types.DeclarationData()..shortName = 'BlendMode' )
2413 ..type = (new mojom_types.Type()
2414 ..typeReference = (new mojom_types.TypeReference()
2415
2416 ..identifier = '_quads_SkXfermode__'
2417 ..typeKey = '_quads_SkXfermode__'
2418 )),
2419
2420 new mojom_types.StructField()
2421 ..declData = (new mojom_types.DeclarationData()..shortName = 'SortingCon textId')
2422 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN T32),
2423 ];
2424 }
2425
1781 2426
1782 class Pass extends bindings.Struct { 2427 class Pass extends bindings.Struct {
1783 static const List<bindings.StructDataHeader> kVersions = const [ 2428 static const List<bindings.StructDataHeader> kVersions = const [
1784 const bindings.StructDataHeader(56, 0) 2429 const bindings.StructDataHeader(56, 0)
1785 ]; 2430 ];
1786 int id = 0; 2431 int id = 0;
1787 bool hasTransparentBackground = false; 2432 bool hasTransparentBackground = false;
1788 geometry_mojom.Rect outputRect = null; 2433 geometry_mojom.Rect outputRect = null;
1789 geometry_mojom.Rect damageRect = null; 2434 geometry_mojom.Rect damageRect = null;
1790 geometry_mojom.Transform transformToRootTarget = null; 2435 geometry_mojom.Transform transformToRootTarget = null;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
1929 map["hasTransparentBackground"] = hasTransparentBackground; 2574 map["hasTransparentBackground"] = hasTransparentBackground;
1930 map["outputRect"] = outputRect; 2575 map["outputRect"] = outputRect;
1931 map["damageRect"] = damageRect; 2576 map["damageRect"] = damageRect;
1932 map["transformToRootTarget"] = transformToRootTarget; 2577 map["transformToRootTarget"] = transformToRootTarget;
1933 map["quads"] = quads; 2578 map["quads"] = quads;
1934 map["sharedQuadStates"] = sharedQuadStates; 2579 map["sharedQuadStates"] = sharedQuadStates;
1935 return map; 2580 return map;
1936 } 2581 }
1937 } 2582 }
1938 2583
1939 2584 mojom_types.MojomStruct _quads_Pass__() {
2585 return new mojom_types.MojomStruct()
2586 ..declData = (new mojom_types.DeclarationData()..shortName = 'Pass')
2587 ..fields = <mojom_types.StructField>[
2588 new mojom_types.StructField()
2589 ..declData = (new mojom_types.DeclarationData()..shortName = 'Id')
2590 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.IN T32),
2591
2592 new mojom_types.StructField()
2593 ..declData = (new mojom_types.DeclarationData()..shortName = 'OutputRect ')
2594 ..type = (new mojom_types.Type()
2595 ..typeReference = (new mojom_types.TypeReference()
2596
2597 ..identifier = '_geometry_Rect__'
2598 ..typeKey = '_geometry_Rect__'
2599 )),
2600
2601 new mojom_types.StructField()
2602 ..declData = (new mojom_types.DeclarationData()..shortName = 'DamageRect ')
2603 ..type = (new mojom_types.Type()
2604 ..typeReference = (new mojom_types.TypeReference()
2605
2606 ..identifier = '_geometry_Rect__'
2607 ..typeKey = '_geometry_Rect__'
2608 )),
2609
2610 new mojom_types.StructField()
2611 ..declData = (new mojom_types.DeclarationData()..shortName = 'TransformT oRootTarget')
2612 ..type = (new mojom_types.Type()
2613 ..typeReference = (new mojom_types.TypeReference()
2614
2615 ..identifier = '_geometry_Transform__'
2616 ..typeKey = '_geometry_Transform__'
2617 )),
2618
2619 new mojom_types.StructField()
2620 ..declData = (new mojom_types.DeclarationData()..shortName = 'HasTranspa rentBackground')
2621 ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.BO OL),
2622
2623 new mojom_types.StructField()
2624 ..declData = (new mojom_types.DeclarationData()..shortName = 'Quads')
2625 ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType ()
2626 ..elementType = (new mojom_types.Type()
2627 ..typeReference = (new mojom_types.TypeReference()
2628
2629 ..identifier = '_quads_Quad__'
2630 ..typeKey = '_quads_Quad__'
2631 )))),
2632
2633 new mojom_types.StructField()
2634 ..declData = (new mojom_types.DeclarationData()..shortName = 'SharedQuad States')
2635 ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType ()
2636 ..elementType = (new mojom_types.Type()
2637 ..typeReference = (new mojom_types.TypeReference()
2638
2639 ..identifier = '_quads_SharedQuadState__'
2640 ..typeKey = '_quads_SharedQuadState__'
2641 )))),
2642 ];
2643 }
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653 var _MojomDesc__ = _initDescriptions();
2654
2655 Map<String, mojom_types.UserDefinedType> _initDescriptions() {
2656 var map = new Map<String, mojom_types.UserDefinedType>();
2657
2658 map["_quads_YUVColorSpace__"] =
2659 new mojom_types.UserDefinedType()
2660 ..enumType = _quads_YUVColorSpace__();
2661
2662
2663 map["_quads_Material__"] =
2664 new mojom_types.UserDefinedType()
2665 ..enumType = _quads_Material__();
2666
2667
2668 map["_quads_SkXfermode__"] =
2669 new mojom_types.UserDefinedType()
2670 ..enumType = _quads_SkXfermode__();
2671
2672
2673 map["_quads_Color__"] =
2674 new mojom_types.UserDefinedType()
2675 ..structType = _quads_Color__();
2676
2677
2678
2679
2680
2681 map["_quads_CheckerboardQuadState__"] =
2682 new mojom_types.UserDefinedType()
2683 ..structType = _quads_CheckerboardQuadState__();
2684
2685
2686
2687 map["_quads_DebugBorderQuadState__"] =
2688 new mojom_types.UserDefinedType()
2689 ..structType = _quads_DebugBorderQuadState__();
2690
2691
2692
2693 map["_quads_IoSurfaceContentQuadState__"] =
2694 new mojom_types.UserDefinedType()
2695 ..structType = _quads_IoSurfaceContentQuadState__();
2696
2697
2698
2699 map["_quads_RenderPassId__"] =
2700 new mojom_types.UserDefinedType()
2701 ..structType = _quads_RenderPassId__();
2702
2703
2704
2705
2706
2707
2708
2709 map["_quads_RenderPassQuadState__"] =
2710 new mojom_types.UserDefinedType()
2711 ..structType = _quads_RenderPassQuadState__();
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725 map["_quads_SolidColorQuadState__"] =
2726 new mojom_types.UserDefinedType()
2727 ..structType = _quads_SolidColorQuadState__();
2728
2729
2730
2731
2732
2733
2734
2735 map["_quads_SurfaceQuadState__"] =
2736 new mojom_types.UserDefinedType()
2737 ..structType = _quads_SurfaceQuadState__();
2738
2739
2740
2741
2742
2743 map["_quads_TextureQuadState__"] =
2744 new mojom_types.UserDefinedType()
2745 ..structType = _quads_TextureQuadState__();
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765 map["_quads_TileQuadState__"] =
2766 new mojom_types.UserDefinedType()
2767 ..structType = _quads_TileQuadState__();
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781 map["_quads_StreamVideoQuadState__"] =
2782 new mojom_types.UserDefinedType()
2783 ..structType = _quads_StreamVideoQuadState__();
2784
2785
2786
2787 map["_quads_YUVVideoQuadState__"] =
2788 new mojom_types.UserDefinedType()
2789 ..structType = _quads_YUVVideoQuadState__();
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805 map["_quads_Quad__"] =
2806 new mojom_types.UserDefinedType()
2807 ..structType = _quads_Quad__();
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843 map["_quads_SharedQuadState__"] =
2844 new mojom_types.UserDefinedType()
2845 ..structType = _quads_SharedQuadState__();
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865 map["_quads_Pass__"] =
2866 new mojom_types.UserDefinedType()
2867 ..structType = _quads_Pass__();
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884 geometry_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_types.UserD efinedType udt) {
2885 map[s] = udt;
2886 });
2887 surface_id_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_types.Use rDefinedType udt) {
2888 map[s] = udt;
2889 });
2890 return map;
2891 }
2892
2893 Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
2894 return _MojomDesc__;
2895 }
2896
2897
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698