pfb-loder

New Message Reply Date view Thread view Subject view Author view

From: Per Fahlberg (Per.Fahlberg++at++saab.se)
Date: 10/03/2000 02:59:55


Hi all!

I'm developing an database pageing application.
I've converted my files from flt to pfb, but when I load the pfb files I
get an extra referencs to the textures that the pfb file uses. I've
tried with the flt files and then I get the 2 references I was
expecting (one from the geostate and one from the sharing structure).

I've found the following lines in the source code for the pfbloader
(pfpfb.c line 13398-):

...
/*
 * Add to pfb's internal texture list
 */
 if (tl->tex = make_tex(tl, glb))
 {
   pfRef(tl->tex);
   tl->next = tex_list;
   tex_list = tl;

   /*
    * Do a psudo add to the pfdShare's texture list
    */
   list = pfdGetSharedList(glb->share, pfGetTexClassType());
   pfAdd(list, tl->tex);
   pfRef(tl->tex);
 }
...

The second pfRef I understand but the first one I don't quite
understand. What is pfb's internal texture list???

Where does the extra reference come from and how do I get ridd of it in
a nice way?

/Per


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Oct 03 2000 - 02:59:48 PDT

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