glapi: Allow normal entry points to be skipped.
authorChia-I Wu <olvaffe@gmail.com>
Sun, 25 Oct 2009 15:24:18 +0000 (23:24 +0800)
committerBrian Paul <brianp@vmware.com>
Fri, 6 Nov 2009 03:03:56 +0000 (20:03 -0700)
commit7870298086cfdde020437e23ba86abb61741129e
treedccb462c84abbd18390d2d38fb3ee03a2dff89c2
parentd971069fc6f5dcec64b1f1a60a8a2e7063aaf018
glapi: Allow normal entry points to be skipped.

Reorganize glapitemp.h such that it is possible to skip normal entry
points or protocol entry points by defining
_GLAPI_SKIP_NORMAL_ENTRY_POINTS or _GLAPI_SKIP_PROTO_ENTRY_POINTS.

Protocol entry points are those with different GLX protocols.  They are
skipped in libglapi.a when GLX_INDIRECT_RENDERING is defined.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/mesa/glapi/gl_apitemp.py
src/mesa/glapi/glapitemp.h
src/mesa/main/dispatch.c