Re: Can't get single buffer window on iR (solved)

New Message Reply Date view Thread view Subject view Author view

Mario Veraart (rioj7++at++fel.tno.nl)
Thu, 5 Mar 1998 18:57:48 +0100 (MET)


>
> Hello,
>
> I want to open a single buffer window with at least one stencil bit on
> an iR system. It always gives me a double buffered window.
>
> I use the following code to configure the window
>
> pfPipeWindow *pw = new pfPipeWindow(p);
> pw->setWinType(PFPWIN_TYPE_X);
> pw->setMode(PFWIN_NOBORDER, TRUE);
> pw->setOriginSize(0,0,sizeX,sizeY);
> pw->setConfigFunc(OpenPipeWin);
>
> static int FBAttrs[] = {
> PFFB_RGBA,
> PFFB_DEPTH_SIZE, 24,
> PFFB_RED_SIZE, 8,
> PFFB_STENCIL_SIZE, 1,
> NULL,
> };
> pw->setFBConfigAttrs(FBAttrs);
> pw->config();

I just read a mail of Rob Jenkins that makes a mension of the command
'findvis'. I tried to locate singled buffered visuals on my machine
and it turned out that they have Z-buffer size of 23 or 15. And
reading the man page of glXChooseVisual showed that I was making an
impossible request. So changing to Z size 23 bits was the solution.

Mario
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:59 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.