llvmpipe: Implement alpha_to_coverage for non-MSAA framebuffers.
[mesa.git] / src / gallium / drivers / llvmpipe / lp_screen.h
index 9f79510c4d6a954838f10f44f770f578a629996b..7f69a11a6e3a1ccb8c46eb35d6a48a5ddabf6097 100644 (file)
@@ -1,5 +1,6 @@
 /**************************************************************************
  * 
+ * Copyright 2009 VMware, Inc.
  * Copyright 2007 Tungsten Graphics, Inc., Cedar Park, Texas.
  * All Rights Reserved.
  *
  * 
  **************************************************************************/
 
-/* Authors:  Keith Whitwell <keith@tungstengraphics.com>
+/**
+ * @author Jose Fonseca <jfonseca@vmware.com>
+ * @author Keith Whitwell <keith@tungstengraphics.com>
  */
 
-#ifndef SP_SCREEN_H
-#define SP_SCREEN_H
+#ifndef LP_SCREEN_H
+#define LP_SCREEN_H
 
 #include "pipe/p_screen.h"
 #include "pipe/p_defines.h"
+#include "os/os_thread.h"
+#include "gallivm/lp_bld.h"
 
 
+struct sw_winsys;
 
-struct llvmpipe_screen {
+
+struct llvmpipe_screen
+{
    struct pipe_screen base;
 
-   /* Increments whenever textures are modified.  Contexts can track
-    * this.
+   struct sw_winsys *winsys;
+
+   unsigned num_threads;
+
+   /* Increments whenever textures are modified.  Contexts can track this.
     */
-   unsigned timestamp;          
+   unsigned timestamp;
+
+   struct lp_rasterizer *rast;
+   pipe_mutex rast_mutex;
 };
 
 
@@ -55,4 +69,5 @@ llvmpipe_screen( struct pipe_screen *pipe )
 }
 
 
-#endif /* SP_SCREEN_H */
+
+#endif /* LP_SCREEN_H */