Commit Graph

6301 Commits

Author SHA1 Message Date
Thomas Müller
bf1602d9f9 renderer: implement wp-color-management-v1 transfer functions (#11084) 2025-07-20 18:20:27 +02:00
MightyPlaza
d4de69381e internal: set value and goal for window size and position on setGroupCurrent (#11120) 2025-07-20 17:00:17 +02:00
MirzaSamadAhmedBaig
503fc458d8 internal: replace unsafe strcpy with snprintf (#11128) 2025-07-20 15:31:53 +02:00
Vaxry
a3d59b525b systeminfo: print more render info 2025-07-20 14:51:17 +02:00
Mozzarella32
b7a91e02e9 renderer: Add cursor:invisible to allow to hide the cursor (#11058) 2025-07-20 12:40:21 +02:00
Vaxry
58b6eceb6d sessionlock: fix flipped if condition 2025-07-20 12:33:22 +02:00
Vaxry
91d8a629eb sessionlock: fix timer logic on unsafe state 2025-07-19 16:48:20 +02:00
Vaxry
8b38353012 eventloop: improve timer handling to avoid crashes
ref #11062
2025-07-19 16:47:14 +02:00
Vaxry
3b04131259 eventloop: avoid duplicate timers 2025-07-19 13:31:37 +02:00
Vaxry
d84699d8e5 opengl: detect android fence support and disable explicit if it's missing (#11077)
Checks for explicit sync support via the android fences, and falls back to implicit sync if it isn't
2025-07-19 12:38:41 +02:00
MrFantOlas
ae3cc48f22 protocols/gamma: support pipes (#11076)
Add support for pipes and potentially other valid file descriptors. Add check for more data on the socket than the required amount as per protocol.

---------

Co-authored-by: Alexandre Teixeira <alexandre.teixeira@etu.emse.fr>
2025-07-18 23:20:17 +02:00
Radovenchyk
4adf658907 README: add link to CI from badge (#11085) 2025-07-18 21:13:56 +03:00
Mike Will
260a13a12f snap: use window extents instead of border size (#11079)
* snap: use window extents instead of border size

`border_overlap` no longer does anything for window snapping, only monitor snapping.
2025-07-18 17:35:43 +02:00
vaxerski
088e8af955 [gha] Nix: update inputs 2025-07-18 10:11:00 +00:00
Vaxry
49abc193f7 framescheduler: check monitor validity in doLater 2025-07-18 12:09:43 +02:00
Vaxry
a05c797e4a compositor: properly set infinite region on null input
fixes #11065
2025-07-17 22:04:20 +02:00
Tom Englund
b46dc9ee0c framescheduler: dont if check deleted weakpointer (#11063)
if m_monitor is destroyed the doOnReadable will eventually hit UB on
destruction if checking a destroyed m_monitor. acctually use the
captured mon weak pointer.
2025-07-17 21:59:20 +02:00
aphelei
75c0675e14 config: add better zoomFactor default (#11060) 2025-07-17 18:37:11 +02:00
Vaxry
49d73d1893 config: default drag_lock to 0 2025-07-16 22:39:42 +02:00
boundlessvoid0
409b56f6a3 hyprctl: make animations print details about bezier curves (#10413) (#10871) 2025-07-16 21:35:15 +02:00
Vaxry
148718b3bc socket2: fixup invalid ws passed to openwindow
fixes #11044
2025-07-16 18:22:54 +02:00
Vaxry
5349667992 master: add ignoremaster to swapwithmaster
fixes #11042
2025-07-16 15:51:11 +02:00
Vaxry
c4a4c34156 version: bump to 0.50.0 v0.50.0 2025-07-16 11:33:42 +02:00
Vaxry
d4fbedcd35 core: never use hw cursors when tearing 2025-07-16 11:33:40 +02:00
Vaxry
5bfe6dc703 config: disable hw on mgpu nvidia by default (#11018) 2025-07-16 11:02:20 +02:00
Mike Will
8453fbf4eb snap: fix border_overlap option for monitor snapping (#10987) 2025-07-15 22:24:40 +02:00
UjinT34
e15014e031 protocols/cm: Fix preferred image description (#11026) 2025-07-15 19:33:14 +02:00
UjinT34
bc764f7065 protocols: Remove incorrect CM proto debug check and fix preferred image description (#11023) 2025-07-14 22:54:43 +02:00
Maximilian Seidler
06fcdbd9c7 renderer: use makeUnique for session-lock render passes (#11019)
Fixup for a merge conflict introduced by #10865.
2025-07-14 15:48:50 +02:00
Maximilian Seidler
01971cb6c7 session-lock: don't render workspaces when locked (#10865)
Avoid rendering the workspace behind if we are locked
2025-07-14 13:13:54 +02:00
Vaxry
d0f58baf29 screencopy: ignore hidden windows in noscreenshare
fixes #11002
2025-07-12 18:22:47 +02:00
Vaxry
8bfff87833 debugOverlay: fix tick measurement 2025-07-12 18:19:59 +02:00
Vaxry
6821723b44 splashes: add zacoons' splash
winner of the 4th ricing comp
2025-07-11 23:47:48 +02:00
Tom Englund
e589adb00d config: remove render_ahead* config options
remove render_ahead* config options and descriptions. they are unusued.
2025-07-11 17:51:04 +02:00
Tom Englund
523eed048e xwl: dont mark the even source as readable
wl_event_source_check makes the event trigger until onx11event returns non
zero. but we arent removing the event source from the event loop so lets
not mark it at all and recieve spurious constant calls.
2025-07-11 17:51:04 +02:00
Tom Englund
e6bb809663 monintor: remove rathandler
is this even used? lets just remove it.
2025-07-11 17:51:04 +02:00
Tom Englund
b5433bb753 singlepixel: move to unique ptrs
less refcounting, move by rvalue.
2025-07-10 14:09:00 +02:00
Tom Englund
bcb96c5532 presentation: move to unique ptrs
less refcounting, move by rvalue.
2025-07-10 14:09:00 +02:00
Tom Englund
f22b5971d1 dmabuf: move to unique ptrs
less refcounting, move by rvalue.
2025-07-10 14:09:00 +02:00
Tom Englund
87653077f8 cursorshape: use unique ptrs
less refcounting.
2025-07-10 14:09:00 +02:00
Tom Englund
a21882be33 ctmcontrol: move to unique ptrs
less refcounting, move by rvalue.
2025-07-10 14:09:00 +02:00
Tom Englund
37be9a8959 alphamodifier: move to unique ptrs
less refcounting, move by rvalue.
2025-07-10 14:09:00 +02:00
Tom Englund
f5af40afce renderpass: use unique ptr instead of shared ptr
lets use unique ptrs instead of refcounting shared ptr when its not
needed, use rvalue reference to construct in vector directly.
2025-07-10 14:09:00 +02:00
Vaxry
6375e471f3 config: disable new_render_scheduling by default 2025-07-09 16:13:57 +02:00
Kamikadze
c6497a7193 internal: Prevent double-free in attemptDirectScanout (#10974) 2025-07-09 14:39:36 +02:00
FrancisTheCat
9517d0eaa4 renderer: Added a pointer position uniform to the screen shader. (#10821) 2025-07-08 19:31:15 +02:00
outfoxxed
78e9eddfb6 core: use new typed signals from hu (#10853) 2025-07-08 18:56:40 +02:00
Tom Englund
2f34ef141b compositor: fix race to finish on null buffer (#10970)
if a null buffer is commited and a pending state is awaiting, drop the
pending state so we dont end up in race to finish brokeness.
2025-07-08 18:55:46 +02:00
Vaxry
8f948827a6 Renderer: Implement new render scheduling (#10936)
Implements a new render scheduling method, where we triple buffer when necessary.

Enabled by default, improves FPS on underpowered devices.

---------

Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
2025-07-08 12:41:10 +02:00
Tom Englund
9856563f89 opengl: avoid reallocations in EGLImage (#10960)
use a std::array instead of vector and avoid reallocations.
it should at most be 49 entries, so make the array 50. and RASSERT check
it incase more entries gets added in the future.
2025-07-07 23:44:35 +02:00