summaryrefslogtreecommitdiff
path: root/src/protocols/Viewporter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* viewporter: clamp sub-pixel overflow (#11845)omar2025-09-271-2/+25
| | | Clamps the pending wp_viewport source rect back inside the attached buffer when it misses by <= 1 px, so if clients request something that falls within the 256-increment wl_fixed_from_double precision error it’s still treated as valid.
* core: use new typed signals from hu (#10853)outfoxxed2025-07-081-1/+1
|
* internal: iso C++ prohibits anonymous structs (#10955)Tom Englund2025-07-071-2/+2
| | | turn on -Wpedantic and name the anonymous struct.
* protocols: refactor class member vars (u-z) (#10282)davc0n2025-05-041-37/+37
| | | | | * protocols: refactor class member vars (u-z) * protocols: fix clang format
* protocols: refactor class member vars (core) (#10259)davc0n2025-05-031-16/+16
|
* core: refactor and improve surface commit (#9805)Ikalco2025-04-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | * make CHLBufferReference not a SP anymore * copy over release and acquire points in CHLBufferReference * use CHLBufferReference in screencopy and toplevel export TODO: use CHLBufferReference in direct scanout properly the only problem is the scanout buffer release timing, specifically the onBackendRelease mechanism * cleanup SSurfaceState and surface pending commit tracking * move surface code from DRMSyncobj, and move acquire to SSurfaceState * use queue for comitted pending surface states like proto says "The content update is placed in a queue until it becomes active." - wl_surface::commit * drop, not release, prev buffer if 2nd buffer wl_surface.attach is sent "A wl_buffer that has been attached and then replaced by another attach instead of committed will not receive a release event, and is not used by the compositor." - wl_surface::attach
* core/compositor: Correctly track SHM buffer damage (#9678)Lee Bousfield2025-03-221-1/+1
|
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-8/+8
| | | | helps the compiler optimize
* protocols: refactor protocol logging to a macro (#7324)Tom Englund2024-08-151-2/+0
| | | | | | this avoids the usage of the unique_ptr PROTO::protocol before it has been constructed incase one wants to log something inside the constructor itself, move the logging to macros and print file:linenumber on ERR,CRIT,WARN and classname on the rest of the levels.
* core/surface/buffer: Buffer lock/release fixes (#7110)Vaxry2024-07-311-2/+2
|
* Core: Move to aquamarine (#6608)Vaxry2024-07-211-14/+15
| | | | | | | | | | | | | | Moves Hyprland from wlroots to aquamarine for the backend. --------- Signed-off-by: Vaxry <vaxry@vaxry.net> Co-authored-by: Mihai Fufezan <mihai@fufexan.net> Co-authored-by: Jan Beich <jbeich@FreeBSD.org> Co-authored-by: vaxerski <vaxerski@users.noreply.github.com> Co-authored-by: UjinT34 <41110182+UjinT34@users.noreply.github.com> Co-authored-by: Tom Englund <tomenglund26@gmail.com> Co-authored-by: Ikalco <73481042+ikalco@users.noreply.github.com> Co-authored-by: diniamo <diniamo53@gmail.com>
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-0/+126
* wayland/core/dmabuf: move to new impl it's the final countdown