gtk/testsuite/gsk/offload/start_offloading.node2
Matthias Clasen 1db696be79 offload: Find and use source rectangle
Look for nodes like subsurface { clip { texture {} } }, and use
the clip to provide a source rectangle for subsetting the texture.

Update affected tests, and add a new one.
2024-02-11 21:44:47 -05:00

13 lines
266 B
Plaintext

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