branchrust_reboot/main/ui_store_slim_ram/blurhashcancel
12 Commits over 0 Days - Infinitycph!
Bugfix: if httpimagedelay expires, use results of first request that completed
Tests: navigated store with httpimagedelay 10 and waiting till it expired
Update: generate blur textures of matching aspect ratio to original image
Tests: inspected store with httpimagedelay
Update: StoreBundleTool improvements
- deduplicate serialized objects to reduce number of saves
- deduplicate ProxyPaths to reduce number of field-callback invocations
- document loss of data and why it happens
Tests: ran the script
Bugfix: HttpImage - create blurhash sprite when one is needed
Tests: navigated to store general page, saw the background change to blueish, dlc page is redish
Bugfix: clamp color channels when creating a blurhash texture
Tests: navigated through store, no more color splodges
Update: ran StoreBundleTool to assign blur hashes
Tests: inspected store with httpimagedelay
Bugfix(editor): read textures as srgb data when able to
Tests: visualized produced blurhash
Update(editor): minor cleanup of CalculateBlurHash
All experiments to async load textures failed, so committing to this version
Tests: inspected a couple produced blur hashes
Update(editor): StoreBundleTool - add in logic to generate BlurHash for dynamic sprites
Tests: works, but slow and produces wrong hashes
Update: back every dynamic sprite url in store with a blur hash field
Going to setup data next
Tests: compiles
Update: license file for blurhash
Tests: none
Update: HttpImage - add option to generate loading image from BlurHash
- using bf58763 release dll from from https://github.com/MarkusPalcer/blurhash.net
- add debug convar shop.loaddelay to test loading images
- Stop UI_StoreItemTile from deactivating it's cover image
- httpImage no longer hides it's targetted image when loading a texture if it has a loading texture
Tests: navigated and clicked through various store views