Debian Codegraph @

testsuite/gsk/offload/background.node

raw
1 container {
2
3 transform {
4 child: subsurface {
5 child: container {
6 color {
7 bounds: 0 0 100 100;
8 color: black;
9 }
10 texture {
11 texture: memory {
12 format: BGRA8p;
13 width: 13;
14 height: 17;
15 offset: 0;
16 stride: 52;
17 data: url("data:application/gzip;base64,H4sIAAAAAAACA2NgYPjPMIpH8SimGwYAbDAf2nQDAAA=");
18 }
19 }
20 }
21 }
22 }
23
24 debug {
25 message: "Non-black background doesn't work";
26 child: subsurface {
27 child: container {
28 color {
29 bounds: 0 0 100 100;
30 color: red;
31 }
32 texture {
33 texture: memory {
34 format: BGRA8p;
35 width: 13;
36 height: 17;
37 offset: 0;
38 stride: 52;
39 data: url("data:application/gzip;base64,H4sIAAAAAAACA2NgYPjPMIpH8SimGwYAbDAf2nQDAAA=");
40 }
41 }
42 }
43 }
44 }
45
46 debug {
47 message: "Can't have too much content";
48 child: subsurface {
49 child: container {
50 color {
51 bounds: 0 0 100 100;
52 color: black;
53 }
54 color {
55 bounds: 0 0 20 20;
56 color: red;
57 }
58 texture {
59 texture: memory {
60 format: BGRA8p;
61 width: 13;
62 height: 17;
63 offset: 0;
64 stride: 52;
65 data: url("data:application/gzip;base64,H4sIAAAAAAACA2NgYPjPMIpH8SimGwYAbDAf2nQDAAA=");
66 }
67 }
68 }
69 }
70 }
71
72 debug {
73 message: "Texture can be deeper in";
74 child: subsurface {
75 child: container {
76 color {
77 bounds: 0 0 100 100;
78 color: black;
79 }
80 container {
81 debug {
82 message: "bla";
83 child: texture {
84 texture: memory {
85 format: BGRA8p;
86 width: 13;
87 height: 17;
88 offset: 0;
89 stride: 52;
90 data: url("data:application/gzip;base64,H4sIAAAAAAACA2NgYPjPMIpH8SimGwYAbDAf2nQDAAA=");
91 }
92 }
93 }
94 }
95 }
96 }
97 }
98
99 }