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>
This commit is contained in:
1 parent
d81003f176
commit
cfb25fe699
26 files changed
+2485
-105
No files matched your search
@@ -162,6 +162,10 @@ test: modules emoji-font
|
||||
t *words:
|
||||
scripts/test-native.py {{words}}
|
||||
|
||||
# The GPU rasteriser against the CPU one on this machine's GPU (a few seconds; skips without one).
|
||||
test-gpu:
|
||||
scripts/test-gpu.sh
|
||||
|
||||
# Render one composed frame to _build/e2e_frame.png (via the e2e test).
|
||||
frame: modules
|
||||
scripts/test-native.py -p compositor/host e2e_test
|
||||
|
||||
Reference in new issue
Block a user