From: Angus Dorbie (dorbie++at++sgi.com)
Date: 04/08/2000 03:56:41
Yair chased this down and yes it is safe to reuse and it will work. The
handle will automatically be recreated if it has been deleted in the
draw. This is done independently on per draw process basis.
The idle texture concept is a bit of a throwback to IrisGL.
Cheers,ANgus.
Jean-Luc Dery wrote:
>
> On Apr 6, 2:34pm, Angus Dorbie wrote:
> > Subject: Re: glDeleteHandle of pfTextures
> > I think I may have been mistaken about what happens on applying a
> > pfTexture with a deleted gl handle, we're looking into it & will let you
> > know if the handle is recreated.
>
> We have already used this approach were we deleted the GLHandle and reused the
> pfTexture object taking for granted that Performer was creating a new one when
> needed. It appeared to be working fine although we were told that this approach
> was not guarantied to work. We then just used the idle function instead,
> leaving it to Performer to manage texture id's which I think does kind of what
> is needed: mark the texture ID as reusable but without actually freeing up the
> TRAM. When the texture object is needed again, I assume that PF reuses the
> current one or gets a new one if needed.
>
> Although using idle appears to meet most of our needs, it does not give full
> control of what actually in TRAM. Knowing we can really manage texture with the
> delete handle would be of great help for us.
>
> Jean-Luc
-- For Performer+OpenGL tutorials http://www.dorbie.com/"In the middle of difficulty lies opportunity." --Albert Einstein
This archive was generated by hypermail 2b29 : Sat Apr 08 2000 - 03:56:53 PDT