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
a7b5f5ac
Commit
a7b5f5ac
authored
Aug 27, 2005
by
Frank Richter
Committed by
Alexandre Julliard
Aug 27, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make AlphaBlend() respect the destination clipping region.
parent
8d862129
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
xrender.c
dlls/x11drv/xrender.c
+10
-0
No files found.
dlls/x11drv/xrender.c
View file @
a7b5f5ac
...
...
@@ -1432,6 +1432,7 @@ BOOL X11DRV_AlphaBlend(X11DRV_PDEVICE *devDst, INT xDst, INT yDst, INT widthDst,
int
y
,
y2
;
POINT
pts
[
2
];
BOOL
top_down
=
FALSE
;
RGNDATA
*
rgndata
;
if
(
!
X11DRV_XRender_Installed
)
{
FIXME
(
"Unable to AlphaBlend without Xrender
\n
"
);
...
...
@@ -1531,6 +1532,15 @@ BOOL X11DRV_AlphaBlend(X11DRV_PDEVICE *devDst, INT xDst, INT yDst, INT widthDst,
CPSubwindowMode
,
&
pa
);
TRACE
(
"src_pict %08lx
\n
"
,
src_pict
);
if
((
rgndata
=
X11DRV_GetRegionData
(
devDst
->
region
,
0
)))
{
pXRenderSetPictureClipRectangles
(
gdi_display
,
dst_pict
,
devDst
->
org
.
x
,
devDst
->
org
.
y
,
(
XRectangle
*
)
rgndata
->
Buffer
,
rgndata
->
rdh
.
nCount
);
HeapFree
(
GetProcessHeap
(),
0
,
rgndata
);
}
#ifdef HAVE_XRENDERSETPICTURETRANSFORM
if
(
widthDst
!=
widthSrc
||
heightDst
!=
heightSrc
)
{
double
xscale
=
widthSrc
/
(
double
)
widthDst
;
...
...
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