Skip to content

APU Implementation - #3

Open
gargakshit wants to merge 20 commits into
masterfrom
apu
Open

APU Implementation#3
gargakshit wants to merge 20 commits into
masterfrom
apu

Conversation

@gargakshit

Copy link
Copy Markdown
Owner

Fixes #2

Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
And use double buffering to prevent screen tearing as the PPU does not
have vsync anymore.

Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
- 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 <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
And use double buffering to prevent screen tearing as the PPU does not
have vsync anymore.

Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
- 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 <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
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