Re : C++ templates and Performer
PHILIPPE.P.P.POUTIGNAT++at++TTS.thomson.fr
20 Nov 1997 14:29:13 +0000
Bill Volz wrote :
>I have a set of C++ templates that use the STL for >managing information
>for display. I'm wondering about how the data is managed between
>processes since the data must be seen by at least the APP and the DRAW
>processes. Do I need a special new and delete operator that allocates
>from the shared arena? Any thing to watch out for? I'm using the STL
>from Objectspace if that matters. I need to allocate new objects in the
>APP process that will be displayed in the DRAW process. In particular,
>I'm building a cache to hold 3-D textures. The particular textures are
>loaded in the APP or DBASE process and then displayed in the DRAW
>process. I can use the latency between when the structures are updated
>and used to page in data. Any advice on how to maintain coherency of the
>data between the processes? I need to be careful since I will be
>deleting objects in the APP process, but I need to ensure that they
>aren't deleted before they are used in the DRAW processes. Also, is
>there some way to determine what was culled in the CULL process. The APP
>process may load data that will not be drawn in the DRAW process because
>it was culled out in the DRAW process. Any ideas on how to handle this?
Take a look at pfCycleBuffers.
--Philippe Poutignat
--THOMSON TRAINING & SIMULATION
--ZA Les Boutries
--78703 Conflans Sainte Honorine
--FRANCE
------
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2
on Mon Aug 10 1998 - 17:56:13 PDT