remove some GL types, mesa includes
authorBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 20:18:47 +0000 (13:18 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 5 Nov 2007 20:18:47 +0000 (13:18 -0700)
src/mesa/drivers/dri/intel_winsys/intel_context.c
src/mesa/drivers/dri/intel_winsys/intel_context.h
src/mesa/drivers/dri/intel_winsys/intel_lock.c
src/mesa/drivers/dri/intel_winsys/intel_screen.h
src/mesa/drivers/dri/intel_winsys/intel_swapbuffers.h

index b7bfc39f89c9ecf5f003fc57eb4cb97321fdfbca..2a29c2ab2700024f0f4e71f3843b1f07dce86155 100644 (file)
@@ -35,7 +35,7 @@
 #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"
 
index 5aa07d4ed173d76adc88a5ca3dcb3e19893cc21b..15d849d52b5a46c5af8f975a860900723c43cd0c 100644 (file)
 #define INTELCONTEXT_INC
 
 
-
-#include "mtypes.h"
 #include "drm.h"
-
 #include "intel_screen.h"
 #include "i915_drm.h"
 
@@ -58,11 +55,11 @@ struct intel_context
 
    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;
@@ -74,7 +71,7 @@ struct intel_context
    struct intel_screen *intelScreen;
    drmI830Sarea *sarea;
 
-   GLuint lastStamp;
+   uint lastStamp;
 
    /**
     * Configuration cache
index 74a7a55bd01d02698bdab97233a65eb2b5e7200f..65d3eb3b3a6cb6318cb9ccfaf1752c1bf3eea3d1 100644 (file)
@@ -41,7 +41,7 @@ _glthread_DECLARE_STATIC_MUTEX( lockMutex );
 
 
 static void
-intelContendedLock(struct intel_context *intel, GLuint flags)
+intelContendedLock(struct intel_context *intel, uint flags)
 {
    __DRIdrawablePrivate *dPriv = intel->driDrawable;
    __DRIscreenPrivate *sPriv = intel->driScreen;
index 87a6cb21d1659fee155fb6cf5faf2d6f2b6fb82d..1d24ff7ff795c30eadcd1a99510566bf18fad558 100644 (file)
@@ -67,7 +67,7 @@ struct intel_screen
    struct _DriBufferPool *batchPool;
    struct _DriBufferPool *regionPool;
    struct _DriBufferPool *staticPool; /** for the X screen/framebuffer */
-   GLboolean havePools;
+   boolean havePools;
 
    struct intel_context *dummyctxptr;
 };
index fca006b767ce49db675d472b2329c5d362edbf81..7ae5fd15a5f185816c501bae8662fe885e4a4bbd 100644 (file)
@@ -29,6 +29,9 @@
 #define INTEL_SWAPBUFFERS_H
 
 
+struct pipe_surface;
+
+
 extern void intelDisplaySurface(__DRIdrawablePrivate * dPriv,
                                 struct pipe_surface *surf,
                                 const drm_clip_rect_t * rect);