Re: [AD] conserving FBOs in ttf addon

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


On Sat, 2011-02-26 at 11:04 +1100, Peter Wang wrote:
> Any objections to this?
> 

No. In fact, we probably should think of ways to automatically expire
FBOs. Right now when you write to too many bitmaps your application will
just break with OpenGL. If it's not a big slowdown simply using only one
single FBO for all al_set_target_bitmap calls might be a better idea
than what we are doing now. Otherwise maybe keep a list of let's say 8
FBOs and expire the oldest one when there's an al_set_target_bitmap call
which needs a new one.

-- 
Elias Pschernig <elias.pschernig@xxxxxxxxxx>





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