Daniel Williams (dwilliams++at++sarnoff.com)
Wed, 11 Feb 1998 17:59:20 -0500
This is on a single channel of a single pipe of a 3 pipe
Onyx2 IR using Performer2.2. I get the same results using
either PFMP_APP_CULLDRAW or PFMP_APPCULLDRAW.
I've instrumented my code so that I print out reference counts
all over the place and I've found that the method
pfPipe::addMPClipTexture will cause the reference count of the
sole pfClipTexture I'm testing with to be incremented by 3,
after a few pfSync()/pfFrame()'s. However, the method
pfPipe::removeMPClipTexture results in no decrement at all.
So I wind up with too high a reference count.
Deleting the pfMPClipTexture, deleting the pfuClipCenterNode
and setting the PFSTATE_TEXTURE attribute on the geostate
to be NULL all do the right thing in terms of decrementing
the pfClipTexture's reference count.
What else is pointing to my pfClipTexture and how can I make it stop?
Thanks,
Dan
P.S. - when I tried unref'ing the pfClipTexture until it's
reference count went to zero and then deleting it, I got memory
errors and crashes.
--
Daniel Williams, Systems & Scientific Software
Independent Consultant to: Sarnoff Corporation
Voice: (609) 734-2153 Email: dwilliams++at++sarnoff.com
=======================================================================
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:46 PDT