This website requires JavaScript.
Explore
Help
Sign in
marcoallegretti
/
WEFT_OS
Watch
1
Star
0
Fork
You've already forked WEFT_OS
0
mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced
2026-03-27 09:23:09 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
54b5fb662b
WEFT_OS
/
crates
/
weft-compositor
/
src
/
backend
/
mod.rs
6 lines
77 B
Rust
Raw
Normal View
History
Unescape
Escape
feat(compositor): add weft-compositor crate - Implement WeftCompositorState with all Wayland protocol globals: compositor, xdg-shell, layer-shell, shm, dmabuf, output, presentation, text-input, input-method, pointer-constraints, cursor-shape, seat. - Implement process_input_event covering keyboard, pointer (relative + absolute), axis, touch, and all gesture types (swipe, pinch, hold). - Implement Winit backend with damage-tracked rendering loop and frame callbacks. - Add DRM/KMS backend skeleton: libseat session, udev device discovery, calloop integration (rendering path deferred). - Add infra/systemd/weft-compositor.service (Type=notify). - Split CI into cross-platform and linux-only jobs. - Exclude weft-compositor from Windows check scripts.
2026-03-10 19:56:35 +00:00
pub
mod
drm
;
pub
mod
winit
;
feat(compositor): implement DRM/KMS rendering path Add full DRM/KMS backend with libseat session, GBM allocation, EGL display initialisation, and a GpuManager-driven rendering loop. - drm_device.rs: type aliases and per-device/per-output state structs (WeftDrmDevice, WeftOutputSurface, WeftDrmData) - drm.rs: replace skeleton with complete backend libseat session, udev device enumeration, libinput event source, connector scanning via smithay-drm-extras DrmScanner, DrmOutputManager initialisation per CRTC, VBlank-driven render_output, sd_notify(READY=1) - state.rs: add drm: Option<WeftDrmData> field; route dmabuf import through GPU manager when the DRM path is active - Cargo.toml: add renderer_multi, use_system_lib Smithay features; add smithay-drm-extras and sd-notify Linux dependencies render_output submits a clear-colour-only frame to establish the VBlank pipeline. Surface compositing is wired up in a subsequent commit.
2026-03-10 21:32:21 +00:00
#[
cfg(target_os =
"
linux
"
)
]
pub
mod
drm_device
;
Reference in a new issue
Copy permalink