Re: [AD] Refactoring OpenGL bitmap locking

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


On Sun, 22 Apr 2012 23:46:30 +1000
Peter Wang <novalazy@xxxxxxxxxx> wrote:

> Hi,
> 
> I didn't want to step on any toes so I thought I'd ask before
> committing this patch.
> 
> BTW, with this patch all the tests pass again with or without FBOs,
> except for the indexed bitmap tests.  The images are now shades of red
> due to r15529.  I'm not sure if the tests should be adjusted or what.
> 

I only was avoiding GL_LUMINANCE because we don't have it in an
ALLEGRO_OPENGL_3_0 | ALLEGRO_OPENGL_FORWARD_COMPATIBLE (not sure why
that are two different flags) context. I don't know how important that
forward compatible flag is though. I guess certain extensions won't be
available without it.

Speaking of extensions, I'm somewhat torn between writing a script
which updates our extensions code from the specs at opengl.org and
incorporating something like GLEW instead (or GLee or any of the
others) who already wrote those scripts for us. All of them seem to be
somewhat messy :P




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