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

Implement SDL2 for Windowing + Input #504

Open
capnkenny opened this issue Sep 30, 2022 · 3 comments
Open

Implement SDL2 for Windowing + Input #504

capnkenny opened this issue Sep 30, 2022 · 3 comments
Labels
engine core Tickets pertaining to the engine core codebase. hacktoberfest Tickets up for grabs for hacktoberfest. help wanted Extra attention is needed

Comments

@capnkenny
Copy link
Member

capnkenny commented Sep 30, 2022

Currently, GLFW is used as our primary Windowing and Input provider.

This ticket is to implement an alternative (SDL2) for Windowing and Input so that we can opt to use SDL2 + Vulkan in the current setup instead of GLFW + Vulkan.

What's involved:

  • Implementing the SDL2 enum selection in the Vulkan Surface creation method
  • Implementing the Windowing::SDL2 namespace
  • Implementing the Input::SDL2 namespace (it will require Windowing to be finished)
  • Implementing a way to choose between GLFW or SDL2

To be specific, we are not removing GLFW - just adding SDL2 as an alternative

@capnkenny capnkenny added help wanted Extra attention is needed engine core Tickets pertaining to the engine core codebase. hacktoberfest Tickets up for grabs for hacktoberfest. labels Sep 30, 2022
@Perksey
Copy link

Perksey commented Oct 4, 2022

Has Matt been kidnapped or something?!?!

@RubyNova
Copy link
Member

RubyNova commented Oct 4, 2022

Lol, no, its just GLFW doesn't work in some cases

@capnkenny
Copy link
Member Author

Lol, no, its just GLFW doesn't work in some cases

This indeed helps with bringing more compatibility for non-desktop related use cases in the future, as well as cases where GLFW might not be the best option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine core Tickets pertaining to the engine core codebase. hacktoberfest Tickets up for grabs for hacktoberfest. help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants