summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* framescheduler: dont if check deleted weakpointer (#11063)Tom Englund2025-07-171-1/+1
| | | | | 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.
* config: default drag_lock to 0Vaxry2025-07-162-3/+3
|
* hyprctl: make animations print details about bezier curves (#10413) (#10871)boundlessvoid02025-07-161-3/+10
|
* socket2: fixup invalid ws passed to openwindowVaxry2025-07-161-2/+1
| | | | fixes #11044
* master: add ignoremaster to swapwithmasterVaxry2025-07-161-2/+5
| | | | fixes #11042
* core: never use hw cursors when tearingVaxry2025-07-161-0/+3
|
* config: disable hw on mgpu nvidia by default (#11018)Vaxry2025-07-164-2/+11
|
* snap: fix `border_overlap` option for monitor snapping (#10987)Mike Will2025-07-152-21/+28
|
* protocols/cm: Fix preferred image description (#11026)UjinT342025-07-156-8/+50
|
* protocols: Remove incorrect CM proto debug check and fix preferred image ↵UjinT342025-07-143-4/+18
| | | | description (#11023)
* renderer: use makeUnique for session-lock render passes (#11019)Maximilian Seidler2025-07-141-3/+3
| | | Fixup for a merge conflict introduced by #10865.
* session-lock: don't render workspaces when locked (#10865)Maximilian Seidler2025-07-147-80/+128
| | | Avoid rendering the workspace behind if we are locked
* screencopy: ignore hidden windows in noscreenshareVaxry2025-07-121-0/+3
| | | | fixes #11002
* debugOverlay: fix tick measurementVaxry2025-07-121-1/+1
|
* splashes: add zacoons' splashVaxry2025-07-111-0/+1
| | | | winner of the 4th ricing comp
* config: remove render_ahead* config optionsTom Englund2025-07-112-14/+0
| | | | remove render_ahead* config options and descriptions. they are unusued.
* xwl: dont mark the even source as readableTom Englund2025-07-111-1/+0
| | | | | | 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.
* monintor: remove rathandlerTom Englund2025-07-112-14/+0
| | | | is this even used? lets just remove it.
* singlepixel: move to unique ptrsTom Englund2025-07-102-8/+8
| | | | less refcounting, move by rvalue.
* presentation: move to unique ptrsTom Englund2025-07-105-26/+35
| | | | less refcounting, move by rvalue.
* dmabuf: move to unique ptrsTom Englund2025-07-102-22/+23
| | | | less refcounting, move by rvalue.
* cursorshape: use unique ptrsTom Englund2025-07-102-4/+4
| | | | less refcounting.
* ctmcontrol: move to unique ptrsTom Englund2025-07-102-5/+5
| | | | less refcounting, move by rvalue.
* alphamodifier: move to unique ptrsTom Englund2025-07-102-7/+7
| | | | less refcounting, move by rvalue.
* renderpass: use unique ptr instead of shared ptrTom Englund2025-07-1015-46/+46
| | | | | lets use unique ptrs instead of refcounting shared ptr when its not needed, use rvalue reference to construct in vector directly.
* config: disable new_render_scheduling by defaultVaxry2025-07-092-2/+2
|
* internal: Prevent double-free in attemptDirectScanout (#10974)Kamikadze2025-07-091-1/+4
|
* renderer: Added a pointer position uniform to the screen shader. (#10821)FrancisTheCat2025-07-082-3/+20
|
* core: use new typed signals from hu (#10853)outfoxxed2025-07-0885-873/+675
|
* compositor: fix race to finish on null buffer (#10970)Tom Englund2025-07-081-0/+7
| | | | 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.
* Renderer: Implement new render scheduling (#10936)Vaxry2025-07-0810-80/+205
| | | | | | | | | 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>
* opengl: avoid reallocations in EGLImage (#10960)Tom Englund2025-07-071-21/+24
| | | | | 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.
* pass: overload TexPass constructorTom Englund2025-07-0710-12/+17
| | | | | overload it with a rvalue to allow us to move the data directly avoiding an extra copy. because SRenderData is not trivially copyable.
* renderer: move render calculation behind if caseTom Englund2025-07-071-6/+6
| | | | | | the durationUs is not used unless debug overlay is enabled, lets not calculate it each call to rendermonitor if not enabled. same with renderStart.
* eventloop: RAII the even source on readable fdTom Englund2025-07-072-5/+17
| | | | RAII remove the event source and honor rule by 5
* compositor: dont send around int max valuesTom Englund2025-07-071-7/+12
| | | | | | we know the buffersize use it instead of int max values that can potentially cause math issues and slowdowns. minor improvement to glmark2 aswell.
* plugins: made currentWindow available in RENDER_PRE_WINDOW (#10957)jmanc32025-07-071-3/+3
|
* internal: iso C++ prohibits anonymous structs (#10955)Tom Englund2025-07-075-32/+32
| | | turn on -Wpedantic and name the anonymous struct.
* texture: zero out the cached states in destroy (#10954)Tom Englund2025-07-071-0/+1
| | | | if destroyTexture is called outside of the texture destructor we need to empty out the cached states.
* internal: handle setGroupCurrent properly on fs groups (#10920)MightyPlaza2025-07-051-10/+13
|
* inputmgr: remove unused varVaxry2025-07-011-1/+0
|
* renderer: add mouse zoom animations (#10882)aphelei2025-07-016-10/+20
| | | Adds animations for the mouse zoom effect.
* opengl: add missing skipcm if case (#10888)Tom Englund2025-07-011-0/+6
| | | | | missing skipcm if case so the CM uniforms where never added on the gradient2 renderBorder case, until the non gradient2 one had run atleast once. causing it to not render on first launch/delayed.
* buffer: check if buffer fd already readable (#10894)Tom Englund2025-07-011-0/+3
| | | | check if buffer fd is already readable, to avoid a lot of unnecessery systemcalls and churn.
* shader: replace texture2d with texture (#10893)Tom Englund2025-07-018-26/+24
| | | | | | | | | | * shader: replace texture2d with texture remove unused v_color and replace deprecated texture2d with texture. * shader: use the more modern essl3 extension GL_OES_EGL_image_external_essl3 provides support for samplerExternalOES in texture function, aquamarine already use it. apply it here too.
* sessionlock: restore cursor if hidden on unlock (#10889)Tom Englund2025-07-011-0/+5
| | | | | | if session locks have hidden the cursor its gonna be missing unless a new cursor shape is set, hovering windows makes us get one, moving the wallpaper/desktop does not. set it again to left_ptr as is default on compositor start.
* screencopy: fix improper box calculations for transforms (#10870)Vaxry2025-06-281-3/+5
|
* unbind: add unbind allVaxry2025-06-281-0/+7
|
* snap: move `gapOffset` logic outside of for loop (#10861)Mike Will2025-06-271-7/+8
|
* renderer: clamp rounding_power (#10816)rafiq2025-06-261-1/+1
|