Lines Matching refs:error
3 * Mesa debugging and error handling functions.
122 * When a new type of error is recorded, print a message describing
143 * Report a warning (a recoverable error condition) to stderr if
187 fprintf(stderr, "Mesa " PACKAGE_VERSION " implementation error: %s\n",
195 should_output(struct gl_context *ctx, GLenum error, const char *fmtString)
218 if (ctx->ErrorValue != error ||
297 * Record an OpenGL state error. These usually occur when the user
301 * run-time via the MESA_DEBUG environment variable), report the error with
305 * \param error the error value.
309 _mesa_error( struct gl_context *ctx, GLenum error, const char *fmtString, ... )
319 do_output = should_output(ctx, error, fmtString);
344 /* Too long error message. Whoever calls _mesa_error should use
352 _mesa_enum_to_string(error), s);
359 /* Print the error to stderr if needed. */
361 output_if_debug("Mesa: User error", s2, GL_TRUE);
364 /* Log the error via ARB_debug_output if needed.*/
371 /* Set the GL context error state for glGetError. */
373 ctx->ErrorValue = error;
384 * Report debug information. Print error message to stderr via fprintf().
451 * Set the parameter as the current GL error. Used by glthread.
454 _mesa_InternalSetError(GLenum error)
457 _mesa_error(ctx, error, "glthread");