Handling buffer swaps in composited environments

2008-11-25 Thread Jesse Barnes
DRI2 is about to land in the Intel driver, so we've been thinking about how to deal with the last missing piece: vertical blank synchronized buffer swaps. I think there are a few of problems to solve here: 1) swap buffers should be asynchronous (i.e. it should let the app continue renderi

Re: Handling buffer swaps in composited environments

2008-11-25 Thread Eric Anholt
On Tue, 2008-11-25 at 11:31 -0800, Jesse Barnes wrote: > DRI2 is about to land in the Intel driver, so we've been thinking about how > to > deal with the last missing piece: vertical blank synchronized buffer swaps. > I > think there are a few of problems to solve here: > 1) swap buffers sho

Re: Handling buffer swaps in composited environments

2008-11-25 Thread Jesse Barnes
On Tuesday, November 25, 2008 11:44 am Eric Anholt wrote: > On Tue, 2008-11-25 at 11:31 -0800, Jesse Barnes wrote: > > DRI2 is about to land in the Intel driver, so we've been thinking about > > how to deal with the last missing piece: vertical blank synchronized > > buffer swaps. I think there ar

Re: Handling buffer swaps in composited environments

2008-11-25 Thread Jesse Barnes
On Tuesday, November 25, 2008 12:18 pm Jesse Barnes wrote: > On Tuesday, November 25, 2008 11:44 am Eric Anholt wrote: > > I don't like this plan. If my app has a new frame all ready to go, I > > want it to get displayed the next time the compositor wakes up to do a > > vblank-synced composite, no