Re: [RFC dri3proto 01/16] Add modifier/multi-plane requests, bump to v1.1

2017-07-25 Thread Daniel Stone
On 25 July 2017 at 21:43, Eric Anholt wrote: > Daniel Stone writes: >> Mm, we did have that originally, but anyone including XSync headers >> very helpfully gets #define CARD64 XSyncValue, which blows up into int >> + unsigned int. [...] >> >> I'd

Re: [RFC dri3proto 01/16] Add modifier/multi-plane requests, bump to v1.1

2017-07-25 Thread Eric Anholt
Daniel Stone writes: > On 17 June 2017 at 02:21, Eric Anholt wrote: >> With the Present extension, we started putting CARD64s on the wire. >> Let's use them here, too. > > Mm, we did have that originally, but anyone including XSync headers > very helpfully

Re: [RFC dri3proto 01/16] Add modifier/multi-plane requests, bump to v1.1

2017-06-20 Thread Daniel Stone
Hi, Sorry for top-posting but formatting seems to get mangled with the phone client lately, so. 'Aux plane for alpha or transparency key maybe?' - I should've clarified aux plane usage earlier. Generally it's used as a compression status buffer (per tile - or super/super-super tile? - if it's

Re: [RFC dri3proto 01/16] Add modifier/multi-plane requests, bump to v1.1

2017-06-19 Thread Adam Jackson
On Mon, 2017-06-19 at 13:35 +0100, Daniel Stone wrote: > On 13 June 2017 at 21:43, Adam Jackson wrote: > > On Thu, 2017-06-08 at 19:43 +0100, Daniel Stone wrote: > > > > > > +typedef struct { > > > +[...] > > > +CARD32 stride0 B32; > > > +CARD32 offset0 B32; > > > +

Re: [RFC dri3proto 01/16] Add modifier/multi-plane requests, bump to v1.1

2017-06-19 Thread Daniel Stone
On 13 June 2017 at 21:43, Adam Jackson wrote: > On Thu, 2017-06-08 at 19:43 +0100, Daniel Stone wrote: >> DRI3 version 1.1 adds support for explicit format modifiers, including >> multi-planar buffers. >> >> Signed-off-by: Daniel Stone >> --- >> dri3proto.h

Re: [RFC dri3proto 01/16] Add modifier/multi-plane requests, bump to v1.1

2017-06-19 Thread Daniel Stone
On 17 June 2017 at 02:21, Eric Anholt wrote: > With the Present extension, we started putting CARD64s on the wire. > Let's use them here, too. Mm, we did have that originally, but anyone including XSync headers very helpfully gets #define CARD64 XSyncValue, which blows up into

Re: [RFC dri3proto 01/16] Add modifier/multi-plane requests, bump to v1.1

2017-06-16 Thread Eric Anholt
Daniel Stone writes: > DRI3 version 1.1 adds support for explicit format modifiers, including > multi-planar buffers. > > Signed-off-by: Daniel Stone > --- > dri3proto.h | 142 > +++- > 1

Re: [RFC dri3proto 01/16] Add modifier/multi-plane requests, bump to v1.1

2017-06-13 Thread Adam Jackson
On Thu, 2017-06-08 at 19:43 +0100, Daniel Stone wrote: > DRI3 version 1.1 adds support for explicit format modifiers, including > multi-planar buffers. > > Signed-off-by: Daniel Stone > --- > dri3proto.h | 142 >

[RFC dri3proto 01/16] Add modifier/multi-plane requests, bump to v1.1

2017-06-08 Thread Daniel Stone
DRI3 version 1.1 adds support for explicit format modifiers, including multi-planar buffers. Signed-off-by: Daniel Stone --- dri3proto.h | 142 +++- 1 file changed, 140 insertions(+), 2 deletions(-) diff --git