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 b7bfc39..2a29c2a 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 5aa07d4..15d849d 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 74a7a55..65d3eb3 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 87a6cb2..1d24ff7 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 fca006b..7ae5fd1 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);