No idea why this is #ifdef'd. Trace and Noop are definitely useful no matter
how Mesa is built.
Reviewed-by: Brian Paul <brianp@vmware.com>
* one or more debug driver: rbug, trace.
*/
-#ifdef DEBUG
-
#ifdef GALLIUM_TRACE
#include "trace/tr_public.h"
#endif
#include "noop/noop_public.h"
#endif
-#endif /* DEBUG */
-
static INLINE struct pipe_screen *
debug_screen_wrap(struct pipe_screen *screen)
{
-#ifdef DEBUG
-
#if defined(GALLIUM_RBUG)
screen = rbug_screen_create(screen);
#endif
screen = noop_screen_create(screen);
#endif
-#endif /* DEBUG */
-
return screen;
}