pursuedpybear icon indicating copy to clipboard operation
pursuedpybear copied to clipboard

Rendering in a thread

Open AstraLuma opened this issue 4 years ago • 3 comments

Because SDL rendering is synchronous (and likely to remain so), we should look into rendering in a thread.

  1. Benchmark the current renderer, see how much time is spent each frame doing: PPB math, SDL math, SDL drawing
  2. Do a prototype, benchmark it

This might also let us move from fixed framerate to refresh-synced frames.

AstraLuma avatar Oct 16 '20 15:10 AstraLuma