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
89499350
Commit
89499350
authored
Jun 29, 2016
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Xserver: Post-REGION-macros-to-inline-funcs clean-up.
parent
8df1a67b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
23 deletions
+0
-23
panoramiX.c
nx-X11/programs/Xserver/Xext/panoramiX.c
+0
-1
shape.c
nx-X11/programs/Xserver/Xext/shape.c
+0
-2
mibstore.c
nx-X11/programs/Xserver/mi/mibstore.c
+0
-5
mioverlay.c
nx-X11/programs/Xserver/mi/mioverlay.c
+0
-1
miwindow.c
nx-X11/programs/Xserver/mi/miwindow.c
+0
-13
mipict.c
nx-X11/programs/Xserver/render/mipict.c
+0
-1
No files found.
nx-X11/programs/Xserver/Xext/panoramiX.c
View file @
89499350
...
...
@@ -1160,7 +1160,6 @@ XineramaGetImageData(
BoxRec
SrcBox
,
*
pbox
;
int
x
,
y
,
w
,
h
,
i
,
j
,
nbox
,
size
,
sizeNeeded
,
ScratchPitch
,
inOut
,
depth
;
DrawablePtr
pDraw
=
pDrawables
[
0
];
ScreenPtr
pScreen
=
pDraw
->
pScreen
;
char
*
ScratchMem
=
NULL
;
size
=
0
;
...
...
nx-X11/programs/Xserver/Xext/shape.c
View file @
89499350
...
...
@@ -317,7 +317,6 @@ ProcShapeRectangles (client)
register
ClientPtr
client
;
{
WindowPtr
pWin
;
ScreenPtr
pScreen
;
REQUEST
(
xShapeRectanglesReq
);
xRectangle
*
prects
;
int
nrects
,
ctype
;
...
...
@@ -350,7 +349,6 @@ ProcShapeRectangles (client)
client
->
errorValue
=
stuff
->
ordering
;
return
BadValue
;
}
pScreen
=
pWin
->
drawable
.
pScreen
;
nrects
=
((
stuff
->
length
<<
2
)
-
sizeof
(
xShapeRectanglesReq
));
if
(
nrects
&
4
)
return
BadLength
;
...
...
nx-X11/programs/Xserver/mi/mibstore.c
View file @
89499350
...
...
@@ -2573,11 +2573,9 @@ miBSAllocate(pWin)
WindowPtr
pWin
;
{
register
miBSWindowPtr
pBackingStore
;
register
ScreenPtr
pScreen
;
if
(
pWin
->
drawable
.
pScreen
->
backingStoreSupport
==
NotUseful
)
return
;
pScreen
=
pWin
->
drawable
.
pScreen
;
if
(
!
(
pBackingStore
=
(
miBSWindowPtr
)
pWin
->
backStorage
))
{
...
...
@@ -2674,9 +2672,6 @@ miBSFree(pWin)
WindowPtr
pWin
;
{
miBSWindowPtr
pBackingStore
;
register
ScreenPtr
pScreen
;
pScreen
=
pWin
->
drawable
.
pScreen
;
pBackingStore
=
(
miBSWindowPtr
)
pWin
->
backStorage
;
if
(
pBackingStore
)
...
...
nx-X11/programs/Xserver/mi/mioverlay.c
View file @
89499350
...
...
@@ -2029,7 +2029,6 @@ HasUnderlayChildren(WindowPtr pWin)
static
Bool
CollectUnderlayChildrenRegions
(
WindowPtr
pWin
,
RegionPtr
pReg
)
{
ScreenPtr
pScreen
=
pWin
->
drawable
.
pScreen
;
WindowPtr
pChild
;
miOverlayTreePtr
pTree
;
Bool
hasUnderlay
;
...
...
nx-X11/programs/Xserver/mi/miwindow.c
View file @
89499350
...
...
@@ -275,14 +275,12 @@ miChangeSaveUnder(pWin, first)
* Used when pWin was restacked */
{
RegionRec
rgn
;
/* Area obscured by saveUnder windows */
register
ScreenPtr
pScreen
;
Bool
res
;
if
(
!
deltaSaveUndersViewable
&&
!
numSaveUndersViewable
)
return
FALSE
;
numSaveUndersViewable
+=
deltaSaveUndersViewable
;
deltaSaveUndersViewable
=
0
;
pScreen
=
pWin
->
drawable
.
pScreen
;
RegionNull
(
&
rgn
);
res
=
miCheckSubSaveUnder
(
pWin
->
parent
,
pWin
->
saveUnder
?
first
:
pWin
->
nextSib
,
...
...
@@ -368,9 +366,6 @@ miMarkOverlappedWindows(pWin, pFirst, ppLayerWin)
register
WindowPtr
pChild
,
pLast
;
Bool
anyMarked
=
FALSE
;
MarkWindowProcPtr
MarkWindow
=
pWin
->
drawable
.
pScreen
->
MarkWindow
;
ScreenPtr
pScreen
;
pScreen
=
pWin
->
drawable
.
pScreen
;
/* single layered systems are easy */
if
(
ppLayerWin
)
*
ppLayerWin
=
pWin
;
...
...
@@ -453,11 +448,8 @@ miHandleValidateExposures(pWin)
{
register
WindowPtr
pChild
;
register
ValidatePtr
val
;
ScreenPtr
pScreen
;
WindowExposuresProcPtr
WindowExposures
;
pScreen
=
pWin
->
drawable
.
pScreen
;
pChild
=
pWin
;
WindowExposures
=
pChild
->
drawable
.
pScreen
->
WindowExposures
;
while
(
1
)
...
...
@@ -581,12 +573,10 @@ miRecomputeExposures (
register
WindowPtr
pWin
,
void
*
value
)
/* must conform to VisitWindowProcPtr */
{
register
ScreenPtr
pScreen
;
RegionPtr
pValid
=
(
RegionPtr
)
value
;
if
(
pWin
->
valdata
)
{
pScreen
=
pWin
->
drawable
.
pScreen
;
/*
* compute exposed regions of this window
*/
...
...
@@ -1186,11 +1176,8 @@ miMarkUnrealizedWindow(pChild, pWin, fromConfigure)
void
miSegregateChildren
(
WindowPtr
pWin
,
RegionPtr
pReg
,
int
depth
)
{
ScreenPtr
pScreen
;
WindowPtr
pChild
;
pScreen
=
pWin
->
drawable
.
pScreen
;
for
(
pChild
=
pWin
->
firstChild
;
pChild
;
pChild
=
pChild
->
nextSib
)
{
if
(
pChild
->
drawable
.
depth
==
depth
)
...
...
nx-X11/programs/Xserver/render/mipict.c
View file @
89499350
...
...
@@ -129,7 +129,6 @@ miValidatePicture (PicturePtr pPicture,
Mask
mask
)
{
DrawablePtr
pDrawable
=
pPicture
->
pDrawable
;
ScreenPtr
pScreen
=
pDrawable
->
pScreen
;
if
((
mask
&
(
CPClipXOrigin
|
CPClipYOrigin
|
CPClipMask
|
CPSubwindowMode
))
||
(
pDrawable
->
serialNumber
!=
(
pPicture
->
serialNumber
&
DRAWABLE_SERIAL_BITS
)))
...
...
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