[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg-devel
Subject:    [PATCH] glx: swrast can do GLX 1.4 too
From:       krh () bitplanet ! net (=?UTF-8?Q?Kristian_H=C3=B8gsberg?=)
Date:       2009-10-30 15:19:35
Message-ID: 59ad55d30910300819v62fc5934r1c0532df293c56fe () mail ! gmail ! com
[Download RAW message or body]

On Thu, Oct 29, 2009 at 5:52 PM, Adam Jackson <ajax at nwnk.net> wrote:
> On Thu, 2009-10-29 at 14:01 -0700, keithp wrote:
>> Excerpts from Adam Jackson's message of Thu Oct 29 11:01:29 -0700 2009:
>>
>> > + ? ?screen->base.GLXmajor = 1;
>> > + ? ?screen->base.GLXminor = 4;
>>
>> Should this define be in a header somewhere?
>
> Maybe? ?It ends up being variable per renderer atm, so you'd end up with
>
> #define GLX_SWRAST_PROTOCOL_MINOR ? ? ? 4
> #define GLX_DRI_PROTOCOL_MINOR ? ? ? ? ?2
> #define GLX_DRI2_PROTOCOL_MINOR ? ? ? ? 4
>
> That doesn't seem especially useful, even as documentation.
>
> The whole thing is broken, in reality. ?pbuffer support and separable
> read/draw surfaces in the context are features that require some level
> of hardware (well, renderer) support, and we're not querying the
> renderer for their presence.

No, pbuffer support is entirely in GLX and all DRI2 drivers support
separate draw and read drawables.

cheers,
Kristian

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic