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

refactor!: Decouple breakwater-parser to make it easier to integrate elsewhere #37

Merged
merged 13 commits into from
Aug 8, 2024

Conversation

sbernauer
Copy link
Owner

@sbernauer sbernauer commented Aug 3, 2024

Alternative take on #35.

This pull request hides breakwaters framebuffer implementation behind a trait. This allows other project to use the breakwater magic but implement their own framebuffer.

These change do not introduce dynamic dispatch so runtime performance should™ not be affected.

Co-authored-by: bits0rcerer 25325997+bits0rcerer@users.noreply.github.com

@sbernauer sbernauer force-pushed the decouple-parser-review branch from cf12b2d to b1eaf1a Compare August 4, 2024 09:09
@sbernauer sbernauer force-pushed the decouple-parser-review branch from b1eaf1a to 223fd67 Compare August 4, 2024 09:11
@sbernauer sbernauer changed the title Decouple breakwater-parser to make it easier to integrate elsewhere refactor!: Decouple breakwater-parser to make it easier to integrate elsewhere Aug 4, 2024
@sbernauer sbernauer marked this pull request as ready for review August 8, 2024 09:06
@sbernauer
Copy link
Owner Author

Merging this, as I would like to add an native window mode. For this I would like to use the Trait added here to not get merge conflicts

@sbernauer sbernauer merged commit 3b8a53a into main Aug 8, 2024
8 checks passed
@sbernauer sbernauer deleted the decouple-parser-review branch August 8, 2024 09:19
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.

2 participants