Skip to content

KMS/DRM/GBM as a new backend #1865

@NathanRoyer

Description

@NathanRoyer

Hello ! I'm working on a 'kiosk' mode application with runs on an embedded linux system configured for rust.
The choice was made to not have any compositor (wayland/x11) at all on the system, and to rely on Kernel Modesetting, the Direct Rendering Manager API and Generic Buffer Management (from mesa3d) for the graphics.
I'm at the point where I can draw to the screen via a framebuffer, I have details about the hardware and I have an opengl context via khronos-egl.

I was wondering if this could become a winit backend ? I would gladly develop such a thing.
I guess it would give a single non-resizeable fullscreen window at a time (like most activities in Android), and while I currently don't handle inputs in my test program, I'm sure I can deal with libinput to get keypresses and pointer movement. I have zero knowledge about touchscreens though.

What are your impressions / first thoughts ?
Be welcome to give any advice or direction if you want me to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions