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

7 lines
222 B
Plaintext

0: offloaded, above: -, texture: 10x10, source: 0 0 10 10, dest: 10 10 250 500
1: not offloaded
2: not offloaded
3: not offloaded
4: offloaded, above: 0, texture: 10x10, source: 0 0 10 10, dest: 0 0 50 50
5: not offloaded