babbleberry/rpi4-osdev

Improve framebuffer drawing -- dual buffering or other technique?

zuber99 opened this issue · 1 comments

I notice when i draw images that are quite large, take a long time in drawing all pixels.
Is there a way to improve this? I looked up into dual buffering technique but still not sure how to do that.

Otherwise what would allow best to draw images without lag or a sliding scanner?

Have you looked into part12 at all? The WGT code I ported has some good tricks to speed up graphics to the extent that you can make a playable game.

If that's not fast enough, let me know exactly what you're trying to achieve and I'll try to advise you.

Thanks,
Adam