glrenderer: Handle filters differently

Benjamin Otte requested to merge wip/otte/for-main 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.

Merge request reports