Re: Performer with dm pbuffers

New Message Reply Date view Thread view Subject view Author view

Ran Yakir (rany++at++rtset.co.il)
Tue, 14 Jan 1997 10:27:16 +0200


On Jan 13, 5:01pm, ulf.yngwe++at++mandator.se wrote:
> Subject: Performer with dm pbuffers
>
> Is there anybody who has used the digital media pbuffers with performer. I am
> trying
> to create a pbuffer to use performer to draw in, but i can't find out how to
> create one.
> If anyone has some piece of code it would be greatly apreciated.
>

The proper way to set up Performer with dmedia pbuffers, is through the calls
pfPWinWSDrawable() and pfPWinGLCxt(). The drawable is the pbuffer and the
context can be created with glXCreateContextWithConfigSGIX().
The problem is that only Performer 2.2 can get a pbuffer as a drawable.
Performer 2.1 will crash on that. The way to work around this is creating a
plain old pfPipeWindow, but call glXMakeCurrent with your pbuffer and context
at the beginning of the drawing frame.

Ran

-- 
 __                                  | Ran Yakir
 /_)  _  __   \  / _   / o __        | RT-SET Ltd.
/ )_ (_(_) )   \/ (_(_/<_(_)(        | 
              _/                     |   
-------------------------------------+--------------------------------
Phone :                              | E-mail : rany++at++rtset.co.il
  Work : 972-9-9552236               |          rany++at++netvision.net.il
  Res. : 972-9-7489974               |
Fax    : 972-9-9552239               |
=======================================================================
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:54:19 PDT

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