Beispiel #1
0
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());
    }
}
Beispiel #2
0
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...);
}
Beispiel #3
0
 lowstream &operator << ( ostream &(*__f)( ostream & ) ) {
     __f( *this );
     return( *this );
 }