Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-07 Thread Kristian Høgsberg
2009/5/5 Ian Romanick i...@freedesktop.org: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kristian Høgsberg wrote: On Tue, May 5, 2009 at 12:20 PM, Jesse Barnes jbar...@virtuousgeek.org wrote: On Mon, 04 May 2009 19:14:29 -0700 Ian Romanick i...@freedesktop.org wrote: Having this

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-07 Thread Kristian Høgsberg
On Tue, May 5, 2009 at 2:34 PM, Jesse Barnes jbar...@virtuousgeek.org wrote: On Tue, 05 May 2009 11:24:29 -0700 Ian Romanick i...@freedesktop.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kristian Høgsberg wrote: On Tue, May 5, 2009 at 12:20 PM, Jesse Barnes

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-05 Thread Kristian Høgsberg
On Tue, May 5, 2009 at 12:20 PM, Jesse Barnes jbar...@virtuousgeek.org wrote: On Mon, 04 May 2009 19:14:29 -0700 Ian Romanick i...@freedesktop.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jesse Barnes wrote: On Mon, 04 May 2009 14:45:07 -0700 Ian Romanick

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-05 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kristian Høgsberg wrote: On Tue, May 5, 2009 at 12:20 PM, Jesse Barnes jbar...@virtuousgeek.org wrote: On Mon, 04 May 2009 19:14:29 -0700 Ian Romanick i...@freedesktop.org wrote: Having this ability would allow us to advertise some fbconfigs

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-05 Thread Jesse Barnes
On Tue, 05 May 2009 11:24:29 -0700 Ian Romanick i...@freedesktop.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kristian Høgsberg wrote: On Tue, May 5, 2009 at 12:20 PM, Jesse Barnes jbar...@virtuousgeek.org wrote: On Mon, 04 May 2009 19:14:29 -0700 Ian Romanick

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-01 Thread Ville Syrjälä
On Thu, Apr 30, 2009 at 02:39:57PM -0700, Jesse Barnes wrote: On Fri, 1 May 2009 00:25:54 +0300 Ville Syrjälä syrj...@sci.fi wrote: The completion won't happen until at least 'interval' frames have passed since the flip was queued, so I think the semantics match? Well I guess it

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-01 Thread Stefan Dösinger
Am Donnerstag, 30. April 2009 23:25:54 schrieb Ville Syrjälä: Your interval handling seems to be too harsh. In case you wanted something that can implement GLX_SGI_swap_control then AFAICS the interval should only specify the minimum number of frames that must pass between two swaps.

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-01 Thread Jesse Barnes
On Fri, 1 May 2009 04:06:09 +0200 Stefan Dösinger ste...@codeweavers.com wrote: Am Donnerstag, 30. April 2009 23:25:54 schrieb Ville Syrjälä: Your interval handling seems to be too harsh. In case you wanted something that can implement GLX_SGI_swap_control then AFAICS the interval

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-01 Thread Jesse Barnes
On Fri, 1 May 2009 14:13:16 +0300 Ville Syrjälä syrj...@sci.fi wrote: On Thu, Apr 30, 2009 at 02:39:57PM -0700, Jesse Barnes wrote: On Fri, 1 May 2009 00:25:54 +0300 Ville Syrjälä syrj...@sci.fi wrote: The completion won't happen until at least 'interval' frames have passed since the

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-01 Thread Jesse Barnes
On Wed, 29 Apr 2009 18:02:59 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: On Wed, 29 Apr 2009 15:09:33 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: I'm still working through mutlihead issues on the kernel side; the flip waits should wait for *both* vblank events before

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-01 Thread Jakob Bornecrantz
On Fri, May 1, 2009 at 10:19 PM, Jesse Barnes jbar...@virtuousgeek.org wrote: On Wed, 29 Apr 2009 18:02:59 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: On Wed, 29 Apr 2009 15:09:33 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: I'm still working through mutlihead issues on the

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-01 Thread Jesse Barnes
On Sat, 2 May 2009 00:02:16 +0100 Jakob Bornecrantz wallbra...@gmail.com wrote: On Fri, May 1, 2009 at 10:19 PM, Jesse Barnes jbar...@virtuousgeek.org wrote: On Wed, 29 Apr 2009 18:02:59 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: On Wed, 29 Apr 2009 15:09:33 -0700 Jesse Barnes

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-05-01 Thread Jesse Barnes
On Fri, 1 May 2009 14:19:29 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: On Wed, 29 Apr 2009 18:02:59 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: On Wed, 29 Apr 2009 15:09:33 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: I'm still working through mutlihead issues on

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-04-30 Thread Michel Dänzer
On Wed, 2009-04-29 at 18:02 -0700, Jesse Barnes wrote: On Wed, 29 Apr 2009 15:09:33 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: I'm still working through mutlihead issues on the kernel side; the flip waits should wait for *both* vblank events before completing the flip. But other

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-04-30 Thread Ville Syrjälä
On Wed, Apr 29, 2009 at 06:02:59PM -0700, Jesse Barnes wrote: On Wed, 29 Apr 2009 15:09:33 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: I'm still working through mutlihead issues on the kernel side; the flip waits should wait for *both* vblank events before completing the flip. But

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-04-30 Thread Jesse Barnes
On Thu, 30 Apr 2009 08:08:36 +0200 Michel Dänzer mic...@daenzer.net wrote: On Wed, 2009-04-29 at 18:02 -0700, Jesse Barnes wrote: On Wed, 29 Apr 2009 15:09:33 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: I'm still working through mutlihead issues on the kernel side; the flip

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-04-30 Thread Michel Dänzer
On Thu, 2009-04-30 at 08:39 -0700, Jesse Barnes wrote: On Thu, 30 Apr 2009 08:08:36 +0200 Michel Dänzer mic...@daenzer.net wrote: On Wed, 2009-04-29 at 18:02 -0700, Jesse Barnes wrote: On Wed, 29 Apr 2009 15:09:33 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: I'm still working

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-04-30 Thread Jesse Barnes
On Thu, 30 Apr 2009 11:36:55 +0300 Ville Syrjälä syrj...@sci.fi wrote: On Wed, Apr 29, 2009 at 06:02:59PM -0700, Jesse Barnes wrote: On Wed, 29 Apr 2009 15:09:33 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: I'm still working through mutlihead issues on the kernel side; the flip

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-04-30 Thread Jesse Barnes
On Thu, 30 Apr 2009 17:48:08 +0200 Michel Dänzer mic...@daenzer.net wrote: On Thu, 2009-04-30 at 08:39 -0700, Jesse Barnes wrote: On Thu, 30 Apr 2009 08:08:36 +0200 Michel Dänzer mic...@daenzer.net wrote: On Wed, 2009-04-29 at 18:02 -0700, Jesse Barnes wrote: On Wed, 29 Apr 2009

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-04-30 Thread Ville Syrjälä
On Thu, Apr 30, 2009 at 08:49:12AM -0700, Jesse Barnes wrote: On Thu, 30 Apr 2009 11:36:55 +0300 Ville Syrjälä syrj...@sci.fi wrote: On Wed, Apr 29, 2009 at 06:02:59PM -0700, Jesse Barnes wrote: On Wed, 29 Apr 2009 15:09:33 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: I'm

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-04-30 Thread Jesse Barnes
On Fri, 1 May 2009 00:25:54 +0300 Ville Syrjälä syrj...@sci.fi wrote: The completion won't happen until at least 'interval' frames have passed since the flip was queued, so I think the semantics match? Well I guess it satisfies the requirement that flips will never happen less than

Re: [Intel-gfx] [RFC] DRI2 swapbuffers (yes yet again)

2009-04-29 Thread Jesse Barnes
On Wed, 29 Apr 2009 15:09:33 -0700 Jesse Barnes jbar...@virtuousgeek.org wrote: I'm still working through mutlihead issues on the kernel side; the flip waits should wait for *both* vblank events before completing the flip. But other than that, I'm pretty happy with things. This incremental