Re: [AD] minor issues

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


aj wrote:
if memory bitmaps are to be made solid (zero extra bytes to make pitch 4 or 8 byte boundarys) than SSE1,2,3 code will be far more difficult.

Most memory bitmap sizes are probably 4/8-byte aligned already. A simple check (which would evaluate true in most cases) would be fine there. Also all 32-bit bitmaps would implicitly be on a 4-byte boundary.

is there any reason to be concerned with using a few extra bytes per line to achieve 4 or 8 byte boundarys.

Yes, IMO, because too much existing code relies on memory bitmaps to be "solid" with no breaks. Though again, system and video bitmaps are a different story.




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