Re: [AD] al_put/draw_pixel() speed

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


> My understanding always was this:
> 
> al_draw_pixel:
> 
> * normal drawing function like al_draw_line and so on
> * always accelerated
> * illegal to use on locked bitmaps

How do you do blending on locked bitmaps then? This must be possible for the primitive addon to work, otherwise it will need to implement al_draw_pixel that is allowed on locked bitmaps. Moreover, some people (Trent G. iirc) reported that locking the bitmap before calling a lot of al_draw_pixels was more efficient than not locking and using the hardware accelerated al_draw_pixel.

-SiegeLord

> Elias Pschernig <elias@xxxxxxxxxx>


      




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