Re: [Pixman] [PATCH 1/2] pixman: Add support for argb/xrgb float formats, v3.

2018-10-29 Thread Bill Spitzak
I think an indicator for float can double as indicating the size is multiplied by 8. All float formats I am familiar with take a mulitple of 8 bits, including an 8-bit format that is sometimes used in CG. On Mon, Oct 29, 2018 at 2:18 AM Maarten Lankhorst < maarten.lankho...@linux.intel.com> wrote

Re: [Pixman] [PATCH 1/2] pixman: Add support for argb/xrgb float formats, v3.

2018-10-29 Thread Maarten Lankhorst
Op 29-10-18 om 09:16 schreef Siarhei Siamashka: > On Wed, 03 Oct 2018 10:11:46 +0100 > Chris Wilson wrote: > >> Quoting Maarten Lankhorst (2018-08-01 13:41:33) >>> diff --git a/pixman/pixman.h b/pixman/pixman.h >>> index 509ba5e534a8..c9bf4faa80d4 100644 >>> --- a/pixman/pixman.h >>> +++ b/pixman/

Re: [Pixman] [PATCH 1/2] pixman: Add support for argb/xrgb float formats, v3.

2018-10-29 Thread Siarhei Siamashka
On Wed, 03 Oct 2018 10:11:46 +0100 Chris Wilson wrote: > Quoting Maarten Lankhorst (2018-08-01 13:41:33) > > diff --git a/pixman/pixman.h b/pixman/pixman.h > > index 509ba5e534a8..c9bf4faa80d4 100644 > > --- a/pixman/pixman.h > > +++ b/pixman/pixman.h > > @@ -647,19 +647,24 @@ struct pixman_index

Re: [Pixman] [PATCH 1/2] pixman: Add support for argb/xrgb float formats, v3.

2018-10-03 Thread Chris Wilson
Quoting Maarten Lankhorst (2018-08-01 13:41:33) > diff --git a/pixman/pixman.h b/pixman/pixman.h > index 509ba5e534a8..c9bf4faa80d4 100644 > --- a/pixman/pixman.h > +++ b/pixman/pixman.h > @@ -647,19 +647,24 @@ struct pixman_indexed > * sample implementation allows only packed RGB and GBR > * r

Re: [Pixman] [PATCH 1/2] pixman: Add support for argb/xrgb float formats, v3.

2018-10-03 Thread Chris Wilson
Quoting Chris Wilson (2018-10-03 09:47:47) > Quoting Maarten Lankhorst (2018-08-01 13:41:33) > > Pixman is already using the floating point formats internally, expose > > this capability in case someone wants to support higher bit per > > component formats. > > > > This is useful for igt which dep

Re: [Pixman] [PATCH 1/2] pixman: Add support for argb/xrgb float formats, v3.

2018-10-03 Thread Chris Wilson
Quoting Maarten Lankhorst (2018-08-01 13:41:33) > Pixman is already using the floating point formats internally, expose > this capability in case someone wants to support higher bit per > component formats. > > This is useful for igt which depends on cairo to do the rendering. > It can use it to c

Re: [Pixman] [PATCH 1/2] pixman: Add support for argb/xrgb float formats, v3.

2018-10-03 Thread Chris Wilson
Quoting Maarten Lankhorst (2018-08-03 12:02:38) > Op 03-08-18 om 07:01 schreef Bryce Harrington: > > On Wed, Aug 01, 2018 at 02:41:33PM +0200, Maarten Lankhorst wrote: > >> Pixman is already using the floating point formats internally, expose > >> this capability in case someone wants to support hi

Re: [Pixman] [PATCH 1/2] pixman: Add support for argb/xrgb float formats, v3.

2018-08-03 Thread Maarten Lankhorst
Op 03-08-18 om 07:01 schreef Bryce Harrington: > On Wed, Aug 01, 2018 at 02:41:33PM +0200, Maarten Lankhorst wrote: >> Pixman is already using the floating point formats internally, expose >> this capability in case someone wants to support higher bit per >> component formats. >> >> This is useful

Re: [Pixman] [PATCH 1/2] pixman: Add support for argb/xrgb float formats, v3.

2018-08-02 Thread Bryce Harrington
On Wed, Aug 01, 2018 at 02:41:33PM +0200, Maarten Lankhorst wrote: > Pixman is already using the floating point formats internally, expose > this capability in case someone wants to support higher bit per > component formats. > > This is useful for igt which depends on cairo to do the rendering. >

[Pixman] [PATCH 1/2] pixman: Add support for argb/xrgb float formats, v3.

2018-08-01 Thread Maarten Lankhorst
Pixman is already using the floating point formats internally, expose this capability in case someone wants to support higher bit per component formats. This is useful for igt which depends on cairo to do the rendering. It can use it to convert floats internally to planar Y'CbCr formats, or to F16