auto generated glx code in X server

Adam Jackson ajax at redhat.com
Tue Mar 15 07:32:12 PDT 2011


On Tue, 2011-03-15 at 13:52 +1000, Dave Airlie wrote:
> On Fri, Mar 4, 2011 at 11:24 AM, Dave Airlie <airlied at gmail.com> wrote:
> > Hi guys,
> >
> > I know this used to work, but it seems to be well busted now.
> >
> > If you made glx changes in mesa you could just set XORG_BASE and run
> > make and it would regenerate all the files in the X server which
> > really are cryptic as all hell. Now when I do that stuff breaks all
> > over the place, missing include, glx code in X won't build anymore
> > etc.
> >
> > Is this still supposed to work?
> 
> Since nobody respsonded to this, and now ajax has started cleaning up
> the files that are meant to be shared between X and Mesa in the X server,
> can we come up with a plan that might work?

The only file to which this might apply is glapi.c, and I really don't
think that glapi counts as something that _should_ be shared.  Vast
tracts of bullshit that have to happen in order to make
glXGetProcAddress work simply do not and should not happen in xserver
context.

The interface definition, in the form of the declarations for _glapi_*,
is reasonable to share.  I have a harder time believing in sharing the
implementation.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110315/29481714/attachment.pgp>


More information about the xorg-devel mailing list