home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!micro-heart-of-gold.mit.edu!news.media.mit.edu!floyd
- From: floyd@media.mit.edu (Bob Sabiston)
- Subject: Using starbase in X
- Message-ID: <1993Jan3.225641.22767@news.media.mit.edu>
- Sender: news@news.media.mit.edu (USENET News System)
- Organization: MIT Media Laboratory
- Date: Sun, 3 Jan 1993 22:56:41 GMT
- Lines: 19
-
- I have an existing starbase program that I would like to use in
- X windows. Right now I use it outside of X, by using gopen() on
- the /dev/crt device. I have tried creating X windows with xwcreate,
- and then used the window name as the device. This works, sort of.
-
- The problem is that about half my graphics show up in the window and
- then the computer hangs. I have a theory that the program is hanging
- at the points in my program where I access the frame buffer directly
- (using the gescape call R_LOCK_DEVICE). I have to access the frame buffer
- in this way to draw icons, and to draw antialiased fonts and lines.
-
- Does anyone know if the R_LOCK_DEVICE gescape can be used in programs
- that run in Xwindows? If so, anybody have any idea what could cause the
- program to hang my machine?
-
- thanks,
- bob s.
-
-
-