Skip to content

glrenderer: Handle filters differently

Matthias Clasen requested to merge wip/matthiasc/samplers into main

Instead of uploading a texture once per filter, ensure textures are uploaded as little as possible and use samplers instead to switch different filters.

Sometimes we have to reupload a texture unfortunately, when it is an external one and we want to create mipmaps.

This needs some more work. Currently, some of the 3d gsk tests fail because some hacks in the renderer were removed.

Merge request reports