From b46340c740eb5388e9917fca365a6c3003385dff Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 10 Nov 2010 22:02:39 +0000 Subject: graw: Use inline debug helper instead of non-inline version --- src/gallium/targets/graw-xlib/SConscript | 4 +++- src/gallium/targets/graw-xlib/graw_xlib.c | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src/gallium/targets/graw-xlib') diff --git a/src/gallium/targets/graw-xlib/SConscript b/src/gallium/targets/graw-xlib/SConscript index e50eb8a03d..6d32ea537d 100644 --- a/src/gallium/targets/graw-xlib/SConscript +++ b/src/gallium/targets/graw-xlib/SConscript @@ -9,7 +9,7 @@ env.Prepend(LIBS = [ ws_xlib, trace, rbug, - identity, + galahad, gallium, ]) @@ -20,6 +20,8 @@ env.Append(CPPPATH = [ '#src/gallium/include/state_tracker', ]) +env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE', 'GALLIUM_GALAHAD']) + sources = [ 'graw_xlib.c', graw_util diff --git a/src/gallium/targets/graw-xlib/graw_xlib.c b/src/gallium/targets/graw-xlib/graw_xlib.c index 8658e19e3a..578086f8f9 100644 --- a/src/gallium/targets/graw-xlib/graw_xlib.c +++ b/src/gallium/targets/graw-xlib/graw_xlib.c @@ -3,8 +3,8 @@ #include "pipe/p_screen.h" #include "util/u_debug.h" #include "util/u_memory.h" -#include "target-helpers/wrap_screen.h" #include "target-helpers/inline_sw_helper.h" +#include "target-helpers/inline_debug_helper.h" #include "state_tracker/xlib_sw_winsys.h" #include "state_tracker/graw.h" @@ -36,7 +36,7 @@ graw_create_screen( void ) /* Inject any wrapping layers we want to here: */ - return gallium_wrap_screen( screen ); + return debug_screen_wrap( screen ); } -- cgit v1.2.3