A private fork of wlroots
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
emersion 60bfe0a6aa
backend/drm: remove remaining raw GL call
7 years ago
backend backend/drm: remove remaining raw GL call 7 years ago
examples render/gles2: make wlr_renderer_begin take viewport size 7 years ago
include render/gles2: move list of supported WL formats to pixel_format.c 7 years ago
protocol Add initial linux_dmabuf protocol support 7 years ago
render render/gles2: use gles2_pixel_format::has_alpha for shader selection 7 years ago
rootston render/gles2: make wlr_renderer_begin take viewport size 7 years ago
types render: split render.h into wlr_renderer.h and wlr_texture.h 7 years ago
util Rename _strip_path to wlr_strip_path 7 years ago
xcursor Revert "ELF Visibility" 7 years ago
xwayland xwm.h: fix guard ifdef and remove wlr_ prefix from xwm_atoms_contains 7 years ago
.build.yml Change .build.yml upstream to GitHub 7 years ago
.editorconfig Add wlr_primary_selection_device_manager and wlr_primary_selection_source 7 years ago
.gitignore update .gitignore 7 years ago
CONTRIBUTING.md Update CONTRIBUTING.md 7 years ago
LICENSE Initial commit 8 years ago
README.md Remove Travis in favor of builds.sr.ht 7 years ago
glgen.sh Change glapi.sh to generate both files 7 years ago
meson.build meson: use current_source_dir instead of source_root 7 years ago
meson_options.txt xcb errors: optional dependency with improved messages 7 years ago
wlroots.syms render/gles2: make wlr_renderer_begin take viewport size 7 years ago

README.md

wlroots

Pluggable, composable modules for building a Wayland compositor.

This is a WIP: status

Contributing

See CONTRIBUTING.md

Building

Install dependencies:

  • wayland
  • wayland-protocols
  • EGL
  • GLESv2
  • DRM
  • GBM
  • libinput
  • udev
  • pixman
  • systemd (optional, for logind support)
  • elogind (optional, for logind support on systems without systemd)
  • libcap (optional, for capability support)
  • asciidoc (optional, for man pages)

Run these commands:

meson build
ninja -C build

(On FreeBSD, you need to pass an extra flag to prevent a linking error: meson build -D b_lundef=false)

Running the Reference Compositor

wlroots comes with a reference compositor called rootston that demonstrates the features of the library.

After building, run rootston from a terminal or VT with:

./build/rootston/rootston

Now you can run windows in the compositor from the command line or by configuring bindings in your rootston.ini file.