hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
19.55k stars 821 forks source link

AntiAliasing on cursor zoom #6147

Open LamprosPitsillos opened 3 months ago

LamprosPitsillos commented 3 months ago

Better to make AntiAliasing on cursor zoom toggle-able ?

cursor:zoom_aa ?

Hyprpicker image cursor:zoom_factor image

Originally posted by @LamprosPitsillos in https://github.com/hyprwm/Hyprland/discussions/6135

LamprosPitsillos commented 3 months ago

https://github.com/hyprwm/Hyprland/blob/f8857e6072bd85b95393499688872aaf7f088b5b/src/render/Renderer.cpp#L1257

I tried finding where the filtering was happening along with the cursor zoom and tried disabling with no luck.

Tried this too , even though this looks like a cleanup function, with no luck. https://github.com/hyprwm/Hyprland/blob/f8857e6072bd85b95393499688872aaf7f088b5b/src/render/OpenGL.cpp#L427

Would like to open a PR if someone could point me to the right direction

vaxerski commented 3 months ago

the bool you are referencing is checked later in opengl.cpp in rendering functions to set sampling modes, maybe it's reset somewhere?