On 28. Jan 2008, at 15:41, Gordon_Erlebacher wrote: > I searched all files in eqPly for glewGetContext() and did not find > it.
In the current version it's in vertexBufferLeaf.cpp:120: #define glewGetContext state.glewGetContext The VertexBufferState gets it from the window during init, and has its function in vertexBufferState.h:48. > When using Equalizer, how do I know for sure that I am in global or > thread-local memory? By default you are using global memory. There is the eqBase::PerThread template, which allows you to store thread-specific data, but this is used sparsely and normally not visible to the application. > If I am only using one pipe, I should be in a single context > environment, correct? Almost correct. ;) If you are using a one-window configuration, you have a single context. Even better, use a non-threaded pipe for that window, so you are running (almost) from a single thread. > Therefore, I should be able > to use FBOs without restriction, as if I was programming without > Equalizer. Is this true? Yes, _if_ you are calling your functions from the pipe's thread after the Window has initialized the GL context, e.g.., in all Window and Channel frameSomething task methods. HTH, Stefan. _______________________________________________ eq-dev mailing list [email protected] https://in-zueri.ch/cgi-bin/mailman/listinfo/eq-dev http://www.equalizergraphics.com

