From: Andreas Boll
Mesa uses two per-thread pointers. The first pointer stores the address of the context current in the thread, and the second pointer stores the @@ -246,8 +245,7 @@ step is to add the correct #ifdef magic to src/mesa/glapi/glapi_dispatch.c to prevent the C version of the dispatch functions from being built.
- -To implement glXGetProcAddress, Mesa stores a table that associates function names with pointers to those functions. This table is @@ -266,8 +264,7 @@ dispatch stub.
src/mesa/glapi/glapi.c just before glprocs.h is included. - -