No description
Find a file
Tom Englund 8e8bfbb0b1
protocols: add Fifo-v1 and commit-timing-v1 (#12052)
* protocols: add Fifo-v1

introduce fifo-v1

* fifo: only present locked surfaces

dont present to unlocked surfaces and commit pending states from the
fifo protocol.

* fifo: cformat

cformat

* protocols: add committiming and surface state queue

introduce CSurfaceStateQueue and commit-timing-v1

* fifo: schedule a frame if waiting on barrier

if we are waiting on a barrier the state doesnt commit until the next
refresh cycle meaning the monitor might have no pending damage and we
never get onPresented to unlock the barrier, moment 22. so schedule a
frame.

* fifo: properly check monitor intersection

check for m_enteredoutputs or monitor intersection if client hasnt bound
one yet, and dont fifo lock it until the surface is mapped.

* buffer: try to merge states before committing them

try to merge states before committing them meaning way less churn and
surface commits if a surface sends multiple small ones while we wait for
buffer readyness from either fifo locks or simply fences.

* buffer: dont commit states past the buffer

certain changes are relative to the buffer attached, cant go beyond it
and apply those onto the next buffer.

* buffer: set the lockmask directly

cant use .lock since the state hasnt been queued yet, set the lockmask
directly when exporting buffer fence.

* fifo: dont fifo lock on tearing

dont fifo lock on tearing.

* buffer: queue the state directly

queue the state directly and use the .lock function instead of directly
modify the lockMask on the state.

* buffer: revert creating texture at commit time

fifo barriers introduces such long wait that upon commit time a
race happends with current xdg configure implentation that the buffer
and image is actually destroyed when entering commitState, doing it at
buffer creation time with EGL_PRESERVED_KHR means it sticks around until
we are done. so revert 82759d4 and 32f3233 for now.

* buffer: rename enum and lockreasons

eLockReason and LOCK_REASON_NONE.

* fifo: workaround direct scanout lock

workaround cursor commits causing fifo to get forever locked, this
entire thing needs to be worked out.
2025-11-06 13:25:49 +00:00
.github CI/release: run cmake configure 2025-10-27 23:47:35 +02:00
assets assets: update header 2025-06-06 15:14:17 +02:00
docs [gha] build man pages 2025-06-19 22:49:42 +00:00
example input: Add fully configurable trackpad gestures (#11490) 2025-08-28 11:20:29 +02:00
hyprctl hyprctl: add getprop (#11394) 2025-08-18 16:41:17 +01:00
hyprpm hyprpm: make temp root if not present 2025-09-18 13:25:04 +01:00
hyprtester layout: fit floating window on toggle to float (#12139) 2025-10-29 23:21:28 +00:00
nix Nix: build hyprtester along with hyprland 2025-10-29 12:18:29 +02:00
protocols protocols: add Fifo-v1 and commit-timing-v1 (#12052) 2025-11-06 13:25:49 +00:00
scripts build: replace generateVersion.sh (#12110) 2025-10-23 20:50:32 +01:00
src protocols: add Fifo-v1 and commit-timing-v1 (#12052) 2025-11-06 13:25:49 +00:00
subprojects protocols: add Hyprland toplevel mapping implementation (#9775) 2025-04-24 18:10:57 +02:00
systemd hyprland-uwsm.desktop: Add TryExec 2025-05-25 14:55:33 +03:00
.clang-format touch up the clang format and format all files 2022-12-20 02:18:47 +00:00
.clang-format-ignore style/ci: apply clang-format and verify it in ci (#4039) 2023-12-06 22:54:56 +00:00
.clang-tidy internal: fix clang-tidy "errors" (#11862) 2025-09-29 13:10:15 +01:00
.gitattributes Initial commit 2022-03-16 20:49:02 +01:00
.gitignore renderer/opengl: Extract shaders from source (#9600) 2025-03-29 01:19:35 +01:00
.gitmodules Core: Move to aquamarine (#6608) 2024-07-21 13:09:54 +02:00
CMakeLists.txt protocols: add Fifo-v1 and commit-timing-v1 (#12052) 2025-11-06 13:25:49 +00:00
CODE_OF_CONDUCT.md doc: Add a CoC (#3366) 2023-09-20 19:38:44 +01:00
flake.lock [gha] Nix: update inputs 2025-11-04 15:15:08 +00:00
flake.nix Nix: build hyprtester along with hyprland 2025-10-29 12:18:29 +02:00
hyprland.pc.in Core: Move to aquamarine (#6608) 2024-07-21 13:09:54 +02:00
LICENSE LICENSE: Update year (#11301) 2025-08-01 11:17:46 +02:00
Makefile hyprctl: include color management presets and sdr information (#12019) 2025-10-24 20:18:39 +01:00
meson.build meson: disable lto (#12129) 2025-10-25 15:19:47 +01:00
meson_options.txt core: drop the legacy renderer (#10408) 2025-05-15 10:13:24 +01:00
README.md README: add link to CI from badge (#11085) 2025-07-18 21:13:56 +03:00
SECURITY.md SECURITY: init security policy 2025-04-27 00:07:00 +02:00
VERSION version: bump to 0.51.0 2025-09-10 13:41:05 +01:00

banner

Badge Workflow Badge License Badge Language Badge Pull Requests Badge Issues Badge Hi Mom


Hyprland is a 100% independent, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.

It provides the latest Wayland features, is highly customizable, has all the eyecandy, the most powerful plugins, easy IPC, much more QoL stuff than other compositors and more...



Install

Quick Start

Configure

Contribute



Features

  • All of the eyecandy: gradient borders, blur, animations, shadows and much more
  • A lot of customization
  • 100% independent, no wlroots, no libweston, no kwin, no mutter.
  • Custom bezier curves for the best animations
  • Powerful plugin support
  • Built-in plugin manager
  • Tearing support for better gaming performance
  • Easily expandable and readable codebase
  • Fast and active development
  • Not afraid to provide bleeding-edge features
  • Config reloaded instantly upon saving
  • Fully dynamic workspaces
  • Two built-in layouts and more available as plugins
  • Global keybinds passed to your apps of choice
  • Tiling/pseudotiling/floating/fullscreen windows
  • Special workspaces (scratchpads)
  • Window groups (tabbed mode)
  • Powerful window/monitor/layer rules
  • Socket-based IPC
  • Native IME and Input Panels Support
  • and much more...


Gallery


Preview A


Preview B


Preview C



Special Thanks


wlroots - For powering Hyprland in the past

tinywl - For showing how 2 do stuff

Sway - For showing how 2 do stuff the overkill way

Vivarium - For showing how 2 do stuff the simple way

dwl - For showing how 2 do stuff the hacky way

Wayfire - For showing how 2 do some graphics stuff