summaryrefslogtreecommitdiff
path: root/src/wayland/protocols/xdg-toplevel-drag-v1-client-protocol.h
diff options
context:
space:
mode:
authorBerke Güzel <wenekar1@gmail.com>2026-10-11 23:30:21 +0300
committerBerke Güzel <wenekar1@gmail.com>2026-10-11 23:30:21 +0300
commit5530c662bb53837d64a154e3b580d41adb6cc8b9 (patch)
tree20cdd971425e945eecd8d3b5fbe243a4bd779409 /src/wayland/protocols/xdg-toplevel-drag-v1-client-protocol.h
parent472ed3e4e50a165638acecaf071ec3c2c13c451f (diff)
opt: compile-time locked LUTs and branchless SIMD/ALU primitives
- Replace buffer allocation branching loop with compile-time locked 24-byte LUT indexed by (cur & 3) - Use hardware lrint rounding and array-indexed pointer offsets for scroll axes - Replace press queue button/kind conditionals with branchless bitmasking and 1:1 identity casting - Make display_has_immediate_work evaluate state flags with bitwise ALU instead of short-circuit branches
Diffstat (limited to 'src/wayland/protocols/xdg-toplevel-drag-v1-client-protocol.h')
0 files changed, 0 insertions, 0 deletions