gtk/testsuite/gsk/offload/background.node
Matthias Clasen 5c892fa4ea offload: Add more tests
Include background in offload tests.
2024-04-15 19:53:46 -04:00

72 lines
1.4 KiB
Plaintext

container {
transform {
child: subsurface {
child: container {
color {
bounds: 0 0 100 100;
color: black;
}
texture {
texture: url('data:image/svg+xml;utf-8,<svg width="13" height="17"></svg>');
}
}
}
}
debug {
message: "Non-black background doesn't work";
child: subsurface {
child: container {
color {
bounds: 0 0 100 100;
color: red;
}
texture {
texture: url('data:image/svg+xml;utf-8,<svg width="13" height="17"></svg>');
}
}
}
}
debug {
message: "Can't have too much content";
child: subsurface {
child: container {
color {
bounds: 0 0 100 100;
color: black;
}
color {
bounds: 0 0 20 20;
color: red;
}
texture {
texture: url('data:image/svg+xml;utf-8,<svg width="13" height="17"></svg>');
}
}
}
}
debug {
message: "Texture can be deeper in";
child: subsurface {
child: container {
color {
bounds: 0 0 100 100;
color: black;
}
container {
debug {
message: "bla";
child: texture {
texture: url('data:image/svg+xml;utf-8,<svg width="13" height="17"></svg>');
}
}
}
}
}
}
}