mesa: Add SYSTEM_VALUE_VERTEX_ID_ZERO_BASE
[mesa.git] / src / mesa / main / errors.h
index e0706e5b95353be5417d5cdd52bfa8ed03846a36..b388138e84d611c69a317a9010710fe32660c701 100644 (file)
@@ -63,6 +63,9 @@ _mesa_problem( const struct gl_context *ctx, const char *fmtString, ... ) PRINTF
 extern void
 _mesa_error( struct gl_context *ctx, GLenum error, const char *fmtString, ... ) PRINTFLIKE(3, 4);
 
+extern void
+_mesa_error_no_memory(const char *caller);
+
 extern void
 _mesa_debug( const struct gl_context *ctx, const char *fmtString, ... ) PRINTFLIKE(2, 3);
 
@@ -83,8 +86,14 @@ _mesa_gl_debug(struct gl_context *ctx,
    }                                                                      \
 } while (0)
 
-struct gl_debug_state *
-_mesa_get_debug_state(struct gl_context *ctx);
+bool
+_mesa_set_debug_state_int(struct gl_context *ctx, GLenum pname, GLint val);
+
+GLint
+_mesa_get_debug_state_int(struct gl_context *ctx, GLenum pname);
+
+void *
+_mesa_get_debug_state_ptr(struct gl_context *ctx, GLenum pname);
 
 extern void
 _mesa_shader_debug(struct gl_context *ctx, GLenum type, GLuint *id,