Skip to content

Add a fast mode - #1

Open
nathsou wants to merge 4 commits into
mainfrom
Introduce-fast-mode-for-slower-devices
Open

Add a fast mode#1
nathsou wants to merge 4 commits into
mainfrom
Introduce-fast-mode-for-slower-devices

Conversation

@nathsou

@nathsou nathsou commented Jul 26, 2023

Copy link
Copy Markdown
Owner

Add a fast mode for slower devices

Approaches:

PPU:

  • Switch from pixel by pixel rendering to frame by frame rendering (TODO: handle mid-frame updates)
  • Keep both rendered nametables in memory and only update a background tile when it changes
  • Implement scrolling by sliding a window into the 2 frame buffers
  • Cache rendered tiles

CPU:

  • JIT compilation?

@nathsou nathsou self-assigned this Jul 26, 2023
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.

1 participant