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
ff2805ca
Commit
ff2805ca
authored
Sep 21, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Forward AlphaBlend with a DIB section as source to the null driver.
parent
094d9fe4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
xrender.c
dlls/winex11.drv/xrender.c
+11
-1
No files found.
dlls/winex11.drv/xrender.c
View file @
ff2805ca
...
...
@@ -2856,7 +2856,17 @@ static BOOL xrenderdrv_AlphaBlend( PHYSDEV dst_dev, struct bitblt_coords *dst,
return
dst_dev
->
funcs
->
pAlphaBlend
(
dst_dev
,
dst
,
src_dev
,
src
,
blendfn
);
}
if
(
physdev_src
!=
physdev_dst
)
X11DRV_LockDIBSection
(
physdev_src
->
x11dev
,
DIB_Status_GdiMod
);
if
(
physdev_dst
!=
physdev_src
)
{
int
status
=
X11DRV_LockDIBSection
(
physdev_src
->
x11dev
,
DIB_Status_None
);
if
(
status
==
DIB_Status_AppMod
||
status
==
DIB_Status_InSync
)
{
X11DRV_UnlockDIBSection
(
physdev_src
->
x11dev
,
FALSE
);
dst_dev
=
GET_NEXT_PHYSDEV
(
dst_dev
,
pAlphaBlend
);
return
dst_dev
->
funcs
->
pAlphaBlend
(
dst_dev
,
dst
,
src_dev
,
src
,
blendfn
);
}
X11DRV_CoerceDIBSection
(
physdev_src
->
x11dev
,
DIB_Status_GdiMod
);
}
X11DRV_LockDIBSection
(
physdev_dst
->
x11dev
,
DIB_Status_GdiMod
);
dst_pict
=
get_xrender_picture
(
physdev_dst
,
0
,
&
dst
->
visrect
);
...
...
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