summaryrefslogtreecommitdiff
path: root/src/protocols/TearingControl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* event: refactor HookSystem into a typed event bus (#13333)Vaxry2026-02-221-3/+2
| | | | | Refactors the old HookSystem into a typed event bus with clear separation, discovery and types.
* desktop: cleanup, unify desktop elements as views (#12563)Vaxry2025-12-081-2/+2
|
* protocols: refactor class member vars (n-t) (#10273)davc0n2025-05-041-18/+18
|
* windows: refactor class member vars (#10168)davc0n2025-04-281-2/+2
|
* compositor: refactor class member vars (#10141)davc0n2025-04-221-1/+1
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-2/+2
|
* core: add LIKELY and UNLIKELY macrosvaxerski2025-01-171-2/+2
| | | | helps the compiler optimize
* core: cleanup header includes (#9088)user1111111111111111111111111111111112025-01-171-0/+1
| | | Cleanup some unneeded includes to speed up compilation
* misc: constify the remaining for loops (#7534)Tom Englund2024-08-261-2/+2
| | | now we roll loops at blazing constified speed.
* wayland/core: move to new impl (#6268)Vaxry2024-06-081-5/+7
| | | | | * wayland/core/dmabuf: move to new impl it's the final countdown
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-2/+2
| | | | | | | | | | | 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.
* protocols: utilize hyprwayland-scanner 0.3.3 functionsVaxry2024-05-011-7/+5
| | | | stuff like ::version(), ::client(), ::error() etc
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-7/+8
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* protocols: fix for hyprwayland-scanner updateVaxry2024-04-211-1/+1
|
* protocols: minor style improvements to new implsVaxry2024-04-211-0/+1
|
* HookSystem: improve callback safetyVaxry2024-04-201-1/+1
|
* core: Move tearing to hyprwayland-scanner (#5657)Vaxry2024-04-201-52/+16
| | | | | | | Adds a new dependency: hyprwayland-scanner https://github.com/hyprwm/hyprwayland-scanner --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* tearing-control: search through all valid windowsVaxry2024-04-201-1/+6
| | | | ref #5655
* tearing-control: hyprland impl (#5655)Vaxry2024-04-191-0/+106
* tearing: hl impl * format