gtk/testsuite/gsk/offload/sidebyside.node2
Matthias Clasen fb969f5431 offload: Raise all subsurfaces that can be
If two subsurfaces don't overlap and aren't otherwise obstructed,
we can just raise them  both.

Tests included.
2023-11-18 08:19:43 -05:00

21 lines
450 B
Plaintext

transform {
transform: translate(10, 10);
child: subsurface {
child: texture {
bounds: 0 0 10 10;
texture: url('data:image/svg+xml;utf-8,<svg width="10" height="10"></svg>');
}
}
}
transform {
transform: translate(10,0);
child: subsurface {
child: texture {
bounds: 0 0 20 20;
texture: url('data:image/svg+xml;utf-8,<svg width="20" height="20"></svg>');
}
}
}