how it is implemented?

Hi everybody,

I would like to ask you if there is any kind of documents which explains how an openGL function has been implemented. I wuold like to understand the source code for glRotate, as well as glVertex3f…and so on. Is that possibile to obtain these information?

There are a lot of implementations. Actually, each driver update is a chance that some OpenGL’s function implementation will change.
The only thing that doesn’t change (not that often) is the specification. If you read it carefully then you have all information you need. Then it’s just a question of putting it all together.

You can of course look at the source code of mesa. That’s one possibility how to implement OpenGL using only the CPU.

But many functions of OpenGL are hardware accelerated, so the implementation is really a combination of software and hardware. I don’t think the details are available.