[PATCH xserver] miext/damage: take care of the coordinate mode in damagePolyPoint

Eric Anholt eric at anholt.net
Fri Sep 21 19:28:40 UTC 2018


Cedric Roux <sed at free.fr> writes:

> The mode (CoordModeOrigin or CoordModePrevious) was not taken into
> account when computing the box. The result was a bad drawing of
> points in some situations (on my hardware/software configuration,
> calling XDrawString followed by XDrawPoints in the mode
> CoordModePrevious).
>
> Signed-off-by: Cedric Roux <sed at free.fr>

Thanks for the fix!  I wrote up a little testsuite for damage that we
can use to test these bugs in the future and made a MR for the whole
thing:

https://gitlab.freedesktop.org/xorg/xserver/merge_requests/23
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20180921/9afadefe/attachment.sig>


More information about the xorg-devel mailing list