Re: [RFC] DRI2 synchronization and swap bits

2009-11-18 Thread Jesse Barnes
On Sun, 8 Nov 2009 08:16:51 +0100 Mario Kleiner mario.klei...@tuebingen.mpg.de wrote: My proposal to use a spinlock was probably rather stupid. Because of glXGetSyncValuesOML() - I830DRI2GetMSC - drmWaitVBlank - drm_wait_vblank - drm_vblank_count(), if multiple clients call

Re: [RFC] DRI2 synchronization and swap bits

2009-11-07 Thread Mario Kleiner
On Nov 2, 2009, at 5:35 PM, Jesse Barnes wrote: Thanks a lot for taking time to go through this stuff, it's exactly the kind of feedback I was hoping for. Hello again I'm relieved that i didn't screw up and annoy you already with my first post, so i'll continue to test my boundaries ;-)

Re: [RFC] DRI2 synchronization and swap bits

2009-11-02 Thread Jesse Barnes
On Sun, 1 Nov 2009 21:46:45 +0100 Mario Kleiner mario.klei...@tuebingen.mpg.de wrote: I read this RFC and i'm very excited about the prospect of having well working support for the OML_sync_control extension in DRI2 on Linux/X11. I was hoping for this to happen since years, so a big

Re: [RFC] DRI2 synchronization and swap bits

2009-11-01 Thread Kristian Høgsberg
On Fri, Oct 30, 2009 at 1:42 PM, Eric Anholt e...@anholt.net wrote: On Fri, 2009-10-30 at 10:59 -0700, Jesse Barnes wrote: I've put up some trees (after learning my lesson about working in the main tree) with the latest DRI2 sync/swap bits:   git://git.freedesktop.org/home/jbarnes/xserver

Re: [RFC] DRI2 synchronization and swap bits

2009-11-01 Thread Mario Kleiner
Hello everybody My name is Mario Kleiner and i'm new to this list, so i apologize beforehand should i violate some rules of netiquette, state the totally obvious, or if this post is somehow considered off-topic or way too long. Please tell me if so, and how to do better next time. First

Re: [RFC] DRI2 synchronization and swap bits

2009-10-31 Thread Jesse Barnes
On Fri, 30 Oct 2009 19:15:17 -0700 Keith Packard kei...@keithp.com wrote: Excerpts from Jesse Barnes's message of Fri Oct 30 10:59:08 -0700 2009: These allow us to support GLX extensions like SGI_video_sync, OML_swap_control and SGI_swap_interval. Let's get the protocol nailed down

[RFC] DRI2 synchronization and swap bits

2009-10-30 Thread Jesse Barnes
I've put up some trees (after learning my lesson about working in the main tree) with the latest DRI2 sync/swap bits: git://git.freedesktop.org/home/jbarnes/xserver master branch git://git.freedesktop.org/home/jbarnes/mesa master branch They includes support for some new DRI2 requests (proto

Re: [RFC] DRI2 synchronization and swap bits

2009-10-30 Thread Eric Anholt
On Fri, 2009-10-30 at 10:59 -0700, Jesse Barnes wrote: I've put up some trees (after learning my lesson about working in the main tree) with the latest DRI2 sync/swap bits: git://git.freedesktop.org/home/jbarnes/xserver master branch git://git.freedesktop.org/home/jbarnes/mesa master

Re: [RFC] DRI2 synchronization and swap bits

2009-10-30 Thread Jesse Barnes
On Fri, 30 Oct 2009 11:42:06 -0700 Eric Anholt e...@anholt.net wrote: On Fri, 2009-10-30 at 10:59 -0700, Jesse Barnes wrote: I've put up some trees (after learning my lesson about working in the main tree) with the latest DRI2 sync/swap bits:

Re: [RFC] DRI2 synchronization and swap bits

2009-10-30 Thread Keith Packard
Excerpts from Jesse Barnes's message of Fri Oct 30 10:59:08 -0700 2009: These allow us to support GLX extensions like SGI_video_sync, OML_swap_control and SGI_swap_interval. Let's get the protocol nailed down before we go into detailed code review. Besides, you need to rebase -i to get rid of