mesa: Merge handling of application-provided and built-in error sources.
authorEric Anholt <eric@anholt.net>
Thu, 12 Jul 2012 17:22:15 +0000 (10:22 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 5 Mar 2013 22:24:59 +0000 (14:24 -0800)
commit7beb93456d808002b235cd638b0871a4974e245e
tree8bd36a813395bde7c8828a98c7eaa115ee0b87ee
parent88831a8d99249b7489995fd2ee94be3fe91f8ac8
mesa: Merge handling of application-provided and built-in error sources.

I want to have dynamic IDs so that we don't need to add to mtypes.h for
every error we might want to add.  To do so, I need to get rid of the
static arrays and actually support all the crazy filtering of dynamic IDs
that we already support for application-provided error sources.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/errors.c
src/mesa/main/mtypes.h