Fwd: Re: [AD] About the speed of flat polygon primitives

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Forwarded on behalf of Peter Wang. ;)

Subject: Re: [AD] About the speed of flat polygon primitives
Date: Sat, 29 Sep 2001 13:30:29 +1000
From: Peter Wang <tjaden@xxxxxxxxxx>
To: Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx>

On 28 Sep 2001, Thomas Fjellstrom <tfjellstrom@xxxxxxxxxx> wrote:
> DGA2 ./misc/cmplog.pl noaccel.log accel.log
>
> DRAW_MODE_SOLID results:
>
>         putpixel()                       = 98%
>         hline()                          = 41%
>         vline()                          = 82%
>         line()                           = 13%
>         rectfill()                       = 414%
>         circle()                         = 21%
>         circlefill()                     = 17%
>         ellipse()                        = 25%
>         ellipsefill()                    = 15%
>         arc()                            = 17%
>         triangle()                       = 14%

DGA2, 800x600 16 bpp.  I get similar results to Tom.

$ ./misc/cmplog.pl tests/noaccel.log tests/accel.log

DRAW_MODE_SOLID results:

	putpixel()                       = 96%
	hline()                          = 41%
	vline()                          = 69%
	line()                           = 16%
	rectfill()                       = 273%
	circle()                         = 21%
	circlefill()                     = 22%
	ellipse()                        = 28%
	ellipsefill()                    = 20%
	arc()                            = 20%
	triangle()                       = 18%

-------------------------------------------------------

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx
http://strangesoft.net



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/