Proprosed break in libGL / DRI driver ABI

Adam Jackson ajax at nwnk.net
Tue Apr 5 17:23:17 PDT 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-arch/attachments/20050405/c7fb52a9/attachment-0001.pgp


More information about the xorg-arch mailing list