static void gl_init(void * unused) { if (verbose) printf("Creating GL context\n"); glc = glcontext_X11_create(); checkVersions(); // check version after we got a gl context vx_global_register_destroy(gl_destroy, NULL); }
void _check( const string& ns ) { { // We want to report ns stats too scoped_spinlock lock( _lock ); if ( ns.size() == 0 || _seenNS.count( ns ) ) return; _seenNS.insert( ns ); } checkVersions( ns ); }
void _check( const string& ns ) { if ( ns.size() == 0 || _seenNS.count( ns ) ) return; _seenNS.insert( ns ); checkVersions( ns ); }