Texture replacement policy and occlusion queries

2006-01-16 Thread Stephane Marchesin
Hi, I was considering how complicated it can be to implement a texture replacement policy, and then I had the following idea : we could make use of hardware cocclusion queries on cards that support them to determine actual texture usage and thus have a good texture replacement policy. Here is

RFC, drm low-level infrastructure for "GART dynamic" memory

2006-01-16 Thread Thomas Hellström
Hi, Following Keiths proposal on AGP memory manager design, I have a first shot proposal of an interface that lets the memory manager bind and unbind drm maps into the GTT, while at the same time taking care of caching issues. The key issues are a) Is the drm able to keep track of _all_ vmas

Re: Texture replacement policy and occlusion queries

2006-01-16 Thread Roland Scheidegger
Stephane Marchesin wrote: Hi, I was considering how complicated it can be to implement a texture replacement policy, and then I had the following idea : we could make use of hardware cocclusion queries on cards that support them to determine actual texture usage and thus have a good texture r