[AD] [ alleg-Bugs-2954858 ] Limit number of FBOs in use at a time |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: noreply@xxxxxxxxxx
- Subject: [AD] [ alleg-Bugs-2954858 ] Limit number of FBOs in use at a time
- From: "SourceForge.net" <noreply@xxxxxxxxxx>
- Date: Fri, 19 Feb 2010 09:52:25 +0000
Bugs item #2954858, was opened at 2010-02-19 09:52
Message generated for change (Tracker Item Submitted) made by elias
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2954858&group_id=5665
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 1
Private: No
Submitted By: Elias Pschernig (elias)
Assigned to: Nobody/Anonymous (nobody)
Summary: Limit number of FBOs in use at a time
Initial Comment:
With OpenGL, each time al_set_target_bitmap() is called on a video bitmap we automatically create an FBO for drawing into it. However it seems some OpenGL drivers have a limit on the number of FBOs allowed at a time. This means when you load 1000ds of textures at the start and all al_set_target_bitmap() on each to for example do some small conversion, it will inexplicably fail with such drivers. For now http://docs.liballeg.org/opengl.html#al_remove_opengl_fbo can be used to fix this (like in my personal code), but a better solution might be to simply limit the number of FBOs to a sane value, maybe 50, and after that start re-using them.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105665&aid=2954858&group_id=5665