aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/target-helpers/inline_debug_helper.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-09-04 22:36:34 +0200
committerMarek Olšák <[email protected]>2018-02-07 22:08:34 +0100
commit6f82b8d8d0a986aac28e7bec47fc313fb950475c (patch)
tree69eac15198a19e2e16447b5d4774a5c787af677e /src/gallium/auxiliary/target-helpers/inline_debug_helper.h
parentdef09f8db0ce77fc41f5188418e0b06356ce59b7 (diff)
gallium: build ddebug, noop, rbug, trace as part of auxiliary
Building gallium is faster by 7.5 seconds on a 4core/8thread 3GHz CPU. (gallium build time is reduced by 15% when building only radeonsi) Non-recursive makefiles are great!
Diffstat (limited to 'src/gallium/auxiliary/target-helpers/inline_debug_helper.h')
-rw-r--r--src/gallium/auxiliary/target-helpers/inline_debug_helper.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_debug_helper.h b/src/gallium/auxiliary/target-helpers/inline_debug_helper.h
index 2443bf21468..85563769408 100644
--- a/src/gallium/auxiliary/target-helpers/inline_debug_helper.h
+++ b/src/gallium/auxiliary/target-helpers/inline_debug_helper.h
@@ -11,44 +11,18 @@
* one or more debug driver: rbug, trace.
*/
-#ifdef GALLIUM_DDEBUG
#include "ddebug/dd_public.h"
-#endif
-
-#ifdef GALLIUM_TRACE
#include "trace/tr_public.h"
-#endif
-
-#ifdef GALLIUM_RBUG
#include "rbug/rbug_public.h"
-#endif
-
-#ifdef GALLIUM_NOOP
#include "noop/noop_public.h"
-#endif
-/*
- * TODO: Audit the following *screen_create() - all of
- * them should return the original screen on failuire.
- */
static inline struct pipe_screen *
debug_screen_wrap(struct pipe_screen *screen)
{
-#if defined(GALLIUM_DDEBUG)
screen = ddebug_screen_create(screen);
-#endif
-
-#if defined(GALLIUM_RBUG)
screen = rbug_screen_create(screen);
-#endif
-
-#if defined(GALLIUM_TRACE)
screen = trace_screen_create(screen);
-#endif
-
-#if defined(GALLIUM_NOOP)
screen = noop_screen_create(screen);
-#endif
if (debug_get_bool_option("GALLIUM_TESTS", FALSE))
util_run_tests(screen);