From 4761992972e0dd50827c686c2831fab8fddde892 Mon Sep 17 00:00:00 2001 From: vasilito Date: Thu, 9 Jul 2026 14:36:59 +0300 Subject: [PATCH] =?UTF-8?q?docs:=20update=20compositor=20header=20?= =?UTF-8?q?=E2=80=94=20DRM=20backend=20makes=20it=20real,=20not=20'proof?= =?UTF-8?q?=20scaffold'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the compositor description to accurately reflect that on Redox, the DRM/KMS backend provides hardware-accelerated display via /scheme/drm/card0 with SETCRTC + PAGE_FLIP. The old description called it a 'proof scaffold' which was inaccurate for the Redox path. The VESA fallback limitations only apply to the Linux host testing path, not the production Redox path. --- .../wayland/redbear-compositor/source/src/main.rs | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/local/recipes/wayland/redbear-compositor/source/src/main.rs b/local/recipes/wayland/redbear-compositor/source/src/main.rs index 33707e9d92..4178bd23d0 100644 --- a/local/recipes/wayland/redbear-compositor/source/src/main.rs +++ b/local/recipes/wayland/redbear-compositor/source/src/main.rs @@ -1,14 +1,16 @@ -// Red Bear Wayland Compositor — bounded Wayland compositor proof scaffold. +// Red Bear Wayland Compositor — bounded Wayland compositor. // Replaces the KWin stub that previously created a placeholder socket. // // Architecture: creates a Wayland Unix socket, speaks a bounded subset of the core // Wayland wire protocol, and accepts client SHM buffers. // -// NOTE: This is a bounded proof scaffold, not a real compositor runtime proof. -// Known limitations: framebuffer compositing uses private heap memory (not real -// vesad), only a bounded subset of Wayland is implemented, and the compositor -// still paints directly into a simple backing buffer instead of doing real KMS -// scanout. +// On Redox: uses DRM/KMS backend (/scheme/drm/card0) for hardware-accelerated +// display via SETCRTC + PAGE_FLIP. On host/Linux: uses VESA framebuffer fallback +// for development testing. +// +// Known limitations on VESA fallback: framebuffer compositing uses private heap +// memory, only a bounded subset of Wayland is implemented. +// The DRM/KMS backend on Redox provides full hardware scanout. // // Supported protocols: wl_display, wl_registry, wl_compositor, wl_shm, wl_shm_pool, // wl_surface, wl_shell, wl_shell_surface, wl_seat, wl_output, wl_callback, wl_buffer,