コード例 #1
0
ファイル: GLBitmapWork.cpp プロジェクト: jxt1234/Simple3D
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());
    }
}
コード例 #2
0
ファイル: trace_macro.cpp プロジェクト: arton0306/Configure
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...);
}
コード例 #3
0
ファイル: opfx.cpp プロジェクト: ABratovic/open-watcom-v2
 lowstream &operator << ( ostream &(*__f)( ostream & ) ) {
     __f( *this );
     return( *this );
 }