Where can I download Source Code Of "OpenGL"? [closed]
Asked Answered
C

1

25

Where can I download Source Code Of "OpenGL" ?

Clite answered 28/7, 2010 at 12:10 Comment(5)
OpenGL is a standard API, not a piece of software. You will need to look for the source code of a specific OpenGL implementation.Whall
OpenGL itself is just a specification, not an implementation. You are most likely looking for what Eric posted as an answer, the source to a true implementation of the OpenGL spec.Ara
possible duplicate of Simple OpenGL implementationeWear
@TylerMcHenry Who implements OpenGL?Unemployed
Checkout github.com/rswinkle/PortableGLDistinguished
T
27

If you want to see how a rasterizer (the thing that displays polygons on the screen) is done in software, follow Eric's suggestion and check out mesa3d or google "rasterizer".

If you want to see how a rasterizer is done on hardware, I'm afraid the only thing you can have access to is a photo of a GPU die.

If you want to see how a 3D engine is done, take a look at Ogre, Irrlicht or any other.

If you want to know what happens under the hood when you call glDrawArray on a geForce, you can't. The drivers are proprietary. They more or less forward the call to the graphic card, but it's such a simplification... for instance, a typical DirectX call takes more than 10000 cpu instructions.

Terpsichorean answered 28/7, 2010 at 17:6 Comment(2)
Just wanted to point out that your link is broken.Preface
Who is Eric?!Centralia

© 2022 - 2024 — McMap. All rights reserved.