Skip to contentSkip to conversation

Support for new DRI2 protocol

git Jesse Barnes 2 participants 4 messages Jan 8, 2010 – Jan 13, 2010

lore
Share & tools
lore
#0 lore raw

DRI2 now has support for swapbuffers, OML_sync_control and events. There's a git tree at git://people.freedesktop.org/~jbarnes/mesa with support for the new requests that I'd like to push into Mesa master.

Can people take a look at make sure I don't have anything horribly wrong? I've tested it against both old and new X servers (that is, servers with and w/o support for the new requests) and things seem solid, so I think it's ready to go.

Building does require current dri2proto bits (all of which are in dri2proto master); I should probably spin a release of that just to make things easy.

Thanks,

Signature · 9 lines
Jesse Barnes, Intel Open Source Technology Center

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
--
#1 lore raw
Quoted 4 lines · On Fri, 8 Jan 2010 12:00:47 -0800 Jesse Barnes <[email protected]> wrote:

DRI2 now has support for swapbuffers, OML_sync_control and events. There's a git tree at git://people.freedesktop.org/~jbarnes/mesa with support for the new requests that I'd like to push into Mesa master.

Quoted 8 lines

Can people take a look at make sure I don't have anything horribly wrong? I've tested it against both old and new X servers (that is, servers with and w/o support for the new requests) and things seem solid, so I think it's ready to go.

Building does require current dri2proto bits (all of which are in dri2proto master); I should probably spin a release of that just to make things easy.

I pushed into master after Jakob and Kristian had a look yesterday.

I had to push a small fix afterward: mesa's autoconf wasn't checking for the glproto version, but now that we require 1.4.11 to build I added a check for it. The pull also included a check for dri2proto 2.2, which is required as well.

Signature · 8 lines
Jesse Barnes, Intel Open Source Technology Center

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
#2 lore raw
Quoted 16 lines · Jesse Barnes
Quoted 4 lines · On Fri, 8 Jan 2010 12:00:47 -0800 Jesse Barnes <[email protected]> wrote:

DRI2 now has support for swapbuffers, OML_sync_control and events. There's a git tree at git://people.freedesktop.org/~jbarnes/mesa with support for the new requests that I'd like to push into Mesa master.

Quoted 8 lines

Can people take a look at make sure I don't have anything horribly wrong?  I've tested it against both old and new X servers (that is, servers with and w/o support for the new requests) and things seem solid, so I think it's ready to go.

Building does require current dri2proto bits (all of which are in dri2proto master); I should probably spin a release of that just to make things easy.

Quoted 6 lines

I pushed into master after Jakob and Kristian had a look yesterday.

I had to push a small fix afterward: mesa's autoconf wasn't checking for the glproto version, but now that we require 1.4.11 to build I added a check for it.  The pull also included a check for dri2proto 2.2, which is required as well.

Jesse, for the glproto check, I think it should be folded into the DRI2PROTO pkg-config check so that the CFLAGS get pulled in correctly when building. As it is, we check for the correct glproto, but don't actually use the returned CFLAGS anywhere. I can make the change later, but I don't have access to my box that's actually set up right now.

--
Dan

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

#3 lore raw
Quoted 26 lines · On Tue, 12 Jan 2010 17:37:35 -0800 Dan Nicholson <[email protected]> wrote:
Quoted 17 lines · Jesse Barnes
Quoted 5 lines · On Fri, 8 Jan 2010 12:00:47 -0800 Jesse Barnes <[email protected]> wrote:

DRI2 now has support for swapbuffers, OML_sync_control and events. There's a git tree at git://people.freedesktop.org/~jbarnes/mesa
with support for the new requests that I'd like to push into Mesa master.

Quoted 8 lines

Can people take a look at make sure I don't have anything horribly wrong?  I've tested it against both old and new X servers (that is, servers with and w/o support for the new requests) and things seem solid, so I think it's ready to go.

Building does require current dri2proto bits (all of which are in dri2proto master); I should probably spin a release of that just to make things easy.

Quoted 6 lines

I pushed into master after Jakob and Kristian had a look yesterday.

I had to push a small fix afterward: mesa's autoconf wasn't checking for the glproto version, but now that we require 1.4.11 to build I added a check for it.  The pull also included a check for dri2proto 2.2, which is required as well.

Quoted 6 lines

Jesse, for the glproto check, I think it should be folded into the DRI2PROTO pkg-config check so that the CFLAGS get pulled in correctly when building. As it is, we check for the correct glproto, but don't actually use the returned CFLAGS anywhere. I can make the change later, but I don't have access to my box that's actually set up right now.

Oh yeah good point. I can try to make that change too unless you beat me to it (I won't have time until tomorrow).

Thanks,

Signature · 12 lines
Jesse Barnes, Intel Open Source Technology Center

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev