mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 22:54:36 +00:00
![]() Separate the image cache from the texture cache. The latter needs additional data in the key. The two have less in common that it seemed. This also fixes a small issue with `CachedImage::upload_to_gpu` that for SVGs would return a decoded (rendered) SVG image, instead of a texture. That was harmless because we always call `ensure_uploaded_to_gpu` later, but now we assert that the texture cache only holds textures, because clear() (former remove_textures()) just clears everything. |
||
---|---|---|
.. | ||
default | ||
gl | ||
mcu | ||
qt | ||
testing |