Lines Matching refs:debug
47 static int debug = -1;
49 /* Init the local 'debug' var once.
53 if (debug == -1) {
63 /* in debug builds, print messages unless MESA_DEBUG="silent" */
65 debug = 0;
67 debug = 1;
70 debug = getenv("MESA_DEBUG") != NULL;
75 if (debug) {
98 * Return the file handle to use for debug/logging. Defaults to stderr
185 static GLint debug = -1;
187 /* Check debug environment variable only once:
189 if (debug == -1) {
194 debug = GL_FALSE;
196 debug = GL_TRUE;
199 debug = GL_TRUE;
201 debug = GL_FALSE;
205 if (debug) {
372 * Report debug information. Print error message to stderr via fprintf().
407 * Report debug information from the shader compiler via GL_ARB_debug_output.