2/3 winex11: add X11DRV_XRender_SetDeviceClipping

Roderick Colenbrander thunderbird2k at gmail.com
Thu Oct 8 12:27:24 CDT 2009


Hi,

The last couple of XRender patches focus on reusing XRender pictures.
When using a cached picture the clipping region might change. For this
add a new helper function to update the XRender clipping region when
the clipping region changes. Since X11DRV_SetDeviceClipping (which
calls X11DRV_XRender_SetDeviceClipping) can get called before xrender
is used, also set the clipping region during when a picture is
allocated. I could also let X11DRV_SetDeviceClipping call xrender all
the time to set xrender up but we might not always use xrender, so
this way it is only set when really needed.

Regards,
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-X11DRV_XRender_SetDeviceClippings-for-setting-th.patch
Type: text/x-diff
Size: 4253 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091008/2220f857/attachment.patch>


More information about the wine-patches mailing list