summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-04 22:55:57 +0000
committerBrian Paul <[email protected]>2005-09-04 22:55:57 +0000
commitb4b040f7d83f5f4917c48bf5833394d550e30421 (patch)
tree13afdf960a0c04159d0e2c0adcdd60ebbced07e7
parent16e7aebfe39bdd9c9fecb03ca3b0b617c2b449c8 (diff)
just formatting clean-ups
-rw-r--r--src/mesa/drivers/dri/common/dri_util.c22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/mesa/drivers/dri/common/dri_util.c b/src/mesa/drivers/dri/common/dri_util.c
index 20faf0fda45..421f24ccb1c 100644
--- a/src/mesa/drivers/dri/common/dri_util.c
+++ b/src/mesa/drivers/dri/common/dri_util.c
@@ -53,12 +53,14 @@ static const int empty_attribute_list[1] = { None };
static int api_ver = 0;
/* forward declarations */
-static int driQueryFrameTracking( __DRInativeDisplay * dpy, void * priv,
- int64_t * sbc, int64_t * missedFrames, float * lastMissedUsage,
- float * usage );
+static int driQueryFrameTracking( __DRInativeDisplay *dpy, void *priv,
+ int64_t *sbc, int64_t *missedFrames,
+ float *lastMissedUsage, float *usage );
-static void *driCreateNewDrawable(__DRInativeDisplay *dpy, const __GLcontextModes *modes,
- __DRIid draw, __DRIdrawable *pdraw, int renderType, const int *attrs);
+static void *driCreateNewDrawable(__DRInativeDisplay *dpy,
+ const __GLcontextModes *modes,
+ __DRIid draw, __DRIdrawable *pdraw,
+ int renderType, const int *attrs);
static void driDestroyDrawable(__DRInativeDisplay *dpy, void *drawablePrivate);
@@ -642,8 +644,8 @@ static void *driCreateNewDrawable(__DRInativeDisplay *dpy,
return (void *) pdp;
}
-static __DRIdrawable *driGetDrawable(__DRInativeDisplay *dpy, __DRIid draw,
- void *screenPrivate)
+static __DRIdrawable *
+driGetDrawable(__DRInativeDisplay *dpy, __DRIid draw, void *screenPrivate)
{
__DRIscreenPrivate *psp = (__DRIscreenPrivate *) screenPrivate;
@@ -654,7 +656,8 @@ static __DRIdrawable *driGetDrawable(__DRInativeDisplay *dpy, __DRIid draw,
return __driFindDrawable(psp->drawHash, draw);
}
-static void driDestroyDrawable(__DRInativeDisplay *dpy, void *drawablePrivate)
+static void
+driDestroyDrawable(__DRInativeDisplay *dpy, void *drawablePrivate)
{
__DRIdrawablePrivate *pdp = (__DRIdrawablePrivate *) drawablePrivate;
__DRIscreenPrivate *psp = pdp->driScreenPriv;
@@ -695,7 +698,8 @@ static void driDestroyDrawable(__DRInativeDisplay *dpy, void *drawablePrivate)
* This function calls __DriverAPIRec::DestroyContext on \p contextPrivate, calls
* drmDestroyContext(), and finally frees \p contextPrivate.
*/
-static void driDestroyContext(__DRInativeDisplay *dpy, int scrn, void *contextPrivate)
+static void
+driDestroyContext(__DRInativeDisplay *dpy, int scrn, void *contextPrivate)
{
__DRIcontextPrivate *pcp = (__DRIcontextPrivate *) contextPrivate;