[Dri-devel] texmem-0-0-1 branch

2003-01-31 Thread Leif Delgass
I've been looking at the texmem branch and have found a few problems. I wanted to explain the problems I found and get some feedback before commiting any changes or putting a patch together. The first item is the cause of the texture corruption with multiple contexts that I have seen with both

Re: [Dri-devel] texmem-0-0-1 branch

2003-01-31 Thread Ian Romanick
Leif Delgass wrote: I've been looking at the texmem branch and have found a few problems. I wanted to explain the problems I found and get some feedback before commiting any changes or putting a patch together. Thanks for looking over the code. Everyone's been so busy lately that I don't

Re: [Dri-devel] texmem-0-0-1 branch

2003-01-31 Thread Ian Romanick
Leif Delgass wrote: There are also a few failing assertions related to placeholder texture objects. In driTexturesGone, we need to set t-heap = heap or else the assertion that t-heap != NULL fails in driDestroyTextureObject when destroying a placeholder. I see the problem you're talking about

Re: [Dri-devel] texmem-0-0-1 branch

2003-01-31 Thread Leif Delgass
On Fri, 31 Jan 2003, Ian Romanick wrote: Leif Delgass wrote: There are also a few failing assertions related to placeholder texture objects. In driTexturesGone, we need to set t-heap = heap or else the assertion that t-heap != NULL fails in driDestroyTextureObject when destroying a

Re: [Dri-devel] texmem-0-0-1 branch

2003-01-31 Thread Ian Romanick
Leif Delgass wrote: On Fri, 31 Jan 2003, Ian Romanick wrote: Leif Delgass wrote: There are also a few failing assertions related to placeholder texture objects. In driTexturesGone, we need to set t-heap = heap or else the assertion that t-heap != NULL fails in driDestroyTextureObject when