thatcosmonaut / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
3 stars 3 forks source link

Configurable frames in flight limit #194

Open thatcosmonaut opened 3 weeks ago

thatcosmonaut commented 3 weeks ago

Some applications might be opinionated about this and want to minimize visual latency in GPU-bound scenarios, so we should allow them to limit the max number of frames in flight.

flibitijibibo commented 3 weeks ago

Can probably be SDL_PROP_GPU_CREATEDEVICE_MAXFRAMESINFLIGHT