Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation.

2010-01-26 Thread Keith Whitwell
On Fri, 2010-01-22 at 09:40 -0800, Francisco Jerez wrote: > Keith Whitwell writes: > > > It's a very rare application that can render half a frame to one sized > > framebuffer and the other half to another and expect to have a meaningful > > result. > > > > It's also incredibly difficult to wri

Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation.

2010-01-22 Thread Francisco Jerez
Keith Whitwell writes: > It's a very rare application that can render half a frame to one sized > framebuffer and the other half to another and expect to have a meaningful > result. > > It's also incredibly difficult to write a driver that produces any sensible > result when the render-target

Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation.

2010-01-22 Thread Jordan Crouse
Michel Dänzer wrote: > On Fri, 2010-01-22 at 08:40 -0800, Keith Whitwell wrote: >> It's a very rare application that can render half a frame to one sized >> framebuffer and the other half to another and expect to have a >> meaningful result. >> >> It's also incredibly difficult to write a driver th

Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation.

2010-01-22 Thread Michel Dänzer
On Fri, 2010-01-22 at 08:40 -0800, Keith Whitwell wrote: > It's a very rare application that can render half a frame to one sized > framebuffer and the other half to another and expect to have a > meaningful result. > > It's also incredibly difficult to write a driver that produces any > sensible

Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation.

2010-01-22 Thread Keith Whitwell
net Subject: Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation. > > When the invalidate event is available, IMO the buffers should also only > > be invalidated after a buffer swap / front buffer flush, not 'in the > > middle of a frame'. > >

Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation.

2010-01-22 Thread Michel Dänzer
On Fri, 2010-01-22 at 13:33 +0100, Francisco Jerez wrote: > Michel Dänzer writes: > > > On Fri, 2010-01-22 at 00:10 +0100, Francisco Jerez wrote: > >> Michel Dänzer writes: > >> > >> > On Sat, 2010-01-16 at 23:01 +0100, Francisco Jerez wrote: > >> >> When a buffer invalidation event is recei

Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation.

2010-01-22 Thread Francisco Jerez
Michel Dänzer writes: > On Fri, 2010-01-22 at 00:10 +0100, Francisco Jerez wrote: >> Michel Dänzer writes: >> >> > On Sat, 2010-01-16 at 23:01 +0100, Francisco Jerez wrote: >> >> When a buffer invalidation event is received from the X server, the >> >> "invalidate" hook of the DRI2 flush exte

Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation.

2010-01-22 Thread Michel Dänzer
On Fri, 2010-01-22 at 00:10 +0100, Francisco Jerez wrote: > Michel Dänzer writes: > > > On Sat, 2010-01-16 at 23:01 +0100, Francisco Jerez wrote: > >> When a buffer invalidation event is received from the X server, the > >> "invalidate" hook of the DRI2 flush extension is executed: A generic >

Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation.

2010-01-21 Thread Francisco Jerez
Michel Dänzer writes: > On Sat, 2010-01-16 at 23:01 +0100, Francisco Jerez wrote: >> When a buffer invalidation event is received from the X server, the >> "invalidate" hook of the DRI2 flush extension is executed: A generic >> implementation (dri2InvalidateDrawable) is provided that just bumps

Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation.

2010-01-21 Thread Michel Dänzer
On Thu, 2010-01-21 at 23:38 +0100, Michel Dänzer wrote: > On Sat, 2010-01-16 at 23:01 +0100, Francisco Jerez wrote: > > > No effort has been made on preserving backwards compatibility with > > version 2 of the flush extension, but I think it's acceptable because > > AFAIK no released stack is ma

Re: [Mesa3d-dev] [mesa patch 1/3] dri2: Event driven buffer validation.

2010-01-21 Thread Michel Dänzer
On Sat, 2010-01-16 at 23:01 +0100, Francisco Jerez wrote: > When a buffer invalidation event is received from the X server, the > "invalidate" hook of the DRI2 flush extension is executed: A generic > implementation (dri2InvalidateDrawable) is provided that just bumps > the "pStamp" sequence numbe