Top posting bonanza!

>From what I gather, to get hardware accelerated scaling of bitmaps, it
seems we would have to go all the way to OpenGL. But if we abstracted
graphics sprites a bit more, it would probably still be much much
faster to use SDL's (and fbgfx's?) software blitting.

It should only take a couple minutes to improve the slow loops inside
gfx_showpage and drawohr significantly (why hasn't anyone bothered?
The comments even mention what's wrong). As for sprite_draw... well,
amazingly
        spix = (int((ty-syfrom) / scale) * .w) + int((tx-sxfrom) / scale)
translates into only 43 instructions! And an example of the mess -exx causes:
        sptr[pix] = pal->col(.image[spix])
also in the same inner loop, generates 3 calls to [EMAIL PROTECTED]
and one to [EMAIL PROTECTED]

On Sun, Feb 24, 2008 at 2:29 AM, Simon Bradley <[EMAIL PROTECTED]> wrote:
> Yes, but the fact that the graphics are entirely rendered in software
>  doesn't leave as much CPU time for the script interpreter.
>
>
>
>  On Sat, Feb 23, 2008 at 6:59 AM, S'orlok Reaves <[EMAIL PROTECTED]> wrote:
>  >
>  >
>  >  Other people might be better informed on this one, but
>  >  I'd expect that the graphics card doesn't have a lot
>  >  to say about the script interpreter.
>  >
>  >  -->Seth
>  >
>  >
>  >
>  >  > How much of that is this option, and how much of
>  >  > that is the fact that
>  >  > the OHR is not letting the CPU offload any help to
>  >  > the graphics
>  >  > card/MMX?
>  >
>  >
>  >
>  >
>  >       
> ____________________________________________________________________________________
>  >  Be a better friend, newshound, and
>  >  know-it-all with Yahoo! Mobile.  Try it now.  
> http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
>  >
>  >
>  >
>  >  _______________________________________________
>  >  Ohrrpgce mailing list
>  >  [email protected]
>  >  http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>  >
>  _______________________________________________
>  Ohrrpgce mailing list
>  [email protected]
>  http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to