summaryrefslogtreecommitdiff
path: root/src/render
Commit message (Collapse)AuthorAgeFilesLines
* protocols: Support wp color management proto (#9444)UjinT342025-02-261-5/+9
| | | Adds support for the recently merged w-p CM protocol alongside the (now deprecated) old CM WIP protocols
* hyprctl/config: fixup config descriptions, fill out missing ones, provide ↵Vaxry2025-02-252-12/+2
| | | | | | more data adds current and explicit, better parsing, and fixes missing / invalid ones
* core: add an ANR dialogVaxry2025-02-182-5/+17
| | | | | | for xdg-shell, we can ping the wm_base, and thus render an ANR dialog if an app dies for XWayland, there probably is a similar method, but I don't know about it and don't care.
* renderer: remove spammy logVaxry2025-02-141-1/+0
|
* renderer: disable explicit if aquamarine output doesn't support it (#9396) ↵Anthony Ruhier2025-02-132-4/+12
| | | | | | | | | | (#9398) The explicit settings ignore the aquamarine output.supportsExplicit attribute, which creates glitches on drivers not supporting explicit sync (example: freedreno). If the output has been set as not supporting explicit, disable the explicit settings.
* animations: sync inactive/active border angles when using borderangle ↵Maximilian Seidler2025-02-131-0/+5
| | | | animations (#9401)
* groupbar: fix groupbar missing when indicator_height is <= 0Vaxry2025-02-091-97/+99
| | | | ref #9291 #9372
* renderer: various fixes towards improving gpu calls robustness (#9188)Tom Englund2025-02-085-36/+38
| | | | | | | | | | | | | | ensure framebuffer textures are detached and deleted, avoid leaving framebuffers bound when not needed * render: avoid calling glDeleteProgram on no program its safe to do so but it adds a bunch of unnecessery lines in apitrace when tracing. if guard it and return early. * opengl: ensure texture and buffers are unbound ensure bound buffers are unbound after use, also detach textures from framebuffer before deleting it otherwise it will become dangling and essentially leak.
* renderer: fix fade out on silent moves to specialVaxry2025-02-061-3/+15
|
* window: move size reporting to animation begin callback (#9298)Maximilian Seidler2025-02-061-3/+0
| | | | | | | | | | | | | | | | | * window: fix resizes with an update callback * window: fixup sendWindowSize Remove the size argument from sendWindowSize, since it is now a member of the Window class and we don't want any mismatches between m_vRealSize and what we report. Remove sendWindowSize from mapWindow, since we shouldn't need it. * window: sendWindowSize on animation begin * window: move most calls to sendWindowSize to the animation begin callback * window: remove sendWindowSize in unmanaged if not fullscreen
* core: avoid .at() and use [] operator (#9347)Tom Englund2025-02-061-4/+4
| | | avoid .at() where it makes sense and use [] operator in loops.
* renderer: fix missing null checks to prevent crashes (#9332)nyx2025-02-051-1/+3
|
* protocols: Support content-type-v1 proto (#9226)UjinT342025-02-021-1/+13
|
* pass: add input region debugVaxry2025-02-011-0/+17
|
* render: enforce framebuffer offloading and remove introspection toggle (#9217)nyx2025-01-314-145/+10
|
* groupbar: various visual improvementsVaxry2025-01-315-20/+84
| | | | added rounding, round at edges, and indicator height
* core: begin using CFileDescriptor from hyprutils (#9122)Tom Englund2025-01-303-41/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * hyprctl: make fd use CFileDescriptor make use of the new hyprutils CFileDescriptor instead of manual FD handling. * ikeyboard: make fd use CFileDescriptor make use of the new CFileDescriptor instead of manual FD handling, also in sendKeymap remove dead code, it already early returns if keyboard isnt valid, and dont try to close the FD that ikeyboard owns. * core: make SHMFile functions use CFileDescriptor make SHMFile misc functions use CFileDescriptor and its associated usage in dmabuf and keyboard. * core: make explicit sync use CFileDescriptor begin using CFileDescriptor in explicit sync and its timelines and eglsync usage in opengl, there is still a bit left with manual handling that requires future aquamarine change aswell. * eventmgr: make fd and sockets use CFileDescriptor make use of the hyprutils CFileDescriptor instead of manual FD and socket handling and closing. * eventloopmgr: make timerfd use CFileDescriptor make the timerfd use CFileDescriptor instead of manual fd handling * opengl: make gbm fd use CFileDescriptor make the gbm rendernode fd use CFileDescriptor instead of manual fd handling * core: make selection source/offer use CFileDescriptor make data selection source and offers use CFileDescriptor and its associated use in xwm and protocols * protocols: convert protocols fd to CFileDescriptor make most fd handling use CFileDescriptor in protocols * shm: make SHMPool use CfileDescriptor make SHMPool use CFileDescriptor instead of manual fd handling. * opengl: duplicate fd with CFileDescriptor duplicate fenceFD with CFileDescriptor duplicate instead. * xwayland: make sockets and fds use CFileDescriptor instead of manual opening/closing make sockets and fds use CFileDescriptor * keybindmgr: make sockets and fds use CFileDescriptor make sockets and fds use CFileDescriptor instead of manual handling.
* core,hyprctl: clang, clang-tidy, typo fixes and dtors changes (#9233)Honkazel2025-01-308-17/+5
| | | | | | | * declare dtor once + DMABBUF typo fix * dup include + clang moment * linux-dmabuf: last minute nit change
* pass/rect: fix bounding / opaque regionsvaxerski2025-01-292-3/+3
| | | | fixes #9212
* renderer: calculate UV using both pixel and monitor dimensions (#9210)nyx2025-01-291-5/+11
|
* core: fix clang-formatVaxry2025-01-271-1/+2
|
* renderer: fix rare case when a tiled window would be rendered over fsVaxry2025-01-261-1/+1
|
* renderer: fix funky cornersVaxry2025-01-261-4/+4
| | | | oopsie
* shadow: avoid drawing empty shadowsVaxry2025-01-261-0/+3
|
* renderer/internal: stop using box pointersVaxry2025-01-2613-204/+191
| | | | in favor of const refs
* desktop: move desktop types to memory-safe pointersVaxry2025-01-261-2/+2
|
* core: move sendWindowSize off of xwaylandmgrVaxry2025-01-251-1/+1
| | | | additionally fixes that one weird x11 issue with floating windows being mis-sized on open
* input: pass touch events to lock screens (#9129)Junxuan Liao2025-01-252-2/+2
| | | | | * refactor: use weak pointers for session lock surfaces * input: pass touch events to lock screens
* pass/rect: fix bounding boxVaxry2025-01-231-2/+2
|
* pass/rect: fix box shrinking with bbVaxry2025-01-231-1/+1
| | | | fixes #9084
* opengl: use uv to avoid rendering the entire blurboxVaxry2025-01-231-4/+13
| | | | | | additionally can use smoothing for rounding fixes #9086
* protocols: add hyprland_surface_v1.set_visible_region implementation (#9120)outfoxxed2025-01-234-3/+66
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-236-18/+18
|
* core: reserve vector sizes as much as we can (#9118)Tom Englund2025-01-192-3/+14
| | | | | avoid reallocations as much as possible with a few edge cases where the reservation overshoots a tiny bit. but a few bytes of memory short term is better used then the overhead of potential reallocation.
* renderer: Auto enable wide color gamut in HDR mode (#9090)UjinT342025-01-172-10/+20
|
* core: fix warning in shadowvaxerski2025-01-171-1/+0
|
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-1711-3/+23
| | | Cleanup some unneeded includes to speed up compilation
* renderer: fix fullscreen hdr check (#9076)UjinT342025-01-161-1/+1
|
* renderer: unload background texture if it's disabledvaxerski2025-01-142-8/+17
| | | | ref #9031
* protocols: allow hyprland-toplevel-export to capture hidden windows (#9041)outfoxxed2025-01-122-8/+8
|
* renderer: Do not set hdr metadata unless needed (#9014)UjinT342025-01-122-7/+17
|
* opengl: fix crash on null fb stencil opvaxerski2025-01-081-2/+5
|
* opengl: only allocate offMainFB on demandvaxerski2025-01-081-1/+9
| | | | These are not used by hyprland, only potentially plugins. No need to keep the VRAM allocated all the time
* renderer: don't access hdrMetadata optional if it has no value (#8987)Maximilian Seidler2025-01-081-2/+3
|
* core: Add support for HDR and color management protocols (#8715)UjinT342025-01-072-0/+99
|
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-077-86/+86
| | | | | | | | | | | | | * core: change animation manager to use Hyprutils::Animation * config: move animation config to hyprutils animation tree * use g_pAnimationManager->createAnimation and the new PHLANIMVAR template * core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks * core: adapt animated variable usage (dereference the shared pointer) * misc: bump CMakeLists to hyprutils 0.3.3
* shaders: fix blank windows when using corner rounding (#8969) (#8971)Pollux2025-01-061-2/+2
|
* pass: fixup debug mode rendering of input boxesvaxerski2025-01-051-1/+2
|
* pass/surface: fixup invalid expansion by old -1 rounding paramvaxerski2025-01-051-26/+10
| | | | fixes #8889
* pass: improve pass debug modevaxerski2025-01-052-8/+40
|