summaryrefslogtreecommitdiff
path: root/src/debug
Commit message (Collapse)AuthorAgeFilesLines
* 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`
* hyprctl: don't return empty str if there are no global shortcutsVaxry2025-02-181-1/+4
| | | | fixes #6043
* workspaces: update persistence on workspace rename (#9368)Roberto Previdi2025-02-151-6/+8
|
* core: begin using CFileDescriptor from hyprutils (#9122)Tom Englund2025-01-302-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* config/hyprctl: fix keyword not updating autoreloadvaxerski2025-01-291-0/+3
| | | | ref #9139
* renderer/internal: stop using box pointersVaxry2025-01-262-5/+5
| | | | in favor of const refs
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-234-12/+12
|
* core: move to inotify for monitoring the config filesvaxerski2025-01-191-5/+2
| | | | | | instead of manually polling every second which is not efficient, use inotify. an added bonus is that inotify is much much faster
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-179-7/+18
| | | Cleanup some unneeded includes to speed up compilation
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-11/+12
| | | | | | | | | | | | | * 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