svga: Add Galahad and Softpipe to scons build
authorJakob Bornecrantz <jakob@vmware.com>
Wed, 15 Dec 2010 11:13:54 +0000 (12:13 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Thu, 16 Dec 2010 07:53:26 +0000 (08:53 +0100)
src/gallium/targets/dri-vmwgfx/SConscript
src/gallium/targets/dri-vmwgfx/target.c

index 7888e4f2c8bc9c0e7aa2f7aa3ffa4b7c2f883562..e05ced986750c9d971627de22350c5af06bd7fec 100644 (file)
@@ -2,14 +2,14 @@ Import('*')
 
 env = drienv.Clone()
 
-env.Append(CPPDEFINES = ['GALLIUM_RBUG', 'GALLIUM_TRACE'])
+if True:
+    env.Append(CPPDEFINES = ['GALLIUM_TRACE', 'GALLIUM_RBUG', 'GALLIUM_GALAHAD', 'GALLIUM_SOFTPIPE'])
+    env.Prepend(LIBS = [trace, rbug, galahad, softpipe, ws_wrapper])
 
 env.Prepend(LIBS = [
     st_dri,
     svgadrm,
     svga,
-    trace,
-    rbug,
     mesa,
     glsl,
     gallium,
index 15089d6db264a20126697f4aeb6ee36e2c627e97..1362851d6bef866d674db97eb83d2e621e241645 100644 (file)
@@ -1,4 +1,5 @@
 
+#include "target-helpers/inline_wrapper_sw_helper.h"
 #include "target-helpers/inline_debug_helper.h"
 #include "state_tracker/drm_driver.h"
 #include "svga/drm/svga_drm_public.h"
@@ -18,6 +19,8 @@ create_screen(int fd)
    if (!screen)
       return NULL;
 
+   screen = sw_screen_wrap(screen);
+
    screen = debug_screen_wrap(screen);
 
    return screen;