Read-only archive of the Armageddon Games Forums Archive (2000–2026) · About this archive

701 & 718, slow scrolling in dialogs.

8 replies · 1,759 views · Started 07 January 2008

for example, scrolling while choosing a custom quest is incredibly slow and you can see it visibly redrawing a pixelated shadow around the edge of the whit box each time it refreshes.

Allegro's pixel-drawing method tries to lock and unlock the frame buffer before and after every pixel draw, which is excruciatingly slow. I locked the buffer myself, drew all the pixels, then unlocked the buffer myself, which solved the performance problem.