Skip to content
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

External draw buffer #64

Open
fengb opened this issue Mar 18, 2021 · 0 comments
Open

External draw buffer #64

fengb opened this issue Mar 18, 2021 · 0 comments

Comments

@fengb
Copy link
Owner

fengb commented Mar 18, 2021

Instead of leaving draw buffer(s) in the "core", Fundude should allow for passing in an external buffer. On vblank, the local display will be flushed into the buffer.

Rationale:

  1. Shrink the core memory usage
  2. The buffer flush can do the decode, which should be faster than JS (and a lot more readable than https://github.com/fengb/fundude/blob/master/web/Display.tsx#L87-L106)
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

No branches or pull requests

1 participant