Re: Performer and OSF/Motif

New Message Reply Date view Thread view Subject view Author view

Sharon Fischler (srf++at++rose)
Sun, 9 Jan 1994 18:49:11 -0800


+>---- On Jan 7, 6:48pm, james covington wrote:
> Subject: Performer and OSF/Motif
->I have reviewed Wade Olsen's sample program which shows how to run Performer
->inside a Motif application. However when I tried to modify a larger existing
->Performer application (one which used the standard winopen() call in the
->pfInitfunc) to run in this manner, I received GL error #114 (ERR_NOGRAPHICS)
->when I called the GLXlink function. Can you help explain what causes error
->#114, and what I could possibly do to avoid it?

Are you sure that you get this error from GLXlink or did it come from
code initializing the GL window?
Anyway, you do want to be sure to call pfInitGLXGfx() instead of
pfInitGfx() since you are doing a GLX window.

Wade can comment on hints for adapting his code.

However, Performer does support running a program under GLX.
There are a couple of sample programs that demonstrate this in
        /usr/src/Performer/src/pguide/libpf/progs

                complex-glx.c - a most minimal roll-your-own glx example

                utilui.c - uses utilities in libpfutil for setting up
                        a GLX window and also for doing X input handling
                        asynchronously in a separate process.

        You can also look at /usr/src/Performer/src/lib/libpfutil/xwin.c
                to see how we set up GLX windows and call GLXlink.\
                Look at the routine pfuGLXCreateWindow().

        for even more glx exapmles, you can look in
                /usr/people/4Dgifts/examples/GLX/{gl-Xlib,glxwidget}

srf.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sharon Rose Fischler - Silicon Graphics, Advanced Graphics Development
srf++at++sgi.com  (415) 390 - 1002  FAX: (415) 965 - 2658  MS 7L-590
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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:50:08 PDT

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