The GPU API MkII by flibitijibibo · Pull Request #9312 · libsdl-org/SDL

3 min read Original article ↗

sezero

@aganm aganm mentioned this pull request

Mar 31, 2024

sulix added a commit to sulix/omnispeak that referenced this pull request

Sep 5, 2024
This is a very early proof-of-concept for SDL3 GPU support, for the API
mentioned in libsdl-org/SDL#9312

It's currently lacking:
- A decent cleanup and error handling.
- Proper separation from the vulkan backend (I broke the vulkan shaders
  to implement this)
- A Makefile implementation (CMake only for now)
- Proper clearing of letterboxes/pillarboxes.
 - It'd be really nice to be able to clear, then blit without needing a
   separate render pass.
- Some strange framebuffer bugs on hasvk/wayland
- This version is crashing renderdoc at the moment, which is probably
  bad.
- Not once tested with anything other than the Vulkan backend, which has
  a habit of allowing a lot of things other backends don't.

sulix added a commit to sulix/omnispeak that referenced this pull request

Sep 9, 2024
This is a very early proof-of-concept for SDL3 GPU support, for the API
mentioned in libsdl-org/SDL#9312

It's currently lacking:
- A decent cleanup and error handling.
- Proper separation from the vulkan backend (I broke the vulkan shaders
  to implement this)
- A Makefile implementation (CMake only for now)
- Proper clearing of letterboxes/pillarboxes.
 - It'd be really nice to be able to clear, then blit without needing a
   separate render pass.
- Some strange framebuffer bugs on hasvk/wayland
- This version is crashing renderdoc at the moment, which is probably
  bad.
- Not once tested with anything other than the Vulkan backend, which has
  a habit of allowing a lot of things other backends don't.

sulix added a commit to sulix/omnispeak that referenced this pull request

Sep 13, 2024
This is a very early proof-of-concept for SDL3 GPU support, for the API
mentioned in libsdl-org/SDL#9312

It's currently lacking:
- A decent cleanup and error handling.
- Proper separation from the vulkan backend (I broke the vulkan shaders
  to implement this)
- A Makefile implementation (CMake only for now)
- Some strange framebuffer bugs on hasvk/wayland/HSW -- probably a
  driver bug
- Not once tested with anything other than the Vulkan backend, which has
  a habit of allowing a lot of things other backends don't.

@bdach bdach mentioned this pull request

Sep 21, 2024

sulix added a commit to sulix/omnispeak that referenced this pull request

Sep 27, 2024
This is a very early proof-of-concept for SDL3 GPU support, for the API
mentioned in libsdl-org/SDL#9312

It's currently lacking:
- A decent cleanup and error handling.
- Proper separation from the vulkan backend (I broke the vulkan shaders
  to implement this)
- A Makefile implementation (CMake only for now)
- Some strange framebuffer bugs on hasvk/wayland/HSW -- probably a
  driver bug
- Not once tested with anything other than the Vulkan backend, which has
  a habit of allowing a lot of things other backends don't.