From bd53e5ac969ef8dabf299eb0394f80ed279c471c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 14 Sep 2009 22:33:08 +0100 Subject: Formatting --- src/mesa/drivers/dri/glamo/glamo_context.h | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/glamo/glamo_context.h b/src/mesa/drivers/dri/glamo/glamo_context.h index 14dbf6841e..b42dcd6839 100644 --- a/src/mesa/drivers/dri/glamo/glamo_context.h +++ b/src/mesa/drivers/dri/glamo/glamo_context.h @@ -29,38 +29,29 @@ #include "utils.h" #include "glamo_screen.h" -/* Flags for hardware state that needs to be updated */ -#define GFLAG_ALL 0xffffffff - typedef struct glamo_context glamoContextRec; typedef struct glamo_context *glamoContextPtr; struct glamo_context { - /* This must be first in this structure */ - GLcontext *glCtx; - - int driFd; /* DRM fd */ + GLcontext *glCtx; /* Must be first in this structure */ - __DRIcontextPrivate *driContext; /* DRI context */ - __DRIscreenPrivate *driScreen; /* DRI screen */ - __DRIdrawablePrivate *driDrawable; /* DRI drawable bound to this ctx */ + int driFd; /* DRM fd */ - glamoScreenPtr glamoScreen; /* Screen private DRI data */ + __DRIcontextPrivate *driContext; /* DRI context */ + __DRIscreenPrivate *driScreen; /* DRI screen */ + __DRIdrawablePrivate *driDrawable; /* DRI drawable bound to this ctx */ - driOptionCache optionCache; + glamoScreenPtr glamoScreen; /* Screen private DRI data */ - GLint GlobalFlag; /* What needs to be updated */ + driOptionCache optionCache; - /* Command queue cache */ - uint16_t *cmdq_drm; + uint16_t *cmdq_drm; /* Command queue cache */ int cmdq_drm_used; int cmdq_drm_size; int cmdq_obj_used; uint32_t *cmdq_objs; unsigned int *cmdq_obj_pos; - - }; #define GLAMO_CONTEXT(ctx) ((glamoContextPtr)(ctx->DriverCtx)) @@ -75,5 +66,3 @@ extern GLboolean glamoMakeCurrent(__DRIcontext *driContextPriv, extern GLboolean glamoUnbindContext(__DRIcontext *driContextPriv); #endif /* __GLAMO_CONTEXT_H */ - -/* kate: space-indent on; indent-width 3; mixedindent off; indent-mode cstyle; */ -- cgit v1.2.3