summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-09-14 22:33:08 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-02-18 15:39:23 +0100
commitbd53e5ac969ef8dabf299eb0394f80ed279c471c (patch)
treee8559b1b36cb2759d8a53279af676b388d9ea40f
parent505a36df96ba03de0f898272417fe651a0a341d0 (diff)
Formatting
-rw-r--r--src/mesa/drivers/dri/glamo/glamo_context.h27
1 files changed, 8 insertions, 19 deletions
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; */