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

VRAM + Display Mode abstractions? #13

Closed
Lokathor opened this issue Nov 20, 2018 · 0 comments
Closed

VRAM + Display Mode abstractions? #13

Lokathor opened this issue Nov 20, 2018 · 0 comments
Assignees

Comments

@Lokathor
Copy link
Member

Lokathor commented Nov 20, 2018

It's quite difficult to make any useful abstractions over VRAM for all possible video modes, but I think that we can at least do a good effort if we focus on just one mode at a time.

My first thought is that we can make a sub-module for each display mode and then fill it with display helpers and constants relevant to that mode.

Are there other good options? I also had the idea to try and make TiledGraphics and BitmapGraphics traits that we implement onto empty structs that represent each display mode, but I think even among Tiled and Bitmap modes there's not quite enough similarity to make that very useful.

@Lokathor Lokathor added this to the v0.4 milestone Feb 5, 2019
@Lokathor Lokathor self-assigned this Feb 5, 2019
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