Can't get single buffer window on iR

New Message Reply Date view Thread view Subject view Author view

Mario Veraart (rioj7++at++fel.tno.nl)
Thu, 5 Mar 1998 18:18:27 +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.
My application would be a lot complexer if I have to use doubled
buffered.

Is it possible to open a single buffer window on iR?

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();

The OpenPipeWin function only calls pw->open() and checks what the
settings of the window are.

On a Maximum Impact it all runs fine.
I use Performer 2.1.

Some info about the hardware of the iR

FPU: MIPS R10010 Floating Point Chip Revision: 0.0
CPU: MIPS R10000 Processor Chip Revision: 2.6
4 195 MHZ IP27 Processors
Main memory size: 256 Mbytes
Instruction cache size: 32 Kbytes
Data cache size: 32 Kbytes
Graphics board: InfiniteReality2

gfxinfo gives

Graphics board 0 is "KONAL" graphics.
        Managed (":0.0") 1280x1024
        Display has 8 channels
        4 GEs (of 4), occmask = 0x0f
        4MB external BEF ram, 32bit path
        2 RM7 boards (of 2) 1/1/0/0
        Texture Memory: 16MB/16MB/-/-
        Large pixel depth
        32K cmap, 64K external gamma
        Channel 0:
         Origin = (0,0)
         Video Output: 1280 pixels, 1024 lines, 60.00Hz (1280x1024_60.vfo)

Mario Veraart.
=======================================================================
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.