mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-05 18:31:09 +00:00
1db696be79
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.
4 lines
255 B
Plaintext
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
|