Re: using chromium and glew?

Alan Hourihane <[email protected]> Mon, 10 Mar 2008 13:28:27 +0000
Newsgroups gmane.comp.graphics.chromium.user
Organization Tungsten Graphics, Inc.
Message-ID <1205155707.5242.36.camel@localhost>
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.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/