Themaister/RetroArch — pull request #139 by Themaister (2013-02-19 21:06:12+00:00)
Title: Threaded video driver

Threaded video is optional. It is essentially a driver which wraps other graphic drivers.

Needs more testing, but works fine on all tested systems here:

- Windows (GL/D3D9)
- Linux (SDL, XVideo, GL)
- Android (GL)

Pros: Makes video driver jitter and performance irrelevant for rest of emulator. Video is no longer synced to (only audio). More likely to not run unacceptably bad which can happen with old dual sync method.

Cons: "Perfect" video (1 game frame mapped to 1 monitor frame, no skips or dupes) is not achievable with this method. You have to live with some frame dupes. Due to the async nature, skips are also possible (if monitor is slower than game), so game speed is maintained. A slight increase in latency might also be present due to lack of hard sync.