summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel_winsys/intel_batchpool.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-05 11:54:36 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-11-05 11:54:36 -0700
commit6ad4656cc475b170f419627ff6c4a43ebab09b7c (patch)
tree43116b2dbe438ab0a557e34b8477167a59784beb /src/mesa/drivers/dri/intel_winsys/intel_batchpool.c
parentb17675d70976bd40ff58ea49226292f49cffbe13 (diff)
Move driBatchPoolInit() into new intel_batchpool.h header.
Note that intel_batchpool.[ch] have no intel-specific dependencies at this poi Maybe rename files for re-use in the future.
Diffstat (limited to 'src/mesa/drivers/dri/intel_winsys/intel_batchpool.c')
-rw-r--r--src/mesa/drivers/dri/intel_winsys/intel_batchpool.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel_winsys/intel_batchpool.c b/src/mesa/drivers/dri/intel_winsys/intel_batchpool.c
index 2503b8a62a..a81a463baa 100644
--- a/src/mesa/drivers/dri/intel_winsys/intel_batchpool.c
+++ b/src/mesa/drivers/dri/intel_winsys/intel_batchpool.c
@@ -29,6 +29,11 @@
* Authors: Thomas Hellström <thomas-at-tungstengraphics-dot-com>
*/
+/**
+ * XXX NOTE: there are no intel dependencies in this file.
+ * Rename to dri_batchpool.c?
+ */
+
#include <xf86drm.h>
#include <stdlib.h>
#include <errno.h>
@@ -36,7 +41,8 @@
#include "glthread.h"
#include "dri_bufpool.h"
#include "dri_bufmgr.h"
-#include "intel_screen.h"
+#include "intel_batchpool.h"
+
typedef struct
{