kean / Nuke

Image loading system
https://kean.blog/nuke
MIT License
7.93k stars 519 forks source link

Skip decompression for .png images and other uncompressed formats #788

Open Pash237 opened 1 month ago

Pash237 commented 1 month ago

Skipping decompression for .png images in bafe72c9bd2c427ac4599126d2c73e84e8e61261 moves image decoding from multiple background threads to the main thread causing frame drops.

Probably need to double-check that it really worth it, or make it configurable.

Time Profiler before:

before

Time Profiler after:

after
kean commented 1 month ago

I temporarily reverted this change in v12.7.1.