FBO windows broken in recent revisions?

3 messages Options
Embed this post
Permalink
m0bl0

FBO windows broken in recent revisions?

Reply Threaded More More options
Print post
Permalink
Hello,

windows with FBO drawable seem to be broken in recent revisions; this is the (first) error message that I get:
Got GL_INVALID_OPERATION before makeCurrent( ) in ..\lib\client\wglWindow.cpp:266

This worked fine in r3459, but is broken since r3467 (after the OSWindow<->GLWindow split).

Tested on WinXP and Win7, both x64.

To reproduce, start eqPly with the following config:
(removing the "device n" lines or using a comparable two-node config gives the same result)

#Equalizer 1.0 ascii

server
{
    config
    {
        appNode
        {
            pipe
            {
                device 0
                window
                {
                    viewport [ .25 .25 .5 .5 ]
                    channel { name "channel1" }
                }
            }
            pipe
            {
                device 1
                window
                {
                    attributes
                    {
                        hint_drawable FBO
                        planes_color  RGBA16F
                        planes_depth  ON
                    }
                    channel { name "channel2" }
                }
            }
        }
        compound
        {
            channel "channel1"
            wall
            {
                bottom_left  [ -.32 -.20 -.75 ]
                bottom_right [  .32 -.20 -.75 ]
                top_left     [ -.32  .20 -.75 ]
            }
           
            compound
            {
                viewport [ 0 0 1 .5 ]
            }
            compound
            {
                channel "channel2"
                viewport [ 0 .5 1 .5 ]
                outputframe {}
            }
            inputframe { name "frame.channel2" }
        }
    }    
}


Cheers,
Marc
Stefan Eilemann

Re: [eq-dev] FBO windows broken in recent revisions?

Reply Threaded More More options
Print post
Permalink

On 20. Oct 2009, at 16:18, m0bl0 [via Software] wrote:

> windows with FBO drawable seem to be broken in recent revisions;  
> this is the (first) error message that I get:

We've fixed this (see related bug).


Best,

Stefan.

m0bl0

Re: [eq-dev] FBO windows broken in recent revisions?

Reply Threaded More More options
Print post
Permalink
Stefan Eilemann wrote:
We've fixed this (see related bug).
Almost, one remaining bug is that getFrameBufferObject is non-const in OSWindow, but the supposed override in GLWindow is const. (Though this only causes harmless(?) GL_INVALID_ENUMs on a glDrawBuffer call in channel.cpp). This can be fixed by adding the const back on OSWindow::getFrameBufferObject, like it was until r3459.

Cheers,
Marc