Beispiel #1
0
bool Window::configInitSystemWindow( const eq::uint128_t& initID )
{
#ifndef Darwin
    if( !eq::Window::configInitSystemWindow( initID ))
        return false;

    // OpenGL version is less than 2.0.
    if( !GLEW_EXT_framebuffer_object )
    {
        if( getDrawableConfig().accumBits )
            return true;

        configExitSystemWindow();
#endif
        // try with 64 bit accum buffer
        setIAttribute( eq::WindowSettings::IATTR_PLANES_ACCUM, 16 );
        if( eq::Window::configInitSystemWindow( initID ))
            return true;

        // no anti-aliasing possible
        setIAttribute( eq::WindowSettings::IATTR_PLANES_ACCUM, eq::AUTO );
        return eq::Window::configInitSystemWindow( initID );

#ifndef Darwin
    }
    return true;
#endif
}
Beispiel #2
0
//----------------------------------------------------------------------
// configExit
//----------------------------------------------------------------------
bool Window::configExit()
{
    if( !_systemWindow )
        return true;

    const bool ret = configExitGL();
    return configExitSystemWindow() && ret;
}
Beispiel #3
0
//----------------------------------------------------------------------
// configExit
//----------------------------------------------------------------------
bool Window::configExit()
{
    const bool ret = configExitGL();
    return configExitSystemWindow() && ret;
}