Debian Codegraph @

testsuite/gsk/offload/deep.node

raw
1 subsurface {
2 child: debug {
3 message: "A node that is deep in, but still found";
4 child: debug {
5 message: "Affine transforms, debug nodes and single-child containers are ok";
6 child: transform {
7 transform: translate(10, 10) scale(2, 1);
8 child: container {
9 texture { }
10 }
11 }
12 }
13 }
14 }
15 transform {
16 transform: translate(0, 100);
17 child: subsurface {
18 child: debug {
19 message: "Multi-child containers are not ok";
20 child: container {
21 color { }
22 texture { }
23 }
24 }
25 }
26 }
27 transform {
28 transform: translate(0, 200);
29 child: subsurface {
30 child: debug {
31 message: "other nodes, such as cross-fade, are not ok";
32 child: cross-fade {
33 start: texture { }
34 end: texture { }
35 progress: 0.5;
36 }
37 }
38 }
39 }
40 transform {
41 transform: translate(0, 300);
42 child: subsurface {
43 child: debug {
44 message: "Other nodes, such as cross-fade, are not ok";
45 child: cross-fade {
46 start: texture { }
47 end: texture { }
48 progress: 0.5;
49 }
50 }
51 }
52 }
53 transform {
54 transform: translate(0, 400);
55 child: subsurface {
56 child: debug {
57 message: "Clips are ok";
58 child: clip {
59 clip: 0 0 400 400;
60 child: texture { }
61 }
62 }
63 }
64 }
65 transform {
66 transform: translate(0, 500);
67 child: subsurface {
68 child: debug {
69 message: "Can't offload non-textures";
70 child: linear-gradient { }
71 }
72 }
73 }