Skip to content

APU Implementation #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

APU Implementation #3

wants to merge 20 commits into from

Conversation

gargakshit
Copy link
Owner

Fixes #2

And use double buffering to prevent screen tearing as the PPU does not
have vsync anymore.

Signed-off-by: Akshit Garg <[email protected]>
- Reduce pointer indirection on the active and draw buffers.
- Swap the buffers in the PPU itself rather than the scheduler. This
  more or less solves screen tearing and frame hiccups. The system as as
  smooth as the original vsync based scheduler with the new audio driver
  based scheduler.

Signed-off-by: Akshit Garg <[email protected]>
Signed-off-by: Akshit Garg <[email protected]>
And use double buffering to prevent screen tearing as the PPU does not
have vsync anymore.

Signed-off-by: Akshit Garg <[email protected]>
- Reduce pointer indirection on the active and draw buffers.
- Swap the buffers in the PPU itself rather than the scheduler. This
  more or less solves screen tearing and frame hiccups. The system as as
  smooth as the original vsync based scheduler with the new audio driver
  based scheduler.

Signed-off-by: Akshit Garg <[email protected]>
Signed-off-by: Akshit Garg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Emulate the APU
1 participant