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

3 lines
153 B
Plaintext

0: offloaded, above: -, texture: 10x10, source: 0 0 10 10, dest: 10 10 10 10
1: offloaded, raised, above: 0, texture: 20x20, 0 0 20 20, dest: 10 0 20 20