A quick update on the Hap player v3 beta (download here) guys.
Lately I’ve been spending time trying to make the texture update operation fully in background, leaving the mainloop untouched, and it seems to be working now!
Big thanks to wirmachenbunt for sponsoring this feature and for pushing me towards finishing it.
Below is comparison playing 2x 4k@60fps Hap Q + 8k@30fps Hap videos (vsync enabled)
Without background texture upload:
With background texture upload:
Hope it is “a thing” for at least some of the people :-)
Please support the further player development by getting licenses for commercial projects.
Full list of changes:
- Video texture uploading is being done in background now, making the mainloop decoupled and generally smooth even when playing a lot of videos
- Reduced number of memory copying operations, gaining up to 10% of playback performance
- Improved calculation of decode threads number for chunked Hap files (mostly relevant to massively multi-core CPUs)