Draw the desktop and apps on the GPU when there is one #3

Merged
nandi merged 4 commits from gpu-rendering into main 2026-12-01 00:51:00 +00:00
4 Commits
Author SHA1 Message Date
nandi c5dbe028e6 Panel: generate the Show Desktop interfaces and toggle request
CI / test (pull_request) Successful in 1m19s
- Add generated .mbti interfaces for show-desktop, its plasmoid, and the show-desktop-widget world
- Add a ToggleDesktop host request and publish_desktop_shown(Bool) for the panel to report desktop state
2026-11-30 16:49:06 -08:00
nandiandClaude Opus 5.5 b293ecb51a Backlight: don't ask the host for the environment while instantiating
The wasm compositor trapped at start since e2dc2bb: a top-level value called getenv.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:47:03 -08:00
nandiandClaude Opus 5.5 d478f58d9b Merge main: one linux-dmabuf, imported on the GPU or mapped without one
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:47:03 -08:00
nandiandClaude Opus 5.5 cfb25fe699 Draw on the GPU: the desktop with OpenGL ES, apps through linux-dmabuf
The host's rasteriser has a GPU half (raster_gpu.c): the same primitives, drawn the same way, on
machines with a real GPU and OpenGL ES 3, straight into the display's buffers in a login session.
EGL and GLES are loaded at run time; without them everything is drawn on the CPU as before
(CHANDRA_GPU=0 does that too). zwp_linux_dmabuf_v1 lets apps draw on the GPU as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 16:42:22 -08:00