mirror of
https://github.com/dingusdev/dingusppc.git
synced 2026-10-23 18:02:19 +00:00
Makes both flavors of Control enable the `draw_fb_is_dynamic` optimization, which lets us skip SDL screen update when the the framebuffer content has not changed. Improve BeOS PR1 booting on the 7300 from 15.8-46s to 13.9-14.2. The variability appears to be due to time spent in `SDL_RenderPresent`, per https://developer.apple.com/documentation/metal/onscreen-presentation this may block on macOS (with the Metal backend) until the next display refresh, and we were generating a lot more frames to present before. Also improves smoothness of the BeOS GL Teapot demo (the displayed framerate does not change since the timer is driven by instruction cycles, which don't change).