mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-18 20:49:49 +01:00
f9b52203f5
* window: inline and const getWindowMainSurfaceBox getWindowMainSurfaceBox gets called a lot of times from deep down from mousemoveunified, profiling mousemoveunified it spends quite a lot of cpu time in here, let the compiler optimize the call to getWindowMainSurfaceBox by inlining and making it const. reducing the overhead. * inputmgr: return early and use std::any_of return early in mousemoveunified to reduce the amount of unnecessery calls to various pointers when not needed, also make isconstrained use std::any_of instead of for loop to use the STL optimized paths with hopes and dreams marginally faster. * decoration: return early, reduce temporar copy return earlier and reduce the temp copies by using one .lock instead of two |
||
---|---|---|
.. | ||
config | ||
debug | ||
desktop | ||
devices | ||
events | ||
helpers | ||
hyprerror | ||
init | ||
layout | ||
managers | ||
pch | ||
plugins | ||
protocols | ||
render | ||
xwayland | ||
Compositor.cpp | ||
Compositor.hpp | ||
defines.hpp | ||
includes.hpp | ||
macros.hpp | ||
main.cpp | ||
meson.build | ||
SharedDefs.hpp | ||
signal-safe.cpp | ||
signal-safe.hpp | ||
version.h.in |