NovelRT icon indicating copy to clipboard operation
NovelRT copied to clipboard

Implement SDL2 for Windowing + Input

Open capnkenny opened this issue 2 years ago • 3 comments

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 avatar Sep 30 '22 21:09 capnkenny

Has Matt been kidnapped or something?!?!

Perksey avatar Oct 04 '22 11:10 Perksey

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

RubyNova avatar Oct 04 '22 11:10 RubyNova

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

capnkenny avatar Oct 04 '22 11:10 capnkenny