Lines Matching refs:debug
52 static int debug = -1;
54 /* Init the local 'debug' var once.
58 if (debug == -1) {
68 /* in debug builds, print messages unless MESA_DEBUG="silent" */
70 debug = 0;
72 debug = 1;
75 debug = env && strstr(env, "silent") == NULL;
80 if (debug) {
110 * Return the file handle to use for debug/logging. Defaults to stderr
197 static GLint debug = -1;
199 /* Check debug environment variable only once:
201 if (debug == -1) {
206 debug = GL_FALSE;
208 debug = GL_TRUE;
211 debug = GL_TRUE;
213 debug = GL_FALSE;
217 if (debug) {
384 * Report debug information. Print error message to stderr via fprintf().
424 * Report debug information from the shader compiler via GL_ARB_debug_output.