summaryrefslogtreecommitdiff
path: root/xc/lib/GL/mesa/src/drv/mga/mgacontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/lib/GL/mesa/src/drv/mga/mgacontext.h')
-rw-r--r--xc/lib/GL/mesa/src/drv/mga/mgacontext.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/xc/lib/GL/mesa/src/drv/mga/mgacontext.h b/xc/lib/GL/mesa/src/drv/mga/mgacontext.h
index 69eaa47c6..5c7826bc6 100644
--- a/xc/lib/GL/mesa/src/drv/mga/mgacontext.h
+++ b/xc/lib/GL/mesa/src/drv/mga/mgacontext.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/GL/mesa/src/drv/mga/mgacontext.h,v 1.5 2002/02/22 21:33:06 dawes Exp $*/
+/* $XFree86: xc/lib/GL/mesa/src/drv/mga/mgacontext.h,v 1.7 2002/12/16 16:18:52 dawes Exp $*/
/*
* Copyright 2000-2001 VA Linux Systems, Inc.
* All Rights Reserved.
@@ -23,18 +23,16 @@
* OTHER DEALINGS IN THE SOFTWARE.
*
* Authors:
- * Keith Whitwell <keithw@valinux.com>
+ * Keith Whitwell <keith@tungstengraphics.com>
*/
#ifndef MGALIB_INC
#define MGALIB_INC
-#include <X11/Xlibint.h>
#include "dri_util.h"
#include "mtypes.h"
-#include "drm.h"
+#include "xf86drm.h"
#include "mm.h"
-#include "mem.h"
#include "mga_sarea.h"
@@ -120,7 +118,7 @@ typedef struct mga_texture_object_s
struct mga_context_t {
GLcontext *glCtx;
- GLuint lastStamp; /* fullscreen breaks dpriv->laststamp,
+ unsigned int lastStamp; /* fullscreen breaks dpriv->laststamp,
* need to shadow it here. */
/* Bookkeeping for texturing
@@ -202,6 +200,9 @@ struct mga_context_t {
drmBufPtr vertex_dma_buffer;
drmBufPtr iload_buffer;
+ /* VBI
+ */
+ GLuint vbl_seq;
/* Drawable, cliprect and scissor information
*/
@@ -234,7 +235,6 @@ struct mga_context_t {
drmContext hHWContext;
drmLock *driHwLock;
int driFd;
- Display *display;
__DRIdrawablePrivate *driDrawable;
__DRIscreenPrivate *driScreen;
struct mga_screen_private_s *mgaScreen;