mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +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.
3 lines
153 B
Plaintext
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
|