[AD] reusing FBOs

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]

I was re-figuring out how FBOs work.  As I understand it, if you are
targetting many bitmaps, it would be faster if we use a single FBO and
just change the colour attachment, as long as the size and format don't

So a future optimisation would be to cache FBOs for size+format
combinations for reuse.  I don't think any API changes are required
(al_remove_opengl_fbo would decrement a reference count rather than
immediately removing the FBO).


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/