2/3 winex11: add X11DRV_XRender_SetDeviceClipping

Roderick Colenbrander thunderbird2k at gmail.com
Fri Oct 9 03:41:22 CDT 2009


Use this version instead. This one also compiled when XRender isn't around.

Roderick

On Thu, Oct 8, 2009 at 7:27 PM, Roderick Colenbrander
<thunderbird2k at gmail.com> wrote:
> 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: 4542 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091009/fd161b3d/attachment.patch>


More information about the wine-patches mailing list