On Tuesday 05 April 2005 19:03, Ian Romanick wrote:
> Adam Jackson wrote:
> > I have another one:  Hide all the functions that start with XF86DRI*, and
> > expose them to the driver through a function table or glXGetProcAddress
> > rather than by allowing the driver to call them directly.  This will
> > simplify the case where the X server is itself linked against libGL.
> >
> > Kevin tells me these functions were never intended to be public API
> > anyway.
>
> The only functions that are still used by DRI_NEW_INTERFACE_ONLY drivers
> are XF86DRICreateDrawable, XF86DRIDestroyDrawable, and
> XF86DRIDestroyContext.  It should be easy enough to eliminate those, but
> something other than gLXGetProcAddress might be preferable.

Yeah, I just threw out glXGetProcAddress as a suggestion.  It's probably 
better to pass this table into the driver through the create context method.

We can't eliminate the functionality of these calls (I don't think), but they 
should not be visible API from the perspective of the GL client.

- ajax

Attachment: pgpTQftVhZUVG.pgp
Description: PGP signature

Reply via email to