Hi Michael, On Mon, Feb 14, 2011 at 2:30 PM, Michael Platings <[email protected]> wrote: > Hi Robert, moving the class into osg::Program seems reasonable to me.
I'm just moving ProgramBinary into the Program scope. I'll check it when finished. I was tempted to name it Binary, but given that it's a wrapper around glProgramBinary I thought it preferable to just stick with the full name. Once things have compiled I check this change in. > The extension requires OpenGL 3, and the functions are part of the core of > OpenGL 4 > > ARB_get_program_binary is virtually identical to OES_get_program_binary so > it seems sensible to use the ProgramBinary class for both. Ahhh ok, as OES_get_program_binary extension exists it makes sense to use Program::ProgramBinary. However, this doesn't change the fact that GLES 2 support a binary format for shaders separate from glProgramBinary, this is what I was referring in my email that then than the OES extension. It sounds like the two approaches are independent solutions to the same problem, but not alike enough to merge. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
