summaryrefslogtreecommitdiff
path: root/src/render/decorations/DecorationPositioner.hpp
Commit message (Collapse)AuthorAgeFilesLines
* render/decorations: improve cache performanceVaxry2026-04-041-14/+15
|
* render/opengl: optimize getShaderVariant's map accessVaxry2026-04-041-7/+7
|
* render/decoration: cache input extents as wellVaxry2026-04-041-6/+7
|
* render/decoration: improve extent calculationsVaxry2026-04-041-4/+7
|
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-1/+0
|
* decoration: reduce virtual callsTom Englund2025-09-281-4/+4
| | | | | | | | this shows up as top contender in idle cpu usage, because decos in animations keeps locking weak pointers to shared pointers per window per frame when its not really needed, use weakpointers all the way and it drops to a bottom contender. marginal gains in the big picture. but gains is gains.
* render: refactor class member vars (#10292)davc0n2025-05-051-2/+2
| | | | | * render: refactor class member vars * render: fix clang format
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-7/+7
|
* core: Add clang-tidy (#8664)Vaxry2024-12-071-2/+2
| | | | | This adds a .clang-tidy file for us. It's not a strict requirement to be compliant, but I tuned it to be alright.
* core: Move to hyprutils for MathVaxry2024-06-191-14/+14
| | | | | | Moves CRegion, CBox and Vector2D over to hyprutils. Requires hyprutils>=0.1.4
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-10/+7
| | | | | | | | | | | moves std::shared_ptrs to a new implementation Advantages: - you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired. - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.) - weak_ptrs are still valid while the SP is being destroyed. - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection) - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though. - this is useful in destructors and callbacks.
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-14/+17
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* style/ci: apply clang-format and verify it in ci (#4039)François Conzelmann2023-12-061-4/+2
| | | | | * style: apply clang-format * ci: add new clang-format job to CI
* decorations: recalc layout and positioner on add/removeVaxry2023-11-131-0/+1
|
* decoration: add NON_SOLID flag for shadowVaxry2023-11-121-3/+5
| | | | fixes #3841
* decoration-positioner: improve stabilityVaxry2023-11-111-4/+4
|
* decoration-positioner: improve extent handlingVaxry2023-11-111-1/+2
|
* deco-positioner: recalc after uncacheVaxry2023-11-111-0/+1
|
* decorations: Decoration Positioner (#3800)Vaxry2023-11-111-0/+96