Actually detect if the rendering is really direct.
svn path=/branches/work/kwin_composite/; revision=606789
This commit is contained in:
parent
f551826ae2
commit
55015eb927
1 changed files with 2 additions and 2 deletions
|
@ -189,7 +189,8 @@ SceneOpenGL::SceneOpenGL( Workspace* ws )
|
|||
glMatrixMode( GL_MODELVIEW );
|
||||
glLoadIdentity();
|
||||
checkGLError( "Init" );
|
||||
kDebug( 1212 ) << "DB:" << db << ", TFP:" << tfp_mode << ", SHM:" << shm_mode << endl;
|
||||
kDebug( 1212 ) << "DB:" << db << ", TFP:" << tfp_mode << ", SHM:" << shm_mode
|
||||
<< ", Direct:" << bool( glXIsDirect( display(), ctxbuffer )) << endl;
|
||||
}
|
||||
|
||||
SceneOpenGL::~SceneOpenGL()
|
||||
|
@ -327,7 +328,6 @@ void SceneOpenGL::initRenderingContext()
|
|||
ctxdrawable = glXCreateNewContext( display(), fbcdrawable, GLX_RGBA_TYPE, ctxbuffer,
|
||||
direct_rendering ? GL_TRUE : GL_FALSE );
|
||||
}
|
||||
kDebug( 1212 ) << "Direct rendering:" << direct_rendering << endl;
|
||||
}
|
||||
|
||||
// create destination buffer
|
||||
|
|
Loading…
Reference in a new issue