Commit f469ac53 authored by Ulrich Sibiller's avatar Ulrich Sibiller

Image.c: reformat comments

parent e74eb765
...@@ -100,8 +100,8 @@ extern void nxagentTwoByteSwap(unsigned char *, register int); ...@@ -100,8 +100,8 @@ extern void nxagentTwoByteSwap(unsigned char *, register int);
extern void nxagentFourByteSwap(register unsigned char *, register int); extern void nxagentFourByteSwap(register unsigned char *, register int);
/* /*
* Store the last visual used to unpack * Store the last visual used to unpack the images for the given
* the images for the given client. * client.
*/ */
static VisualID nxagentUnpackVisualId[MAX_CONNECTIONS]; static VisualID nxagentUnpackVisualId[MAX_CONNECTIONS];
...@@ -114,7 +114,6 @@ typedef struct _UnpackAlpha ...@@ -114,7 +114,6 @@ typedef struct _UnpackAlpha
{ {
char *data; char *data;
int size; int size;
} UnpackAlphaRec; } UnpackAlphaRec;
typedef UnpackAlphaRec *UnpackAlphaPtr; typedef UnpackAlphaRec *UnpackAlphaPtr;
...@@ -688,14 +687,12 @@ FIXME: Temporarily stream the GLX data. ...@@ -688,14 +687,12 @@ FIXME: Temporarily stream the GLX data.
if (split == 1 && (nxagentSplitTrap == 1 || depth < 15)) if (split == 1 && (nxagentSplitTrap == 1 || depth < 15))
{ {
#ifdef TEST #ifdef TEST
if (nxagentSplitTrap == 1 || if (nxagentSplitTrap == 1 ||
nxagentReconnectTrap == 1) nxagentReconnectTrap == 1)
{ {
fprintf(stderr, "nxagentPutImage: Not splitting with reconnection [%d] trap [%d] " fprintf(stderr, "nxagentPutImage: Not splitting with reconnection [%d] trap [%d] "
"depth [%d].\n", nxagentSplitTrap, nxagentReconnectTrap, depth); "depth [%d].\n", nxagentSplitTrap, nxagentReconnectTrap, depth);
} }
#endif #endif
split = 0; split = 0;
...@@ -722,7 +719,6 @@ FIXME: Temporarily stream the GLX data. ...@@ -722,7 +719,6 @@ FIXME: Temporarily stream the GLX data.
"link [%d] GLX [%d] Xv [%d].\n", length, nxagentOption(LinkType), "link [%d] GLX [%d] Xv [%d].\n", length, nxagentOption(LinkType),
nxagentGlxTrap, nxagentXvTrap); nxagentGlxTrap, nxagentXvTrap);
} }
#endif #endif
/* /*
...@@ -831,9 +827,8 @@ FIXME: Should probably intersect the region with the region being ...@@ -831,9 +827,8 @@ FIXME: Should probably intersect the region with the region being
} }
/* /*
* The split value could be changed by a * The split value could be changed by a no-split event in the block
* no-split event in the block above, so * above, so here we have to check the value again.
* here we have to check the value again.
*/ */
if (split == 0) if (split == 0)
...@@ -910,8 +905,7 @@ void nxagentRealizeImage(DrawablePtr pDrawable, GCPtr pGC, int depth, ...@@ -910,8 +905,7 @@ void nxagentRealizeImage(DrawablePtr pDrawable, GCPtr pGC, int depth,
} }
/* /*
* Get the visual according to the * Get the visual according to the drawable and depth.
* drawable and depth.
*/ */
pVisual = nxagentImageVisual(pDrawable, depth); pVisual = nxagentImageVisual(pDrawable, depth);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment