Skip to content

Suggestion: WebGPU backend support #264

@Nathan-M-code

Description

@Nathan-M-code

Although SDL_GPU is good and supports many platforms, it lack support on a significant number of Android phones, as it requires quite modern Vulkan extensions.
SDL_RENDERER and SFML_GRAPHICS doesn't have shader support on android. (My attempts to use the SFML fork which uses OpenGLES2, have been unsuccessful).
RAYLIB works on android and allow shader customization, but honestly I don't like to use it.

I suggest the WebGPU as new backend.
WebGPU is close to SDL_GPU in its API, it's also modern and will persist for some years. More importantly, it fills the gap in Android support.
Since SDL_GPU has already been added, I guess WebGPU wouldn't be a big refactoring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions