Re: [PATCH 1/3] Cursor: 8 -> 1 bit alpha downsampling improvement

2024-06-09 Thread Akihiko Odaki
On 2024/06/09 5:20, Phil Dennis-Jordan wrote: Mouse cursors with 8 bit alpha were downsampled to 1-bit opacity maps by turning alpha values of 255 into 1 and everything else into 0. This means that mostly-opaque pixels ended up completely invisible. This patch changes the behaviour so that only

[PATCH 1/3] Cursor: 8 -> 1 bit alpha downsampling improvement

2024-06-08 Thread Phil Dennis-Jordan
Mouse cursors with 8 bit alpha were downsampled to 1-bit opacity maps by turning alpha values of 255 into 1 and everything else into 0. This means that mostly-opaque pixels ended up completely invisible. This patch changes the behaviour so that only pixels with less than 50% alpha (0-127) are trea