void GLBitmapWork::onFinish() { GLAutoLock _l(mLock); /*Read result back from texture*/ assert(NULL!=mDst.get()); if (NULL!=mDstT.get()) { GLAutoFbo __f(*mDstT); mDstT->download(mDst->pixels()); } }
void __f(const char* names, Arg1&& arg1, Args&&... args) { const char *comma = strchr(names + 1, ','); std::cerr.write(names, comma - names) << ": " << arg1 << " |"; __f(comma + 1, args...); }
lowstream &operator << ( ostream &(*__f)( ostream & ) ) { __f( *this ); return( *this ); }