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

Major changes to render API #50

Merged
merged 10 commits into from
Jan 18, 2024
Merged

Major changes to render API #50

merged 10 commits into from
Jan 18, 2024

Conversation

mokiat
Copy link
Owner

@mokiat mokiat commented Jan 18, 2024

Changes

  • Reworks the render API to be closer to modern GPU APIs
    • Ideally this should allow a WebGPU implementation in the future
  • Reworks the ui package to use a single shared uniform buffer
    • Leads to a single upload per frame, resulting in big performance boost on some systems
  • Reworks the game package to use a single shared uniform buffer
    • Leads to a single upload per frame, resulting in big performance boost on some systems
  • Reduces the usage of Triangle Fans, since modern APIs don't support them
    • Ideally they should be phased out
  • Moves away from index restarts. OpenGL 4.1 does not support them and MacOS does not allow for newer OpenGL

NOTE: The render API changes are a significant breaking change.

@mokiat mokiat merged commit bd029b3 into master Jan 18, 2024
@mokiat mokiat deleted the ubo_simplify branch January 18, 2024 21:22
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