summaryrefslogtreecommitdiff
path: root/src/debug
Commit message (Collapse)AuthorAgeFilesLines
...
* systeminfo: log system package versions (#11946)Vaxry2025-10-062-5/+20
|
* debug: fix data race in Debug::log() (#11931)Dave Walker2025-10-052-3/+3
| | | | | | | | | | | | | | | | | | | | | * debug: fix data race in Debug::log() The templated Debug::log() had mutex protection but the non-template overload it calls didn't, causing crashes when plugins called log from background threads (like hypr-dynamic-cursors loading cursor themes). Fixed by moving the mutex lock from the template version into the non-template version, so all writes to shared state are protected. Fixes: hyprwm/Hyprland#11929 Fixes: VirtCode/hypr-dynamic-cursors#99 * debug: apply clang-format to Log.cpp Fix formatting to satisfy CI clang-format check. --------- Co-authored-by: Dave Walker <dave@daviey.com>
* hyprctl: nullptr guard --systeminfo (#11822)Tom Englund2025-09-251-13/+18
| | | | | running Hyprland --systeminfo from a console/tty calls systemInfoRequest without us having a g_pCompositor or g_pHyprOpengl, so just if check them and make --systeminfo not segfault and atleast print what info we can.
* solitary: fix check for config error (#11733)Vaxry2025-09-171-5/+6
| | | Adds a blocker for solitary optimizations if there is a hyprerror present
* hyprctl: add an active layout index field in devices (#11531)Levizor2025-09-091-5/+11
|
* input: add per-device scroll-factor (#11241)Vaxry2025-09-021-4/+6
|
* renderer: Fix CM for DS and SDR passthrough (#11503)UjinT342025-08-291-2/+2
|
* input: Add fully configurable trackpad gestures (#11490)Vaxry2025-08-283-3/+3
| | | Adds configurable trackpad gestures
* internal: Solitary clients with single subsurface & verbose ↵UjinT342025-08-222-7/+103
| | | | | solitary/tearing/DS checks (#11228) Adds more verbose checks for various conditional rendering mechanisms
* hyprctl: add getprop (#11394)Luke Barkess2025-08-181-0/+129
|
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-144-93/+97
|
* descriptions: fix bad json output (#11350)Vaxry2025-08-061-2/+2
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* virtualkeyboard: Add options to skip releasing pressed keys on close and to ↵JS Deck2025-08-041-1/+1
| | | | skip sharing key states (#11214)
* hyprctl: Include physical monitor size in IPC monitor info (#11276)WhySoBad2025-08-041-18/+20
|
* hyprctl: fix typo in seterrorVaxry2025-08-031-1/+1
| | | | fixes #11297
* core: fix workspace persistence tracking (#11239)Vaxry2025-07-271-2/+5
|
* core: move workspace ptrs to weak (#11194)Vaxry2025-07-241-4/+4
| | | | Fixes some race conditions that come up in tests. We only clean up workspaces when we render a frame. With this, they are always cleared instantly.
* internal: replace unsafe strcpy with snprintf (#11128)MirzaSamadAhmedBaig2025-07-201-1/+1
|
* systeminfo: print more render infoVaxry2025-07-201-0/+26
|
* hyprctl: make animations print details about bezier curves (#10413) (#10871)boundlessvoid02025-07-161-3/+10
|
* debugOverlay: fix tick measurementVaxry2025-07-121-1/+1
|
* renderpass: use unique ptr instead of shared ptrTom Englund2025-07-102-2/+2
| | | | | lets use unique ptrs instead of refcounting shared ptr when its not needed, use rvalue reference to construct in vector directly.
* pass: overload TexPass constructorTom Englund2025-07-072-2/+2
| | | | | overload it with a rvalue to allow us to move the data directly avoiding an extra copy. because SRenderData is not trivially copyable.
* renderer: add mouse zoom animations (#10882)aphelei2025-07-011-0/+2
| | | Adds animations for the mouse zoom effect.
* renderer: reduce a lot of glcalls and cache various states (#10757)Tom Englund2025-06-252-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * opengl: cache viewport state according to nvidia docs calling glViewPort unnecessarily on the same already set viewport is wasteful and can cause state changes when not needed. cache it in a struct and only call it when the viewport is actually changing. * opengl: cache glenable/gldisable state avoid making multiple glenable/gldisable calls on already set caps, can cause state changes and incur driver overhead. * opengl: cache glscissor box only call glscissor if the box actually has changed, try to avoid state changes. * opengl: cache gluniform calls cache the gluniform calls, the uniform values are cached in driver per program only the drawcalls setting the uniform yet again with the same value on same location is causing more overhead then caching it ourself and just no oping on it if no changes. * shader: rewrite handling of uniforms and state this is way faster as we don't need to mess with maps (hashing, etc) and instead can just use an array * opengl: stuff and 300 shaders * opengl: typo * opengl: get the uniform locations properly now that the legacy shaders are gone get the uniformlocations for SKIP_CM etc, so they can be properly set and used depending on if cm_enabled is set to false or true, before it was falling back to a legacy shader that didnt even have those uniforms. * opengl: check epsilon on float and remove extra glcall seems an extra unset glcall was added, remove it. and check the float epsilon on the glfloat. * opengl: remove instanced shader draw remove the instanced boolean from the vertex shader, might be neglible differences, needs more benchmark/work to see if its even worth it. * texture: cache texture paramaters parameters where occasionally set twice or more on same texture, short version wrap it and cache it. and move gpu churn to cpu churn. add a bind/unbind to texture aswell. * texture: use fast std::array caching cache the texparameter values in fast array lookups and incase we dont want it cached, apply it anyways. * shader: fix typo and hdr typo actually use Matrix4x2fv in the 4x2fv cache function, and send the proper float array for hdr. * texture: make caching not linear lookup make caching of texture params not linear. * minor style changes * opengl: revert drawarrays revert the mostly code style reduce loc change of drawarrays, and focus on the caching. its a if else case going wrong here breaking blur/contrast amongst others drawing. --------- Co-authored-by: Vaxry <vaxry@vaxry.net>
* hyprctl: print no open windows instead of invalid request on empty clientsVaxry2025-06-231-0/+3
|
* config: add a new monitor v2 config syntax (#9761)UjinT342025-06-051-0/+3
|
* internal: refactor to use empty() (#10599)Kamikadze2025-05-313-10/+10
|
* refactor: use std::ranges whenever possible (#10584)Kamikadze2025-05-302-7/+6
|
* core: drop the legacy renderer (#10408)Tom Englund2025-05-154-16/+1
| | | | | | | | | | | * core: drop the legacy renderer the legacy renderer is broken and barely used, drop it. * Nix: drop support for legacyRenderer --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* render: refactor class member vars (#10292)davc0n2025-05-053-9/+9
| | | | | * render: refactor class member vars * render: fix clang format
* plugins: refactor class member vars (#10257)davc0n2025-05-032-7/+7
|
* managers: refactor class member vars (#10242)davc0n2025-05-022-6/+6
|
* inputs: refactor class member vars (#10230)davc0n2025-05-011-18/+18
|
* helpers: refactor class member vars (#10218)davc0n2025-04-303-49/+50
|
* devices: refactor class member vars (#10206)davc0n2025-04-291-25/+26
|
* permissions: add perms for plugin loading (#10184)Vaxry2025-04-292-18/+81
| | | | | | | Adds permission management for loading plugins --------- Co-authored-by: Jan Beich <jbeich@FreeBSD.org>
* windows: refactor class member vars (#10168)davc0n2025-04-281-22/+21
|
* workspaces: refactor class member vars (#10167)davc0n2025-04-251-16/+15
|
* layers: refactor class member vars (#10149)davc0n2025-04-241-3/+3
| | | | | * layers: refactor class member vars * popups: rename m_WLSurface to m_wlSurface
* compositor: refactor class member vars (#10141)davc0n2025-04-223-28/+28
|
* protocols: add xdg_toplevel_tag_v1 supportVaxry2025-04-211-4/+8
| | | | Adds a new windowrule to target windows by xdgTag, xdgtag:
* debug: refactor class member vars (#10130)davc0n2025-04-2110-205/+205
|
* config: Refactor class member vars (#10124)davc0n2025-04-201-15/+15
| | | | | * Refactor config classes vars * Fix clang format errors
* time: move to stl's clocks and move timerVaxry2025-04-161-1/+1
|
* Permission Manager: add permission management for screencopy (#9930)Vaxry2025-04-081-1/+1
|
* renderer/opengl: Extract shaders from source (#9600)UjinT342025-03-291-0/+9
| | | | | --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* core: fix clang-formatVaxry2025-03-021-2/+2
|
* core: cleanup some smart pointer usageVaxry2025-03-021-2/+2
|
* hyprctl/layers: print pid for layershell clients (#9468)littleblack1112025-02-261-4/+6
| | | Adds a `getPID()` fn to layershell to print it in `hyprctl layers`