Mesa (master): glapi: Merge glapioffsets.h into glapidispath.h.

Chia-I Wu olv at kemper.freedesktop.org
Fri Oct 29 05:02:33 UTC 2010


Module: Mesa
Branch: master
Commit: 07b85457d95bcc70588584e9380c51cd63aa3a2b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=07b85457d95bcc70588584e9380c51cd63aa3a2b

Author: Chia-I Wu <olv at lunarg.com>
Date:   Tue Oct 26 00:16:49 2010 +0800

glapi: Merge glapioffsets.h into glapidispath.h.

Move defines in glapioffsets.h to glapidispatch.h.  Rename
_gloffset_FIRST_DYNAMIC to _gloffset_COUNT, which is equal to the number
of entries in _glapi_table.

Consistently use SET_by_offset, GET_by_offset, CALL_by_offset, and
_gloffset_* to recursively define all SET/GET/CALL macros.

---

 src/mapi/glapi/gen-es/Makefile |    4 -
 src/mapi/glapi/gen/Makefile    |    4 -
 src/mapi/glapi/gen/gl_table.py |   42 +-
 src/mapi/glapi/glapioffsets.h  | 1302 -------
 src/mesa/main/dispatch.h       |    1 -
 src/mesa/main/es_generator.py  |    3 +-
 src/mesa/main/glapidispatch.h  | 7539 ++++++++++++++++++++--------------------
 7 files changed, 3786 insertions(+), 5109 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=07b85457d95bcc70588584e9380c51cd63aa3a2b



More information about the mesa-commit mailing list