gtk/testsuite/gsk/offload/nested.offload
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

4 lines
255 B
Plaintext

0: offloaded, raised, above: -, texture: 10x21, source: 0 0 10 21, dest: 0 100 100 210
1: offloaded, raised, above: 0, texture: 40x40, source: 5 5 15 15, dest: 5 5 15 15
2: offloaded, raised, above: 1, texture: 40x40, source: 0 0 10 10, dest: 10 10 10 10