Re: [AD] al_put/draw_pixel() speed |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: "Coordination of admins/developers of the game programming library Allegro" <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] al_put/draw_pixel() speed
- From: Matthew Leverton <meffer@xxxxxxxxxx>
- Date: Sat, 8 Aug 2009 15:39:26 -0500
I trimmed my program to a 200x32 video bitmap that gets drawn via the
al_draw* primitives. It is then blitted to 600x400 video bitmap. That
bitmap is drawn to the backbuffer (640x480). Repeat, as fast as it can
go.
40 FPS D3D
5 FPS OpenGL
Out of desperation, I tried setting ALLEGRO_NO_PRESERVE_TEXTURE.
Manual: "This can lead to speed improvements in your program."
380 FPS D3D
5 FPS OpenGL
--
Matthew Leverton