Skip to content

gsk: Add a way to limit texture sizes

Matthias Clasen requested to merge max-texture-size into main

Allow to set max texture size using the GSK_MAX_TEXTURE_SIZE environment variable.

We only allow to lower the max (for obvious reasons), and we don't allow values smaller than 512 (since our atlases use that size).

Merge request reports