Hi Sverre, On 18 November 2014 12:37, Sverre Aleksandersen < [email protected]> wrote:
> I've added support for SSBO, but haven't finished glMemoryBarrier yet. > > I've looked at this ( > https://github.com/openscenegraph/osg/commit/160a7a5c674615a4119b6022e31d7e4cdcb84f7e) > commit which added support for compute shaders. > I don't really understand why the functionality is so split between > GL2Extensions and Texture. Why not add the new tokens and BindImageTexture > to GL2Extensions instead of Texture? > The reason I'm conflicted is that I'm not sure if I should add > MemoryBarrier to GL2Extensions, or if it should be placed in another > location. > Differences like this are down to history and a bit of differences in coding approach used by different major contributors. Support for extensions is an area that could do with a refactor, but this will have to wait as I have plenty other tasks to tackle. In the case of MemoryBarrier it probably would fit best with GL2Extensions. The enum's will belong in the headers most relevant to the features associated with the enum's, so likely the BuffeObject header. Any advice or guidance would be greatly appreciated, > Any advice? For good long term health exercise at 20minutes a day - even 20 minutes of walking will do :-) Robert.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

