#include "intel_batchbuffer.h"
#include "state_tracker/st_public.h"
-#include "state_tracker/st_context.h"
+#include "state_tracker/st_context.h" /* XXX temporary */
#include "pipe/p_defines.h"
#include "pipe/p_context.h"
#define INTELCONTEXT_INC
-
-#include "mtypes.h"
#include "drm.h"
-
#include "intel_screen.h"
#include "i915_drm.h"
struct intel_batchbuffer *batch;
- GLboolean locked;
+ boolean locked;
char *prevLockFile;
int prevLockLine;
- GLuint irqsEmitted;
+ uint irqsEmitted;
drm_i915_irq_wait_t iw;
drm_context_t hHWContext;
struct intel_screen *intelScreen;
drmI830Sarea *sarea;
- GLuint lastStamp;
+ uint lastStamp;
/**
* Configuration cache
static void
-intelContendedLock(struct intel_context *intel, GLuint flags)
+intelContendedLock(struct intel_context *intel, uint flags)
{
__DRIdrawablePrivate *dPriv = intel->driDrawable;
__DRIscreenPrivate *sPriv = intel->driScreen;
struct _DriBufferPool *batchPool;
struct _DriBufferPool *regionPool;
struct _DriBufferPool *staticPool; /** for the X screen/framebuffer */
- GLboolean havePools;
+ boolean havePools;
struct intel_context *dummyctxptr;
};
#define INTEL_SWAPBUFFERS_H
+struct pipe_surface;
+
+
extern void intelDisplaySurface(__DRIdrawablePrivate * dPriv,
struct pipe_surface *surf,
const drm_clip_rect_t * rect);