switching an open window to stereo

New Message Reply Date view Thread view Subject view Author view

Glenn Waldron (gwaldron++at++peril.com)
Fri, 6 Mar 1998 09:34:15 -0500


I have a pfPipeWindow, already open, that I wish to switch
to PFFB_STEREO. Here's what I'm doing: (Assume single-process mode,
Octane MXI, pf2.2, 4 TRAMS, setmon 1024x769_96s.)

in the channel draw callback:
  ...
  static int fbattrs[] = {
    PFFB_RGBA,
    PFFB_DOUBLEBUFFER,
    PFFB_STEREO,
    None
  };

  if (first) {
    first=0;
    pw = pfchan->getPWin();
    pw->close();
    pw->chooseFBConfig(fbattrs);
    pw->open(); /* crashes here */
  }

This gives me the following output:

PF Warn/Usage: pfMemory::unrefGetRef() Attempt to unreference memory with 0
reference count.
(repeated 6 times)

X Error of failed request: BadMatch (invalid parameter attributes)
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 17 (X_GLXVendorPrivateWithReply)
  ...

Incidentally, if I remove the "chooseFBConfig() call", the close/open
works fine. Any help is appreciated. thanks- glenn.

--
Glenn Waldron - Tech Dir., Peril Technologies Inc
gwaldron++at++peril.com - www.peril.com - 703.598.7835

======================================================================= 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:56:59 PDT

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