diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-08-29 11:53:44 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-08-29 11:53:44 -0700 |
commit | 25ae095b243cd2fc221200944c0fbcf9cc9429b4 (patch) | |
tree | 0546fb73f5811dacd918de57486631403d608715 /src/libs/puddle/Makefile.am | |
parent | 5ba2147e2db913fa0ba79daf49d58d2f4d35a9a7 (diff) |
main: apply submit-to-present delay to ticks
This should push the ticks value ahead by 1-2 frames worth of
time, when rendering is meeting/exceeding the frame rate. Which
is the appropriate thing to do, since rendering is effectively
slightly ahead of the clock, producing visuals for now+N-frames
into the future.
When rendering lags behind, there's basically no delay, and
rendering is just operating on the "now" ticks which will be
flipped to ASAP once submitted.
This will probably be revisited once audio is rolled in, since
that too will need to be kept in sync with the visuals'
perspective of time.
Diffstat (limited to 'src/libs/puddle/Makefile.am')
0 files changed, 0 insertions, 0 deletions