rendercheck: background should be cleared when drawing trapezoids.

Aaron Plattner aplattner at nvidia.com
Tue May 7 08:56:23 PDT 2013


On 05/02/2013 11:45 PM, Søren Sandmann wrote:
> Vikram Fugro <vfugro at nvidia.com> writes:
> 
>> Hi all,
>>
>> With the recent pixman library, trapezoid drawing on background has been fixed
>> by clearing the background (instead of retaining the color of the background).
>>
>> I have done the necessary changes in the triangles use case (in rendercheck)
>> for the "color expected" from the background.
>>
>> Attaching the patch and the snapshots for reference.
> 
> Reviewed-by: Søren Sandmann <ssp at redhat.com>
> 
> See also
> 
>      http://lists.freedesktop.org/archives/pixman/2013-April/002755.html
> 
> for some rationale for the change in pixman.
> 
> 
> Søren

Verified against Xvfb:

$ diff -u old new | diffstat
 new |23386 --------------------------------------------------------------------
 1 file changed, 83 insertions(+), 23303 deletions(-)
$ diff -u old new | tail -n 3
-900 tests passed of 1710 total
+1170 tests passed of 1710 total
 Successful Groups:

Pushed to git.freedesktop.org:/git/xorg/app/rendercheck
   313a968..b015a64  master -> master

-- 
Aaron


More information about the xorg-devel mailing list