PDA

View Full Version : Need for API functional source code



DonDan
07-19-2002, 04:31 AM
Where can I find the functional C/C++ code of the OpenGL APIs ?
I'd like to know how each data is manilupated by the called OpenGL function.

chennes
07-22-2002, 03:48 AM
DonDan-

There is an opensource library that implements the OpenGL API - it is called Mesa, and can be found at http://www.mesa3d.org (http://www.mesa3d.org.) . Alternately, if you are running Linux, it is probably already installed on your system - take a look around.

Chris

[This message has been edited by chennes (edited 07-22-2002).]

Mezz
07-22-2002, 04:50 AM
You can also find a "sample implementation" at SGI's site:
http://oss.sgi.com/projects/ogl-sample

However, any implementation cannot really guarentee the same details as another because driver writers will probably do some crazy optimisation work and go to the limits of the specification.
However, basic input->output would be the same I guess.

-Mezz

DonDan
07-23-2002, 12:26 AM
How can I see the connections between function calls ? May I use SNIFF to do that ?
Thanks http://www.opengl.org/discussion_boards/ubb/wink.gif