diff options
| author | Tom Englund <tomenglund26@gmail.com> | 2025-09-27 18:48:00 +0200 |
|---|---|---|
| committer | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-09-28 23:20:52 +0200 |
| commit | f854b5bffbdd13cfe7edad0ee157d6947ff99619 (patch) | |
| tree | 5dd07e0d2f2b2da264ccfe4633340bc232eac4ec /src/protocols/LayerShell.cpp | |
| parent | eb25dfd399d481ce770c8851416b70b077892afc (diff) | |
deco: reduce virtual calls in drop shadow
damageEntire() in CHyprdDropShadow is pretty much called per window per
frame, instead of all the PWINDOW-> virtual calls, store pos and size
once and move the duplicated code to a lambda. reducing it a bit.
shows up in profiling as minor waste.
Diffstat (limited to 'src/protocols/LayerShell.cpp')
0 files changed, 0 insertions, 0 deletions
