Re: Sharing Texture memory

New Message Reply Date view Thread view Subject view Author view

Bernard Leclerc (bleclerc++at++cae.ca)
Wed, 4 Dec 1996 10:31:58 -0500


Chehayeb, Nassouh wrote:

> I use one pipeline (pfPipe) and two pfPipeWindow to draw the same scene
> (pfScene). I download the scene texture list on each window
> sequentially. It seems that the latest textures override the first one.
>
> I would like to know how I can share the hardware texture memory
> between the windows.

Since you have only one pfPipe, there's only one DRAW process. In theory,
you should preload the textures from a DRAW stage configuration function.
The sharing of texture between pfPipeWindows is automatic as pointed out
by Steve Baker. Take a look at pfStageConfigFunc() and
pfuDownloadTexList().

--
Bernard Leclerc			CAE Electronics Ltd., 8585 Cote De Liesse
Technical Leader		Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications	tel: +1 514 341 2000 extension 2275
bleclerc++at++cae.ca			fax: +1 514 340 5496
=======================================================================
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:05 PDT

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