Note that intel_batchpool.[ch] have no intel-specific dependencies at this poi
Maybe rename files for re-use in the future.
* 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>
#include "glthread.h"
#include "dri_bufpool.h"
#include "dri_bufmgr.h"
-#include "intel_screen.h"
+#include "intel_batchpool.h"
+
typedef struct
{
#include "intel_context.h"
#include "intel_screen.h"
#include "intel_batchbuffer.h"
+#include "intel_batchpool.h"
#include "intel_swapbuffers.h"
#include "i830_dri.h"
__DRIdrawablePrivate * driDrawPriv,
__DRIdrawablePrivate * driReadPriv);
-extern struct _DriBufferPool *driBatchPoolInit(int fd, unsigned flags,
- unsigned long bufSize,
- unsigned numBufs,
- unsigned checkDelayed);
extern GLboolean
intelCreatePools(__DRIscreenPrivate *sPriv);