[PATCH 09/11] glx: Lobotomize _glapi_get_proc_address

Adam Jackson ajax at nwnk.net
Mon Mar 7 07:33:47 PST 2011


On 3/3/11 4:06 PM, Julien Cristau wrote:
> On Thu, Mar  3, 2011 at 14:07:23 -0500, Adam Jackson wrote:
>> -/**
>> - * Return pointer to the named function.  If the function name isn't found
>> - * in the name of static functions, try generating a new API entrypoint on
>> - * the fly with assembly language.
>> +/*
>> + * glXGetProcAddress doesn't exist in the protocol, the drivers never call
>> + * this themselves, and neither does the server.  warn if it happens though.
>>    */
>>   _glapi_proc
>>   _glapi_get_proc_address(const char *funcName)
>>   {
>
> the function isn't _X_EXPORT, so it's not even possible to call it,
> right?

Distressingly that appears to be true.  It certainly should be though, 
if for no other reason than the ability to load the DRI driver with 
RTLD_NOW.

- ajax


More information about the xorg-devel mailing list