Closed bfraboni closed 1 month ago
Other than the comment I made about elaborating the description a bit, this is all looking great to me.
We talked in a different channel about adding back some very minimal inline methods to keep back compatibility for now, so I know that's still on its way, but if that ends up straightforward, we should be able to merge this without any trouble. Then the API will be nailed down and you can do the further changes to the internals without any additional compatibility breaks during our upcoming beta period.
I've added the backwards compatible methods for ImageCache get_imagespec()
and imagespec()
, and TextureSystem get_imagespec()
. I think the CI is happy now, I just need to write unit tests for the newer get_cache_dimensions()
method and it'll be good to go.
Thank you @lgritz for the directions !
I've just rebased the PR and added the unit tests for get_cache_dimensions()
Description
First draft of frontend changes for issue #4436.
Checklist:
imagespec
,get_imagespec
API calls in ImageCache, ImageCacheImpl, TextureSystem and all calls.get_cache_dimensions
to access cache internal mip level dimensionsget_cache_dimensions
unit tests once we validate the new version