Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

SGI performer Frequently Asked Questions (FAQ)
Section - -23- How do I make GL calls from within a IRIS Performer program?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Counties ]


Top Document: SGI performer Frequently Asked Questions (FAQ)
Previous Document: -22- Guaranteeing Real Time performance
Next Document: -24- How do I overlay graphics on top of my Performer scene?
See reader questions & answers on this topic! - Help others by sharing your knowledge
Date: 26 Oct 93 00:00:01 EST

  GL calls can only be made from a process that has a GL context.  In
  multi-process Performer applications only the draw process has GL
  context, so you must make your GL calls in a function called in the
  draw process.

  The pipe initialization callback, draw function callback, and node
  draw callbacks are all executed in the draw process.

  In an application that only will ever run single-process, GL calls
  can be made from anywhere in the program, but this is considered a
  dangerous practice.

  To set up a pipe initialization callback, see the pfInitPipe()
  manpage.  To set up a draw function callback, see the
  pfChanDrawFunc() manpage.  To set up a node draw callback, see the
  pfNodeTravFuncs() manpage.

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




Top Document: SGI performer Frequently Asked Questions (FAQ)
Previous Document: -22- Guaranteeing Real Time performance
Next Document: -24- How do I overlay graphics on top of my Performer scene?

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
sgi-faq@viz.tamu.edu (The SGI FAQ group)





Last Update March 27 2014 @ 02:12 PM