Re: winopen and Iris Performer 2.0

New Message Reply Date view Thread view Subject view Author view

Allan Schaffer (allan++at++sgi.com)
Tue, 19 Oct 1999 14:42:59 -0700 (PDT)


On Oct 19, 6:14pm, Rejean Chartrand wrote:
> I would like to know how to use winopen with Iris Performer 2.0. An
> example would be very appreciated.

I'm afraid I don't have a sample handy but plain IRIS GL windows and
Performer windows don't play together very well without a lot of
extra work, you should examine using pfPipeWindows instead. A
typical pipewindow creation callback would be something as simple
as:

void
OpenWin(pfPipeWindow *pw)
{
    pfOpenPWin(pw);
    /* set initial modes and welcome screen */
    InitGfx(pw);
}

On the broader topic: winopen() is an old IRIS GL call, you _really_
should be using the OpenGL-based Performer libraries for all new
development. Future 'major' Performer releases will be OpenGL only.

Performer 2.0 includes support for both IRIS GL and OpenGL, and this
dual-library backwards compatibility scheme has even lasted for the
four or five years since 2.0 released, and through the 2.2.x releases
-- but it's not likely to continue past 2.2.x. All of SGI's modern
systems support OpenGL natively now, and it has become the true industry
standard, so it's time to bid a fond farewell to those _igl.so's...

Allan

-- 
Allan Schaffer                                            allan++at++sgi.com
Silicon Graphics                           http://reality.sgi.com/allan

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Oct 19 1999 - 14:43:16 PDT

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