Skip to content

Add a wgpu example #239

@prokopyl

Description

@prokopyl

Right now, our examples are covering use cases for software rendering (via softbuffer), and OpenGL (via femtovg).

However we don't have anything to test the more recent graphics APIs (DirectX, Metal, Vulkan), and how they might need to integrate with baseview. (the discussion in #219 makes me think some level of support might be needed, even if only to expose a few platform-specific actions, like what's needed for OpenGL on X11)

Having a wgpu example would check all three APIs at once, while also being representative of what's currently used in the Rust GUI ecosystem (e.g. iced).

Note: doing this cleanly would require baseview to support raw-window-handle v0.6 properly, so this is going to have to be for a future version (i.e. not v0.1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions