Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
f469ac53
Commit
f469ac53
authored
Sep 05, 2019
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Image.c: reformat comments
parent
e74eb765
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
Image.c
nx-X11/programs/Xserver/hw/nxagent/Image.c
+5
-11
No files found.
nx-X11/programs/Xserver/hw/nxagent/Image.c
View file @
f469ac53
...
...
@@ -100,8 +100,8 @@ extern void nxagentTwoByteSwap(unsigned char *, register int);
extern
void
nxagentFourByteSwap
(
register
unsigned
char
*
,
register
int
);
/*
* Store the last visual used to unpack
*
the images for the given
client.
* Store the last visual used to unpack
the images for the given
* client.
*/
static
VisualID
nxagentUnpackVisualId
[
MAX_CONNECTIONS
];
...
...
@@ -114,7 +114,6 @@ typedef struct _UnpackAlpha
{
char
*
data
;
int
size
;
}
UnpackAlphaRec
;
typedef
UnpackAlphaRec
*
UnpackAlphaPtr
;
...
...
@@ -688,14 +687,12 @@ FIXME: Temporarily stream the GLX data.
if
(
split
==
1
&&
(
nxagentSplitTrap
==
1
||
depth
<
15
))
{
#ifdef TEST
if
(
nxagentSplitTrap
==
1
||
nxagentReconnectTrap
==
1
)
{
fprintf
(
stderr
,
"nxagentPutImage: Not splitting with reconnection [%d] trap [%d] "
"depth [%d].
\n
"
,
nxagentSplitTrap
,
nxagentReconnectTrap
,
depth
);
}
#endif
split
=
0
;
...
...
@@ -722,7 +719,6 @@ FIXME: Temporarily stream the GLX data.
"link [%d] GLX [%d] Xv [%d].
\n
"
,
length
,
nxagentOption
(
LinkType
),
nxagentGlxTrap
,
nxagentXvTrap
);
}
#endif
/*
...
...
@@ -831,9 +827,8 @@ FIXME: Should probably intersect the region with the region being
}
/*
* The split value could be changed by a
* no-split event in the block above, so
* here we have to check the value again.
* The split value could be changed by a no-split event in the block
* above, so here we have to check the value again.
*/
if
(
split
==
0
)
...
...
@@ -910,8 +905,7 @@ void nxagentRealizeImage(DrawablePtr pDrawable, GCPtr pGC, int depth,
}
/*
* Get the visual according to the
* drawable and depth.
* Get the visual according to the drawable and depth.
*/
pVisual
=
nxagentImageVisual
(
pDrawable
,
depth
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment