Christian Hergert :gnome: on Nostr: Y'all, I made a neat fast path for GTK's OpenGL renderer today that allows you do do ...
Y'all, I made a neat fast path for GTK's OpenGL renderer today that allows you do do a trick very similar to what we did for texture rendering. At the core, it allows you to avoid GL program changes, but just useful to recolor things.
Mask(Texture, Color)
That takes texture's alpha channel and joins it w/ color from the color node.
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6460
This was needed to make box drawing fast in VTE.
Mask(Texture, Color)
That takes texture's alpha channel and joins it w/ color from the color node.
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6460
This was needed to make box drawing fast in VTE.