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

2024-07-17 Thread Phil Dennis-Jordan
On Wed, 17 Jul 2024 at 15:20, Marc-André Lureau wrote: > Hi > > On Wed, Jul 17, 2024 at 5:11 PM 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 mo

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

2024-07-17 Thread Marc-André Lureau
Hi On Wed, Jul 17, 2024 at 5:11 PM 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

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

2024-07-17 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

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

2024-06-29 Thread Marc-André Lureau
On Mon, Jun 24, 2024 at 2:11 PM 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 be

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

2024-06-24 Thread Akihiko Odaki
On 2024/06/24 19:10, 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 v2] Cursor: 8 -> 1 bit alpha downsampling improvement

2024-06-24 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