r600g: reduce flushes for queries
[mesa.git] / src / gallium / state_trackers / wgl / stw_device.h
index 0bf3b0da82502c424ec94cf0d1bc06dd5d38bdc1..3c2b6d9c076d3ff8cdefe81613ef4c400a2d7ee0 100644 (file)
@@ -30,7 +30,7 @@
 
 
 #include "pipe/p_compiler.h"
-#include "pipe/p_thread.h"
+#include "os/os_thread.h"
 #include "util/u_handle_table.h"
 #include "stw_icd.h"
 #include "stw_pixelformat.h"
@@ -40,6 +40,8 @@
 
 
 struct pipe_screen;
+struct st_api;
+struct st_manager;
 struct stw_framebuffer;
 
 struct stw_device
@@ -48,9 +50,12 @@ struct stw_device
    
    struct pipe_screen *screen;
    
-#ifdef DEBUG
-   boolean trace_running;
-#endif
+   /* Cache some PIPE_CAP_* */
+   unsigned max_2d_levels;
+   unsigned max_2d_length;
+
+   struct st_api *stapi;
+   struct st_manager *smapi;
 
    LUID AdapterLuid;