feat: Add a DRM/KMS backend
This adds a DRM/KMS based backend to the system, as per #42. This system finds a CRTC and a connector, then uses that to create a frame buffer and a DUMB buffer that it can render to. There's much more to do, and is left as an exercise for anyone with a significant DRM-based use case to pick up and fix. Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
parent
2689cec2ca
commit
ac0b7f5e14
7 changed files with 665 additions and 3 deletions
3
.github/CODEOWNERS
vendored
3
.github/CODEOWNERS
vendored
|
|
@ -4,6 +4,9 @@
|
|||
# Apple platforms
|
||||
/src/cg.rs @madsmtm
|
||||
|
||||
# DRM/KMS (no maintainer)
|
||||
/src/kms.rs
|
||||
|
||||
# Redox
|
||||
/src/orbital.rs @jackpot51
|
||||
|
||||
|
|
|
|||
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
|
@ -43,9 +43,10 @@ jobs:
|
|||
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, }
|
||||
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, options: --no-default-features, features: "x11,x11-dlopen" }
|
||||
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, options: --no-default-features, features: "wayland,wayland-dlopen" }
|
||||
- { target: x86_64-unknown-linux-gnu, os: ubuntu-latest, options: --no-default-features, features: "kms" }
|
||||
- { target: x86_64-unknown-redox, os: ubuntu-latest, }
|
||||
- { target: x86_64-unknown-freebsd, os: ubuntu-latest, }
|
||||
- { target: x86_64-unknown-netbsd, os: ubuntu-latest, }
|
||||
- { target: x86_64-unknown-netbsd, os: ubuntu-latest, options: --no-default-features, features: "x11,x11-dlopen,wayland,wayland-dlopen" }
|
||||
- { target: x86_64-apple-darwin, os: macos-latest, }
|
||||
- { target: wasm32-unknown-unknown, os: ubuntu-latest, }
|
||||
include:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue