C++ templates and Performer

New Message Reply Date view Thread view Subject view Author view

wrvo (WRVO++at++chevron.com)
Thu, 20 Nov 1997 04:50:09 -0800


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?

Thanks for any advice

Bill Volz

=======================================================================
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:13 PDT

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