Re: [AD] SF.net SVN: alleg:[11840] allegro/branches/4.9

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


On Fri March 13 2009, tjaden@xxxxxxxxxx wrote:
> Revision: 11840
> http://alleg.svn.sourceforge.net/alleg/?rev=11840&view=rev
> Author: tjaden
> Date: 2009-03-14 04:31:51 +0000 (Sat, 14 Mar 2009)
>
> Log Message:
> -----------
> Optimise _al_draw_bitmap_region_memory() by avoiding multiple function
> calls in the inner loop. I think the bottleneck now is the conversions
> from ints to floats. (Maybe we should be blending with fixed point
> integers?)
>
> Use a lookup table for al_map_rgba(). Mark _rgb_scale_* tables as const.
>
> Add the simple benchmark program I used.
>
> Mark d3d_draw_pixel() static.
>


Looks like something here has helped ex_prim in software mode too. Used to run at 4fps on my Q6600 w 4G ram and a NV 8800GTS. It now runs at 12fps with blending. Without blending its back up to 60fps, same as hardware \o/


I call that a win. Before I couldn't tell what speed it was at without blending as it would blank the screen of most things... I think if its possible to work on blending some more, that would rock.


fwiw, I get "Time = 2.88472 s, FPS = 103.996" from ex_blend_bench.


--
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx



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