Re: Using 2 glxMDrawWidget at the same time.

New Message Reply Date view Thread view Subject view Author view

Rob Jenkins (robj++at++quid)
Mon, 7 Jul 1997 10:46:46 -0700


The previous responses to this may have done the trick but if you're talking
about Performer PipeWindows ( using OpenGL ) then I've seen exactly this
problem and all that was needed was a missing call to pfpipewindow::addChan for
both pipewins and channels. The bones of the code would be ( detail ommitted ):

foreach window
{
  XtAppCreateShell
  visual = pfChooseFBConfigData
  make a motif drawing area and context
  make a pfPipeWindow
  pfPipeWindow::setWSDrawable and setGLCxt to that of the motif area
  pfpipewindow::addChan
}

If you have the problem I saw then you would have all this except the addChan.

Cheers
Rob

On Jul 2, 2:19pm, Frank Dea wrote:
> Subject: Using 2 glxMDrawWidget at the same time.
>
> We have written a Motif application that contains an OpenGL window
> (running Performer). Everything works great until we try to bring up
> another window in the same application that also contains an OpenGL
> window. Then neither window responds correctly. The second window
> performs no drawing and the first window simply flashes a left over frame
> buffer image (i.e., junk).
>
> Note, both OpenGL windows perform normally if brought up individually.
>
>
> Has any one experienced this with Motif windows containing OpenGL windows?
>
> Let me know if more details are needed.
>
>
> Frank
> --
> William Frank Dea
> _________/|__________
> /--------/-/---------/
> / / / / / / "If you want to get results ...
> /- /---/-/---/ -/ try a prayer!"
> / / / / / /
> /--------/-/---------/
> wdea++at++swri.edu
>
> Research Engineer
> Southwest Research Institute
> (210) 522-6576
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from Frank Dea

-- 
________________________________________________________________
Rob Jenkins mailto:robj++at++csd.sgi.com
Silicon Graphics, Mtn View, California, USA
=======================================================================
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:55:35 PDT

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