Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b96c6e2b
Commit
b96c6e2b
authored
Feb 13, 2000
by
James Abbatiello
Committed by
Alexandre Julliard
Feb 13, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved CLIPPING_UpdateGCClipping call outside of the X11 section.
parent
717bf7e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
bitblt.c
graphics/x11drv/bitblt.c
+10
-3
No files found.
graphics/x11drv/bitblt.c
View file @
b96c6e2b
...
...
@@ -1133,9 +1133,6 @@ static BOOL BITBLT_InternalStretchBlt( DC *dcDst, INT xDst, INT yDst,
useDst
=
(((
rop
>>
1
)
&
0x550000
)
!=
(
rop
&
0x550000
));
if
(
!
dcSrc
&&
useSrc
)
return
FALSE
;
if
(
dcDst
->
w
.
flags
&
DC_DIRTY
)
CLIPPING_UpdateGCRegion
(
dcDst
);
if
(
dcSrc
&&
(
dcSrc
->
w
.
flags
&
DC_DIRTY
))
CLIPPING_UpdateGCRegion
(
dcSrc
);
/* Map the coordinates to device coords */
xDst
=
dcDst
->
w
.
DCOrgX
+
XLPTODP
(
dcDst
,
xDst
);
...
...
@@ -1423,6 +1420,8 @@ BOOL X11DRV_PatBlt( DC *dc, INT left, INT top,
params
.
heightSrc
=
0
;
params
.
rop
=
rop
;
if
(
dc
->
w
.
flags
&
DC_DIRTY
)
CLIPPING_UpdateGCRegion
(
dc
);
X11DRV_DIB_UpdateDIBSection
(
dc
,
FALSE
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
result
=
(
BOOL
)
CALL_LARGE_STACK
(
BITBLT_DoStretchBlt
,
&
params
);
...
...
@@ -1456,6 +1455,10 @@ BOOL X11DRV_BitBlt( DC *dcDst, INT xDst, INT yDst,
X11DRV_DIB_UpdateDIBSection
(
dcDst
,
FALSE
);
X11DRV_DIB_UpdateDIBSection
(
dcSrc
,
FALSE
);
if
(
dcDst
->
w
.
flags
&
DC_DIRTY
)
CLIPPING_UpdateGCRegion
(
dcDst
);
if
(
dcSrc
&&
(
dcSrc
->
w
.
flags
&
DC_DIRTY
))
CLIPPING_UpdateGCRegion
(
dcSrc
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
result
=
(
BOOL
)
CALL_LARGE_STACK
(
BITBLT_DoStretchBlt
,
&
params
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
...
...
@@ -1489,6 +1492,10 @@ BOOL X11DRV_StretchBlt( DC *dcDst, INT xDst, INT yDst,
X11DRV_DIB_UpdateDIBSection
(
dcDst
,
FALSE
);
X11DRV_DIB_UpdateDIBSection
(
dcSrc
,
FALSE
);
if
(
dcDst
->
w
.
flags
&
DC_DIRTY
)
CLIPPING_UpdateGCRegion
(
dcDst
);
if
(
dcSrc
&&
(
dcSrc
->
w
.
flags
&
DC_DIRTY
))
CLIPPING_UpdateGCRegion
(
dcSrc
);
EnterCriticalSection
(
&
X11DRV_CritSection
);
result
=
(
BOOL
)
CALL_LARGE_STACK
(
BITBLT_DoStretchBlt
,
&
params
);
LeaveCriticalSection
(
&
X11DRV_CritSection
);
...
...
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