gallium: fix llvmpipe after winsys move
authorKeith Whitwell <keithw@vmware.com>
Thu, 4 Mar 2010 16:23:05 +0000 (16:23 +0000)
committerKeith Whitwell <keithw@vmware.com>
Thu, 4 Mar 2010 16:23:05 +0000 (16:23 +0000)
src/gallium/drivers/llvmpipe/lp_buffer.c
src/gallium/drivers/llvmpipe/lp_screen.c
src/gallium/drivers/llvmpipe/lp_screen.h
src/gallium/drivers/llvmpipe/lp_setup.c
src/gallium/drivers/llvmpipe/lp_texture.c
src/gallium/winsys/xlib/xlib_llvmpipe.c
src/gallium/winsys/xlib/xlib_softpipe.c

index 9eda97208184000002bebb0ffb6889677646ed9b..dab20cb63977bbd2ceca8cc9cefc4ef47d365ce3 100644 (file)
 #include "util/u_memory.h"
 #include "util/u_math.h"
 
-#include "lp_winsys.h"
 #include "lp_screen.h"
 #include "lp_buffer.h"
 
+#include "state_tracker/sw_winsys.h"
 
 static void *
 llvmpipe_buffer_map(struct pipe_screen *screen,
index 8816440a509d04bae47705e672ecbda7560418b8..6759e39e015d591aada3721a0f66dee214f0d6dd 100644 (file)
 #include "lp_texture.h"
 #include "lp_buffer.h"
 #include "lp_fence.h"
-#include "lp_winsys.h"
 #include "lp_jit.h"
 #include "lp_screen.h"
 #include "lp_context.h"
 #include "lp_debug.h"
 
+#include "state_tracker/sw_winsys.h"
+
 #ifdef DEBUG
 int LP_DEBUG = 0;
 
index 3211822b53efe97b0c0d281cde63d8ae93c53d34..0c8628360506b0994dfc128f0b04ed4006248118 100644 (file)
@@ -76,4 +76,7 @@ llvmpipe_screen( struct pipe_screen *pipe )
 }
 
 
+struct pipe_screen *
+llvmpipe_create_screen(struct sw_winsys *winsys);
+
 #endif /* LP_SCREEN_H */
index 72b19d0b05cf50dacb25bcda3e40bf2835a14353..fe60eb0437ec6ec5ca00a90468cb3ff1565284a6 100644 (file)
@@ -46,7 +46,7 @@
 #include "lp_rast.h"
 #include "lp_setup_context.h"
 #include "lp_screen.h"
-#include "lp_winsys.h"
+#include "state_tracker/sw_winsys.h"
 
 #include "draw/draw_context.h"
 #include "draw/draw_vbuf.h"
index aed9ed6175dfe8388b2bd1f0e37c3d49258f907a..ac3d62dc967ab023bf00fd5c2ab6cf918b2c7aa2 100644 (file)
@@ -42,7 +42,7 @@
 #include "lp_screen.h"
 #include "lp_texture.h"
 #include "lp_tile_size.h"
-#include "lp_winsys.h"
+#include "state_tracker/sw_winsys.h"
 
 
 /**
index 9929ba52e731d3951fc6a4ba99ab595bc9442ae0..cb559f9080515c345d510a05739a290005e3bd20 100644 (file)
 #if defined(GALLIUM_LLVMPIPE)
 
 #include "llvmpipe/lp_texture.h"
-#include "llvmpipe/lp_winsys.h"
+#include "llvmpipe/lp_screen.h"
 #include "state_tracker/sw_winsys.h"
+#include "util/u_debug.h"
 
 static struct pipe_screen *
 xlib_create_llvmpipe_screen( void )
 {
-   struct llvmpipe_winsys *winsys;
+   struct sw_winsys *winsys;
    struct pipe_screen *screen;
 
    winsys = xlib_create_sw_winsys();
index df93de551cc79286a23c4705cf9c833f84439954..47fec4313b9acff8b27d45e7890dcb7526bdc449 100644 (file)
@@ -31,6 +31,7 @@
 #include "softpipe/sp_texture.h"
 #include "softpipe/sp_screen.h"
 #include "state_tracker/sw_winsys.h"
+#include "util/u_debug.h"
 
 static struct pipe_screen *
 xlib_create_softpipe_screen( void )