8925ebe3df
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 22:32:21 +01:00
7d8b1cfecd
ci: add libgbm-dev and libdrm-dev to linux-only job dependencies
2026-03-10 21:33:34 +01:00
767da43047
fix(compositor): pass owned surface to keyboard.set_focus, remove redundant clone
2026-03-10 21:31:59 +01:00
ae1d572803
fix(compositor): use as_deref() for WaylandFocus::wl_surface() comparisons
2026-03-10 21:28:55 +01:00
c90679ea7b
fix(compositor): remove nonexistent PresentationHandler trait impl
2026-03-10 21:27:02 +01:00
fcd4a3bacd
style(compositor): apply rustfmt formatting
2026-03-10 21:24:23 +01:00
e981044c43
fix(compositor): add missing BufferHandler supertrait impl for DmabufHandler
2026-03-10 21:23:33 +01:00
3ebe50ef31
fix(compositor): correct remaining Smithay 0.7 API issues
...
- Remove nonexistent TextInputHandler trait impl
- Add missing cursor_position_hint to PointerConstraintsHandler
- Rewrite winit/drm backends: ListeningSocketSource + insert_client
for per-client WeftClientState; Generic<Display<D>> for dispatch
- Remove calloop direct dep; use via smithay::reexports::calloop
- Remove unused imports in input.rs
2026-03-10 21:20:28 +01:00
f70a998f67
fix(compositor): correct Smithay 0.7 API usage
...
- Fix smithay feature name: renderer_gles -> renderer_gl
- Rewrite winit backend: WinitEventLoop as calloop source,
render_output free function, bind() returning (renderer, framebuffer),
socket creation via add_socket_auto, correct WinitEvent::Redraw variant
- Fix InputMethodHandler: add dismiss_popup, remove nonexistent popup_done,
use smithay::wayland::input_method::PopupSurface not XDG variant
- Remove nonexistent CursorShapeHandler trait; add TabletSeatHandler impl
(required bound for delegate_cursor_shape!)
- Add state.running bool; remove LoopSignal::is_stopped() call (does not exist)
- Remove unused direct deps: calloop-wayland-source, wayland-protocols,
wayland-protocols-wlr
- Split CI into cross-platform and linux-only jobs; install Wayland system
dependencies in linux-only job
2026-03-10 21:09:54 +01:00
feb69be199
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 20:56:35 +01:00
3db9541f72
Add repository validation and CI checks
2026-03-10 18:47:16 +01:00
a236a3a9f4
Add WEFT architecture and interface design documents
2026-03-10 18:47:10 +01:00
8b65f81396
Initialize Rust workspace and repository metadata
2026-03-10 18:47:06 +01:00