/**************************************************************************
*
+ * 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 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;
};
}
+
#endif /* LP_SCREEN_H */