games
pages
posts

iconallegro 5 faq

How fast is al_draw_bitmap?
If you are using Allegro 5 and the OpenGL driver, you can see everything al_draw_bitmap does here and here and here. There first part applies the current transformation to the coordinates and does some other checks. The next one sets up blending and creates vertices with texture coordinates. The third one finally sends all data to OpenGL and calls glDrawArrays.