• C 98.6%
  • Makefile 1.4%
Find a file
xeon 2ca03f86d1 amdgpu: buffer_map: add glReadPixels fallback
In case amdgpu_bo_cpu_map returns EPERM, fallback to cloning the buffer through glReadPixels. Fixes screenshots for xwayland windows via swcsnap.
2026-05-11 23:59:19 +03:00
docs extract static functions as well 2026-02-21 22:29:27 +00:00
intel clean up intel code 2026-02-25 20:05:25 +02:00
interface reformat everything 2026-02-19 22:23:22 +00:00
nouveau reformat everything 2026-02-19 22:23:22 +00:00
protocol init 2026-02-01 18:24:41 +00:00
.clang-format add clang-format config 2026-02-19 22:05:22 +00:00
.gitignore gitignore doxygen output 2026-02-21 22:29:27 +00:00
amdgpu.c amdgpu: buffer_map: add glReadPixels fallback 2026-05-11 23:59:19 +03:00
amdgpu.h amdgpu: buffer_map: add glReadPixels fallback 2026-05-11 23:59:19 +03:00
buffer.c make buffer more correct 2026-02-25 20:13:51 +02:00
buffered_surface.c optimize and clean up buffered_surface 2026-02-25 20:34:48 +02:00
color.c color: fix ascii_tolower 2026-05-10 16:52:13 +03:00
common.mk init 2026-02-01 18:24:41 +00:00
config.mk amdgpu: add backend (OpenGL) 2026-02-26 12:07:11 +00:00
context.c make context less bad 2026-02-25 21:08:48 +02:00
COPYING init 2026-02-01 18:24:41 +00:00
drm-private.h amdgpu: add backend (OpenGL) 2026-02-26 12:07:11 +00:00
drm.c amdgpu: add backend (OpenGL) 2026-02-26 12:07:11 +00:00
drm.h make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
dumb.c make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
font.c make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
gl.c gl: fix typos in function names 2026-05-10 16:51:11 +03:00
gl.h amdgpu, gl: (refactor) simplify error handling 2026-03-15 15:16:19 +00:00
intel.c make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
Makefile drm: move opengl code out of amdgpu 2026-02-26 12:07:11 +00:00
nouveau.c add docs for nouveau 2026-02-21 22:29:27 +00:00
pixman.c make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
pixman.h make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
README.md init 2026-02-01 18:24:41 +00:00
renderer.c make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
surface.c make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
TODO complete doxygen goal from todo 2026-02-21 22:29:27 +00:00
wayland-drm.c make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
wayland-private.h make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
wayland-shm.c make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
wayland.c make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
wayland.h make all files uniform with @author and @copyright tags 2026-02-21 22:29:27 +00:00
wld-private.h uppercase (un)likely macros 2026-02-25 19:36:39 +02:00
wld.h make context less bad 2026-02-25 21:08:48 +02:00
wld.pc.in init 2026-02-01 18:24:41 +00:00

wld

wld is a drawing library that targets Wayland. The swc Wayland compositor library uses wld.

Installing

To build and install wld, simply use:

make
make install

Various flags may be set in config.mk. You will likely want to compile using only intel or noveau, not both.