mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 09:39:58 -04:00
The texture pool creates 16 entries a refresh and stops after 6 ms a frame, so that textures streaming in do not make long frames. An area load leaves thousands of slots at once (4,936 loading the test save), and at that rate they came in over the frames after the load screen: the scene's first frames showed a quarter of the picture as black stand-ins, for 22 presented frames on a free machine and for about three seconds with the CPU busy. While a refresh leaves pool_load_backlog slots or more (512; 0 never), the pool is loading: the count limit is off, a frame's refreshes may take pool_load_ms (50), and frame_hold leaves out the presents of frames drawn meanwhile (up to 2 s), so the picture before the load stays until fewer than 64 slots are left. Measured with the flight recorder's thumbnails of every present: the 4,847 textures are made in one frame of 345 ms, 30 frames before the scene fades in, and the black share of the picture goes from the fade straight to its final value. The streaming limits are as before below the backlog. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
19 KiB
19 KiB