TexBuffer

BlitzMax Modules Forums/MiniB3D/TexBuffer

Well, doing it with Pixmaps would be slow as hell because you have to Upload the data each frame. The problem is that in standard OpenGL doesn't exist something like a Texturebuffer.

The solution would be to use extensions like I do in my extended Version. There are 2 choices, 1. FBOs and 2. pBuffer .

FBOs are easy to use but not much supported by low end Gfx cards. pBuffer are a lot more difficult to handle and I haven't tried it yet but I've got FBOs working so far. A small example for Max2D is in the codearchives (http://www.blitzbasic.com/codearcs/codearcs.php?code=2222)
I have it also for miniB3D but I don't have access to my code from where I'm currently be so I will post it later.