head 1.2; access; symbols netbsd-8-3-RELEASE:1.1.1.2 netbsd-9-4-RELEASE:1.1.1.2 netbsd-9-3-RELEASE:1.1.1.2 netbsd-9-2-RELEASE:1.1.1.2 netbsd-9-1-RELEASE:1.1.1.2 netbsd-8-2-RELEASE:1.1.1.2 netbsd-9-0-RELEASE:1.1.1.2 netbsd-9-0-RC2:1.1.1.2 netbsd-9-0-RC1:1.1.1.2 mesalib-19-1-7:1.1.1.3 netbsd-9:1.1.1.2.0.4 netbsd-9-base:1.1.1.2 mesa-18-3-6:1.1.1.2 netbsd-8-1-RELEASE:1.1.1.2 netbsd-8-1-RC1:1.1.1.2 mesa-18-3-4:1.1.1.2 netbsd-7-2-RELEASE:1.1.1.1.18.1 netbsd-8-0-RELEASE:1.1.1.2 netbsd-8-0-RC2:1.1.1.2 netbsd-8-0-RC1:1.1.1.2 netbsd-7-1-2-RELEASE:1.1.1.1.18.1 netbsd-7-1-1-RELEASE:1.1.1.1.18.1 netbsd-8:1.1.1.2.0.2 netbsd-8-base:1.1.1.2 netbsd-7-1:1.1.1.1.18.1.0.4 netbsd-7-1-RELEASE:1.1.1.1.18.1 netbsd-7-1-RC2:1.1.1.1.18.1 netbsd-7-1-RC1:1.1.1.1.18.1 netbsd-7-0-2-RELEASE:1.1.1.1.18.1 netbsd-7-0-1-RELEASE:1.1.1.1.18.1 netbsd-7-0:1.1.1.1.18.1.0.2 netbsd-7-0-RELEASE:1.1.1.1.18.1 netbsd-7-0-RC3:1.1.1.1.18.1 netbsd-7-0-RC2:1.1.1.1.18.1 netbsd-7-0-RC1:1.1.1.1.18.1 MesaLib-10-3-5:1.1.1.2 netbsd-5-2-3-RELEASE:1.1.1.1 netbsd-5-1-5-RELEASE:1.1.1.1 netbsd-6-0-6-RELEASE:1.1.1.1 netbsd-6-1-5-RELEASE:1.1.1.1 netbsd-7:1.1.1.1.0.18 netbsd-7-base:1.1.1.1 MesaLib-7-11-2:1.1.1.1 netbsd-6-1-4-RELEASE:1.1.1.1 netbsd-6-0-5-RELEASE:1.1.1.1 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.1 riastradh-drm2:1.1.1.1.0.16 riastradh-drm2-base:1.1.1.1 netbsd-6-1-3-RELEASE:1.1.1.1 netbsd-6-0-4-RELEASE:1.1.1.1 netbsd-5-2-2-RELEASE:1.1.1.1 netbsd-5-1-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.1 netbsd-6-0-3-RELEASE:1.1.1.1 netbsd-5-2-1-RELEASE:1.1.1.1 netbsd-5-1-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.1 netbsd-6-1:1.1.1.1.0.14 netbsd-6-0-2-RELEASE:1.1.1.1 netbsd-6-1-RELEASE:1.1.1.1 netbsd-6-1-RC4:1.1.1.1 netbsd-6-1-RC3:1.1.1.1 netbsd-6-1-RC2:1.1.1.1 netbsd-6-1-RC1:1.1.1.1 netbsd-5-2:1.1.1.1.0.12 netbsd-6-0-1-RELEASE:1.1.1.1 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.1.0.10 netbsd-6-0-RELEASE:1.1.1.1 netbsd-6-0-RC2:1.1.1.1 netbsd-6-0-RC1:1.1.1.1 netbsd-6:1.1.1.1.0.8 netbsd-6-base:1.1.1.1 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 netbsd-5-1:1.1.1.1.0.6 netbsd-5-1-RELEASE:1.1.1.1 netbsd-5-1-RC4:1.1.1.1 MesaLib-7-8-2:1.1.1.1 netbsd-5-1-RC3:1.1.1.1 MesaLib-7-7-1:1.1.1.1 netbsd-5-1-RC2:1.1.1.1 netbsd-5-1-RC1:1.1.1.1 netbsd-5-0-2-RELEASE:1.1.1.1 MesaLib-7-4-4:1.1.1.1 netbsd-5-0-1-RELEASE:1.1.1.1 MesaLib-7-4-2:1.1.1.1 netbsd-5-0:1.1.1.1.0.4 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 netbsd-5:1.1.1.1.0.2 netbsd-5-base:1.1.1.1 MesaLib-7-0-3:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.2 date 2022.05.09.01.27.12; author mrg; state dead; branches; next 1.1; commitid vdvqJ71xlVGCRjDD; 1.1 date 2008.07.29.05.08.16; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.29.05.08.16; author mrg; state Exp; branches 1.1.1.1.18.1; next 1.1.1.2; 1.1.1.2 date 2014.12.18.06.02.09; author mrg; state Exp; branches; next 1.1.1.3; commitid tzEjkwzaREfP8u2y; 1.1.1.3 date 2019.09.24.16.19.30; author maya; state Exp; branches; next ; commitid KJXusGl8fi9AAhEB; 1.1.1.1.18.1 date 2015.01.05.20.58.24; author martin; state Exp; branches; next ; commitid 1yEFPaBBlEWKuS4y; desc @@ 1.2 log @merge mesa 21.3.7. @ text @
Normally Mesa (and OpenGL) records but does not notify the user of
errors. It is up to the application to call
glGetError
to check for errors. Mesa supports an
environment variable, MESA_DEBUG, to help with debugging. If
MESA_DEBUG is defined, a message will be printed to stdout whenever
an error occurs.
More extensive error checking is done when Mesa is compiled with the DEBUG symbol defined. You'll have to edit the Make-config file and add -DDEBUG to the CFLAGS line for your system configuration. You may also want to replace any optimization flags with the -g flag so you can use your debugger. After you've edited Make-config type 'make clean' before recompiling.
In your debugger you can set a breakpoint in _mesa_error() to trap Mesa errors.
There is a display list printing/debugging facility. See the end of src/dlist.c for details.