Re: [Xcb] [PATCH] Update DRI2 requests and replies for version 1.3.

2011-04-26 Thread Julien Cristau
On Tue, Apr 26, 2011 at 10:39:02 -0700, Eric Anholt wrote:

> ---
>  src/dri2.xml |   75 
> +-
>  1 files changed, 74 insertions(+), 1 deletions(-)
> 
> diff --git a/src/dri2.xml b/src/dri2.xml
> index dbd43f8..70c569d 100644
> --- a/src/dri2.xml
> +++ b/src/dri2.xml
> @@ -1,7 +1,7 @@
>  
>  

Re: [Xcb] [PATCH] Update DRI2 requests and replies for version 1.3.

2011-04-26 Thread Eric Anholt
On Tue, 26 Apr 2011 20:12:12 +0200, Julien Cristau  wrote:
> On Tue, Apr 26, 2011 at 10:39:02 -0700, Eric Anholt wrote:
> 
> > ---
> >  src/dri2.xml |   75 
> > +-
> >  1 files changed, 74 insertions(+), 1 deletions(-)
> > 
> > diff --git a/src/dri2.xml b/src/dri2.xml
> > index dbd43f8..70c569d 100644
> > --- a/src/dri2.xml
> > +++ b/src/dri2.xml
> > @@ -1,7 +1,7 @@
> >  
> >  

Re: [Xcb] [PATCH] Update DRI2 requests and replies for version 1.3.

2011-04-26 Thread Julien Cristau
On Tue, Apr 26, 2011 at 13:06:33 -0700, Eric Anholt wrote:

> What's up with DRI2BufferSwapComplete?

It's larger than 32 bytes.

Cheers,
Julien
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: [Xcb] [PATCH] Update DRI2 requests and replies for version 1.3.

2011-04-28 Thread Julien Cristau
On Wed, Apr 27, 2011 at 09:02:10 -0700, Eric Anholt wrote:

> Here's the actual patch I meant to send.  What should we do about
> SwapComplete?
> 
I guess for the current (1.3) protocol version, not pretending that
SwapComplete has a sbc_lo field is the easiest, since the server will
never send it anyway.

Cheers,
Julien
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: [Xcb] [PATCH] Update DRI2 requests and replies for version 1.3.

2011-04-28 Thread Jesse Barnes
On Thu, 28 Apr 2011 18:04:58 +0200
Julien Cristau  wrote:

> On Wed, Apr 27, 2011 at 09:02:10 -0700, Eric Anholt wrote:
> 
> > Here's the actual patch I meant to send.  What should we do about
> > SwapComplete?
> > 
> I guess for the current (1.3) protocol version, not pretending that
> SwapComplete has a sbc_lo field is the easiest, since the server will
> never send it anyway.

Yeah, the server will drop part of it; we can just truncate those
fields from 8 to 6 bits and make them padding instead.  We'll need a
new event to send all the bits.

-- 
Jesse Barnes, Intel Open Source Technology Center
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com