Module: wine Branch: master Commit: 125529fabecc0e7a92bd1a41078093f375955080 URL: http://source.winehq.org/git/wine.git/?a=commit;h=125529fabecc0e7a92bd1a4107...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Oct 11 15:24:15 2011 +0200
winex11: Get rid of the client-side DIB optimization in AlphaBlend.
---
dlls/winex11.drv/xrender.c | 12 +----------- 1 files changed, 1 insertions(+), 11 deletions(-)
diff --git a/dlls/winex11.drv/xrender.c b/dlls/winex11.drv/xrender.c index cb0ec9b..1986fa3 100644 --- a/dlls/winex11.drv/xrender.c +++ b/dlls/winex11.drv/xrender.c @@ -2876,18 +2876,8 @@ static BOOL xrenderdrv_AlphaBlend( PHYSDEV dst_dev, struct bitblt_coords *dst, return FALSE; }
- 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 ); + if (physdev_dst != physdev_src) X11DRV_LockDIBSection( physdev_src->x11dev, DIB_Status_GdiMod );
dst_pict = get_xrender_picture( physdev_dst, 0, &dst->visrect );