Re: [Mesa-dev] XCB-only GLX protocol?
On Sun, Nov 27, 2011 at 06:13:45PM -0800, Ian Romanick wrote: > All, > > I'm starting to work on GLX_ARB_create_context. This extension and the > layered GLX_ARB_create_context_profile extension add some GLX protocol. > Is there any reason to keep supporting non-XCB protocol? Are there > any platforms that can't / don't use XCB for X protocol? > > I'm not planning to gut any non-XCB code yet, but that would happen > eventually. I just don't want to implement all of the protocol twice. > That seems like an unnecessary hassle. > > Opinions? I'm glad to hear that you want to use XCB as the protocol, but when I try to use the nouveau gallium mesa driver with glx I have some problems when resizing or remapping the window. Do you have any working examples? > ___ > mesa-dev mailing list > mesa-dev@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/mesa-dev -- i don't do signatures ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] XCB-only GLX protocol?
On Nov 28, 2011, at 6:56 PM, Jakob Bornecrantz wrote: > On Mon, Nov 28, 2011 at 3:13 AM, Ian Romanick wrote: >> All, >> >> I'm starting to work on GLX_ARB_create_context. This extension and the >> layered GLX_ARB_create_context_profile extension add some GLX protocol. Is >> there any reason to keep supporting non-XCB protocol? Are there any >> platforms that can't / don't use XCB for X protocol? >> >> I'm not planning to gut any non-XCB code yet, but that would happen >> eventually. I just don't want to implement all of the protocol twice. That >> seems like an unnecessary hassle. >> >> Opinions? > > No problems with me but I think you should get sign-off from various > platform stakeholders before doing it (BSD, Mac, Cygwin). Jeremy and > who does cygwin? XQuartz transitioned to XCB a few releases ago, and we're fully committed to it. I bless any Xlib code that you want to nuke in the transition to XCB!! We may have some difficulty in the src/glx/apple code since AppleDRI and AppleWM are Xlib-only. I'm hoping to eventually move away from these protocols, and I'll just deal with the fallout as it happens. Please CC me on reviews with a branch I can merge to test the changes before they are merged into master. Thanks ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] XCB-only GLX protocol?
On 11/28/11 18:56, Jakob Bornecrantz wrote: On Mon, Nov 28, 2011 at 3:13 AM, Ian Romanick wrote: All, I'm starting to work on GLX_ARB_create_context. This extension and the layered GLX_ARB_create_context_profile extension add some GLX protocol. Is there any reason to keep supporting non-XCB protocol? Are there any platforms that can't / don't use XCB for X protocol? I'm not planning to gut any non-XCB code yet, but that would happen eventually. I just don't want to implement all of the protocol twice. That seems like an unnecessary hassle. Opinions? No problems with me but I think you should get sign-off from various platform stakeholders before doing it (BSD, Mac, Cygwin). Jeremy and who does cygwin? From the Solaris platform point of view, XCB is fine with me, as we have xcb 1.6 on Solaris 11, and no longer update the Mesa version in Solaris 10 (which has no XCB included - those who want to build new versions themselves should be able to build xcb for Solaris 10 as well). Most applications still use libX11, but since we ship the libX11 1.4.x built on top of libxcb, the standard xcb/xlib handoff calls should work just fine. -- -Alan Coopersmith-alan.coopersm...@oracle.com Oracle Solaris Platform Engineering: X Window System ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] XCB-only GLX protocol?
On Mon, Nov 28, 2011 at 3:13 AM, Ian Romanick wrote: > All, > > I'm starting to work on GLX_ARB_create_context. This extension and the > layered GLX_ARB_create_context_profile extension add some GLX protocol. Is > there any reason to keep supporting non-XCB protocol? Are there any > platforms that can't / don't use XCB for X protocol? > > I'm not planning to gut any non-XCB code yet, but that would happen > eventually. I just don't want to implement all of the protocol twice. That > seems like an unnecessary hassle. > > Opinions? No problems with me but I think you should get sign-off from various platform stakeholders before doing it (BSD, Mac, Cygwin). Jeremy and who does cygwin? Cheers, Jakob. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] XCB-only GLX protocol?
On Sun, 27 Nov 2011 18:13:45 -0800, Ian Romanick wrote: > All, > > I'm starting to work on GLX_ARB_create_context. This extension and the > layered GLX_ARB_create_context_profile extension add some GLX protocol. > Is there any reason to keep supporting non-XCB protocol? Are there > any platforms that can't / don't use XCB for X protocol? > > I'm not planning to gut any non-XCB code yet, but that would happen > eventually. I just don't want to implement all of the protocol twice. > That seems like an unnecessary hassle. > > Opinions? I'd much prefer to see XCB only for new protocol. pgpkGIo9HMwO7.pgp Description: PGP signature ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Re: [Mesa-dev] XCB-only GLX protocol?
On 11/27/11 9:13 PM, Ian Romanick wrote: I'm starting to work on GLX_ARB_create_context. This extension and the layered GLX_ARB_create_context_profile extension add some GLX protocol. Is there any reason to keep supporting non-XCB protocol? Are there any platforms that can't / don't use XCB for X protocol? I'm not planning to gut any non-XCB code yet, but that would happen eventually. I just don't want to implement all of the protocol twice. That seems like an unnecessary hassle. If I had my choice, I'd prefer we drop non-XCB protocol sooner than later. IIRC there's some error paths that are difficult and/or ugly to get right without it. - ajax ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev