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

add RSGL renderer, RGFW backend and GLFW backend #140

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

ColleagueRiley
Copy link

RSGL is a single-header graphics library with a similar simple-to-use style as Raylib.

RSGL itself does not handle rendering, it only batches out RSGL_TRIANGLE requests with draw data, making it easy to append low level APIs.

It also doesn't care about the windowing backend, so it's pretty much a blank slate for any sort of rendering or windowing API. This PR includes a OpenGL implementation for RSGL as well as examples for both GLFW and RGFW. There is also currently a WIP software rendering backend for RSGL, but it wasn't included in this PR.

The backend hasn't been fully implemented yet, and still has a lot of flaws. But I decided to create this initial PR for the backend to see if it interests anyone.

NOTE: I include Makefiles instead of CMakefiles, those should probably be replaced as the project seems to only use CMake. Sadly, I'm not very familiar with CMake.

@ColleagueRiley ColleagueRiley marked this pull request as draft January 1, 2025 05:58
@ColleagueRiley ColleagueRiley marked this pull request as ready for review January 1, 2025 19:42
@ColleagueRiley
Copy link
Author

I added CMakeFiles, but they should be reviewed by someone more familiar with CMake.

@nicbarker nicbarker force-pushed the main branch 2 times, most recently from 4fd677e to 338852b Compare January 14, 2025 08:46
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