gl commands in X11

Mark Callow msc at ramoth.esd.sgi.com
Thu Aug 16 09:36:22 AEST 1990


In article <2943 at dftsrv.gsfc.nasa.gov>, flanigan at iris613.gsfc.nasa.gov
(Dennis Flanigan Jr.) writes:
|> 
|> A question about gl with X11:
|> 
|> Last week I asked the SGI hotline if there was any way I could 
|> use gl commands in a window opened up with X11 commands.  
|> Essentially using the gl command winset on the X11 window.  
|> SGI said it could not be done now, but probably in the future.
|> 
|> Does anybody know why I can't do this now?
|> 
It's a long and complicated story.  The short version is that the only
way
to access and initialize the GL is via winopen; guess what winopen does.
It
makes a GL window.

You can do both an XCreateWindow() and a wineopn() in the same program
but you
get two separate windows and you may have to deal with two input models.
This
is a tricky game to play.

As the hotline told you, what you want to do will be possible in the
future.
--
>From the TARDIS of Mark Callow
msc at ramoth.sgi.com, ...{ames,decwrl}!sgi!msc
"There is much virtue in a window.  It is to a human being as a frame is
to
a painting, as a proscenium to a play.  It strongly defines its
content."



More information about the Comp.sys.sgi mailing list