OpenGL context implementation confusion

I apologise if this seems very obvious, though I would like to find out where the OpenGL context structure is located in memory. Would it be mapped to a particular region of the system address space which is only accessed by kernel mode programs? I know this is not information that is necessary to know unless you are developing drivers, though I am interested to know how it is roughly implemented under the hood.

Thanks :slight_smile:

There is no (legitimate) way to find the “OpenGL context structure”. And any illegitimate ways are unlikely to be cross-platform, or even cross-hardware on the same platform. Different implementations implement the specification however they wish to.

So really, there’s no point to such an exercise.