|
From: Alan H. <al...@tu...> - 2008-03-10 13:28:49
|
On Mon, 2008-03-10 at 14:10 +0100, IOhannes m zmoelnig wrote: > Alan Hourihane wrote: > > > > In the opengl_stub/getprocaddress.py code we never return any glX*() > > functions for glXGetProcAddress() which actually translates into > > crGetProcAddress(). > > > > It's should just be a matter of adding glX*() functions to this so > > that Chromium can return the appropriate address. > > a thanks for the hint. > > so what is the best way for me to proceed? > i just added all of the glX functions to opengl_stub/getprocaddress.c, > just to discover (when i was about to send a diff) that getprocaddress.c > is generated by getprocaddress.py (yea, now i know that i should have > read the boilerplate of getprocaddress.c!), which uses > glapi_parser/APIspec.txt to know what to generate. > > should i put glX directly into getprocaddress.py, or should i create > definitions in glapi_parser/APIspec.txt. I'd probably add the glX functions directly to getprocaddress.py, and ignore APIspec.txt Alan. |