RE: [AD] Changes to aWiki

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


On Mon, 2006-02-20 at 14:40 -0800, Robert Ohannessian wrote:
> > - allow to update those bitmaps, also with OpenGL
> > 
> > So, my assupmtion was, "pbuffers" is what we need. Is there something
> > else? 
> 
> Yes! This is what FBOs are for.
> http://oss.sgi.com/projects/ogl-sample/registry/EXT/framebuffer_object.txt
> 

Thanks, yes, this looks nice, just what we need :) I only had snapped up
"pbuffers" somewhere in allegro.cc and googled for it, and it seemed
useful..

> 
> > But the current AllegroGL way of doing the operation on a memory
> bitmap,
> > then re-uploading a texture, really is bad. So if it is at all
> possible
> > to do it in an OpenGL way, we should try to put that in.
> 
> 
> I totally agree, but FBOs (nor pbuffers) are available everywhere. So we
> do need to have a codepath for the case where we need to draw into a
> memory bitmap and reupload a texture.

True. Basically, the OpenGL driver will be like AllegroGL there. Well,
it *will be* AllegroGL :)

-- 
Elias Pschernig





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