RE: [AD] minor issues

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


> Yes, this can be improved. I'm don't we should though.

Yes, this can be improved. I don't we should though. At least, not right
away.



-----Original Message-----
From: alleg-developers-admin@xxxxxxxxxx
[mailto:alleg-developers-admin@xxxxxxxxxx] On Behalf Of
Robert Ohannessian
Sent: Friday, January 28, 2005 3:28 PM
To: alleg-developers@xxxxxxxxxx
Subject: RE: [AD] minor issues

Yes, this can be improved. I'm don't we should though.

Changing the vtable for some of the more common cases is the better
idea. We can start by using memcpy() for those cases, and then later on
add assembly versions.

Better we do this as a multi-step process.


-----Original Message-----
From: alleg-developers-admin@xxxxxxxxxx
[mailto:alleg-developers-admin@xxxxxxxxxx] On Behalf Of Evert
Glebbeek
Sent: Friday, January 28, 2005 1:45 AM
To: alleg-developers@xxxxxxxxxx
Subject: RE: [AD] minor issues

> Our blit loop and clear loop overhead is horrible: Each iteration
takes
> up dozens of cycles to set itself up, not counting the virtual
function
> call in to set up the line pointers for video bitmaps (which, btw,
> happens once per scanline).

Can this be improved (I assume so, based on what you say)? If so, any
chance that you can lend a hand here, or provide some help to others?
I'm afraid my own asm skills are fairly rusty, not to mention almost a
decade out of date.

> My vote is to:
>
> - special case memory bitmaps and use a much simpler assembly code, or
> even memset/memcpy
> - special case the non-VESA-or-MOdeX video bitmaps to lock the whole
> region at a time and save that indirect function call.

Sounds good, and shouln't be too hard to do I suppose (change the
bitmap's
vtable, or am I now thinking too naively?)

Evert


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
-- 
https://lists.sourceforge.net/lists/listinfo/alleg-developers


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
--
https://lists.sourceforge.net/lists/listinfo/alleg-developers




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