[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-commit] gnash ChangeLog backend/render_handler_agg.cpp ...
From: |
strk |
Subject: |
Re: [Gnash-commit] gnash ChangeLog backend/render_handler_agg.cpp ... |
Date: |
Mon, 5 May 2008 23:23:23 +0200 |
On Mon, May 05, 2008 at 11:59:29AM +0200, strk wrote:
> FAIL: DrawingApiTestRunner: AGG_RGB555 pix:250,180 exp:0,0,0,255
> obt:56,56,56,255 tol:16
> ([/home/strk/src/gnash/gnash-head/testsuite/misc-ming.all/DrawingApiTestRunner.cpp:147])
> FAIL: DrawingApiTestRunner: AGG_RGB555 pix:250,179 exp:255,255,255,255
> obt:184,184,184,255 tol:16
> ([/home/strk/src/gnash/gnash-head/testsuite/misc-ming.all/DrawingApiTestRunner.cpp:149])
I took a look, it's pixel checking against an horizontal hairline..
I guess what changed is that AGG is not doing pixel hinting
now (correctly).
// Over the black "hairlined" line
tester.movePointerTo(250, 180);
check(tester.isMouseOverMouseEntity());
// pixel at 250,180 is black
check_pixel(250, 180, 1, black, 2);
// pixels above and below 180 are white
check_pixel(250, 179, 1, white, 2);
check_pixel(250, 181, 1, white, 2);
Note that hitTest works fine.
--strk;