Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta-crtc-xrandr.c: use nearest neighbor filter for integer randr sca…
…les (#692) Use the nearest neighbor filter if the scaling factor is an integer. This provides a crisper, less blurry scale when the scale is an integer. Note that this change only affects fractional scaling when the "scale-up" mode is used. Scaling down is unaffected by this change, and non-integer scaling up is also unaffected by this change. This behavior was already in Cinnamon 5.4, but it was lost at some point in between 5.4 and now. Note finally that the "nearest" filter is a filter guaranteed to exist by the RENDER protocol [1]. [1] https://cgit.freedesktop.org/xorg/proto/renderproto/tree/renderproto.txt
- Loading branch information