Broken GL rendering in zoomed-in GTK 4 sysprof
Steps to reproduce
- Record GNOME Shell in the new GTK 4 Sysprof (or open this capture file: capture.syscap), running with the GL renderer.
- Zoom the timeline in.
Alternatively, view this node file in the node editor: Transform.node
Current behavior
The rendering becomes broken.
Expected outcome
The rendering continues to work fine.
Version information
gtk4-4.8.0-1.fc37.x86_64, Fedora 37 Silverblue
Additional information
My guess is that this has something to do with excessive texture size. This warning shows up:
(sysprof:170026): Gsk-WARNING **: 22:07:42.651: Attempt to create texture of size 20278x21 but max size is 16384. Clipping will occur.
One interesting thing is that the bug does not show up in the Recorder:
In the node editor (Transform.node) the bug does reproduce on the GL renderer, and partially reproduces on the Cairo renderer. As you can see on the following Cairo screenshot, the top displays look fine, but the compositor marks are missing at the bottom:
Edited by Ivan Molodetskikh