Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
0baa4e0b
Commit
0baa4e0b
authored
24 years ago
by
Alexandre Julliard
Browse files
Options
Downloads
Patches
Plain Diff
Removed unnecessary calls to CLIPPING_UpdateGCRegion. Fixed PatBlt to
use DC_GetDCUpdate.
parent
2e765e00
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
graphics/bitblt.c
+1
-1
1 addition, 1 deletion
graphics/bitblt.c
graphics/x11drv/bitblt.c
+0
-8
0 additions, 8 deletions
graphics/x11drv/bitblt.c
with
1 addition
and
9 deletions
graphics/bitblt.c
+
1
−
1
View file @
0baa4e0b
...
...
@@ -26,7 +26,7 @@ BOOL16 WINAPI PatBlt16( HDC16 hdc, INT16 left, INT16 top,
BOOL
WINAPI
PatBlt
(
HDC
hdc
,
INT
left
,
INT
top
,
INT
width
,
INT
height
,
DWORD
rop
)
{
DC
*
dc
=
DC_GetDC
Ptr
(
hdc
);
DC
*
dc
=
DC_GetDC
Update
(
hdc
);
BOOL
bRet
=
FALSE
;
if
(
!
dc
)
return
FALSE
;
...
...
This diff is collapsed.
Click to expand it.
graphics/x11drv/bitblt.c
+
0
−
8
View file @
0baa4e0b
...
...
@@ -1471,8 +1471,6 @@ 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
);
...
...
@@ -1507,9 +1505,6 @@ 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
);
...
...
@@ -1544,9 +1539,6 @@ 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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment