I tried a little brut test about smart pointer from osg and the similar
approch in boost with instrusive_ptr
here the result with the source code:
PROFILE_ROOT prt 100.00 glb 100.00 - time 31.785504 avg 31.785504
ncall 1
osg_smprt 2.85 glb 2.85 - time 0.905553 avg
Hi All,
With the introduction of the new DrawThreadPerContext and
CullThreadPerCameraDrawThreadPerContext threading models came the use
the osg::DeleteHandler, its not used in the other threading models as
it isn't required. The DeleteHandler roles is to cache objects that
were being deleted for
Hi André,
On 8/31/07, André Garneau [EMAIL PROTECTED] wrote:
FYI you might want to check the Boost::intrusive_ptr implementation (similar
in concept to OSG's ref_ptr) as it is using an underlying implementation
that does atomic reference counting (using CPU native Interlocked
3 matches
Mail list logo