http://bugs.winehq.org/show_bug.cgi?id=17840
Summary: AlphaBlend function in msimg32.dll is not forwarded to gdi32.dll Product: Wine Version: 1.1.17 Platform: All OS/Version: All Status: UNCONFIRMED Severity: minor Priority: P2 Component: gdi32 AssignedTo: wine-bugs@winehq.org ReportedBy: damian.dixon@gmail.com
AlphaBlend function in msimg32.dll is not forwarded to GdiAlphaBlend in gdi32.dll.
This stops programs which use AlphaBlend from displaying alpha blended drawing.
There used to be a very simple implementation of AlphaBlend in msimg32.dll however that was removed when the GdiAlphaBlend method was implemented in what appears to be a correct fashion.
http://bugs.winehq.org/show_bug.cgi?id=17840
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED OS/Version|All |other Platform|All |Other Resolution| |INVALID
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2009-03-24 11:07:32 --- And what tells you that it's not forwarded? Content of the msimg32.spec file:
@ stdcall AlphaBlend(long long long long long long long long long long long) gdi32.GdiAlphaBlend @ stdcall -private DllInitialize(long long ptr) DllMain @ stdcall GradientFill(long ptr long ptr long long) gdi32.GdiGradientFill @ stdcall TransparentBlt(long long long long long long long long long long long) gdi32.GdiTransparentBlt @ stdcall vSetDdrawflag()
Closing invalid. As you may see they _are_ forwarded.
http://bugs.winehq.org/show_bug.cgi?id=17840
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Component|gdi32 |-unknown
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2009-03-25 05:03:52 --- Closing invalid.
http://bugs.winehq.org/show_bug.cgi?id=17840
--- Comment #3 from Damian Dixon damian.dixon@gmail.com 2009-03-26 16:24:34 --- I have a program that runs under windows that calls AlphaBlend.
The program loads the msimg.dll and looks for the AlphaBlend function.
On Wine it is not finding the method and thus not displaying the imagery correctly.
Any suggestions on how to double check if this call is or is not being forwarded?
http://bugs.winehq.org/show_bug.cgi?id=17840
--- Comment #4 from Damian Dixon damian.dixon@gmail.com 2009-03-27 01:17:43 --- After some thought...
The real issue is AlphaBlend/GdiAlphaBlend is not work as I would expect it too.
I have downloaded the latest source and will trace the calls.
I will also create a small windows exe that demonstrates the behaviour I am expecting on windows.
http://bugs.winehq.org/show_bug.cgi?id=17840
--- Comment #5 from Damian Dixon damian.dixon@gmail.com 2009-03-27 03:12:53 --- The problem I have is the following:
fixme:xrender:X11DRV_AlphaBlend not a dibsection.
Which had been lost in the noise :<
I will have a look to see what is missing to see if I can knock together something that works for the case I need.
Luckly I have the equivalent code running allready on X11, just not the application I need...
http://bugs.winehq.org/show_bug.cgi?id=17840
--- Comment #6 from Damian Dixon damian.dixon@gmail.com 2009-03-27 04:12:29 --- It's not as simple as I hoped it would be. I may try to fix something a little bit more simple first.