Re: pfOverride - which process?

New Message Reply Date view Thread view Subject view Author view

From: Marcin Romaszewicz (marcin++at++asmodean.engr.sgi.com)
Date: 06/01/2001 11:11:05


You should only call it from the draw process or while the process calling
it has an open display list. It's safe to call pfOverride from any draw
(post, pre) callback but it looks like calling it from any cull callback
will not, and certainly not from the app.

The short version of how pfOverride works is:

if(display list is open)
  queue override on displaylist
else
  execute override immediately.

Calling pfOverride outside of draw probably won't do anything horrible but
it may corrupt state for one frame.

-- Marcin

On Fri, 1 Jun 2001, Erik Brisson wrote:

> Hi folks,
>
> Does it matter which process pfOverride is called from?
>
> I am intentionally asking this as an open-ended question, e.g, how
> and when does the override affect states in other processes, etc.
> (not worrying about display lists)?
>
> Thanks,
> Erik Brisson
> Scientific Computing and Visualization Group
> ebrisson++at++bu.edu
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/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 2b29 : Fri Jun 01 2001 - 11:11:09 PDT

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