Proprosed break in libGL / DRI driver ABI

Brian Paul brian.paul at tungstengraphics.com
Wed Apr 6 06:32:07 PDT 2005


Ian Romanick wrote:
> Brian Paul wrote:
> 
>> Adam Jackson wrote:
>>
>>> 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.
> 
> 
> [snip]
> 
>> Right.  glXGetProcAddress() should not be used by libGL or the drivers 
>> to get internal function pointers.  There should be a new function for 
>> that, if we're breaking the ABI.
> 
> 
> Not that I necessarily disagree, but what is your reasoning?

I think it's poor design to overload a public API function with extra 
functionality like that.

I realize we didn't have much choice originally.

-Brian


More information about the xorg-arch mailing list