mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-17 07:09:57 -04:00
The finalize of a used pool flushed and waited for every upload batch and then for the idle queue. During an area load the queue also holds the load's texture uploads, which name no pool's storage: entering Kokiri Forest, one finalize waited 418 ms and the frame took 462 ms. The game finalizes a pool once its own work with it is done, so the finalize now waits for the submissions issued so far and returns; the pool's buffer and memory go once the upload batches handed out by then and the submission being recorded are through. NX2NAVI_POOL_FINI_IDLE=1 keeps the old wait. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
242 KiB
242 KiB