From: Brian P. <br...@va...> - 2000-09-07 16:00:27
|
I've just checked in some changes to the tdfx-2-1-branch: 1. GLX context sharing now works. Display lists and texture objects can now be shared between direct rendering contexts. 2. Enabled Voodoo5 UMA texture memory. On the Voodoo3, texture memory was divided into two banks. On Voodoo5, texture memory can be configured as one large pool. This allows one to use really large textures (2K x 2K x 4byte/texel) and in some cases allows more textures to be coresident at once. I haven't exhaustively tested the UMA changes so there might be a bug or two. Remember, this is a development branch. 3. On Voodoo3, any possible texture size and format could always fit into texture memory since you were limited to 256 x 256 x 2byte/texel images (128K). But on Voodoo5 there will not be enough memory to store a 2K x 2K x 4byte/texel image if you're running your screen at 1600x1200x32, for example. But, a 2K x 2K x 2byte/texel image would fit. Therefore I had to implement complete support for proxy textures (See the OpenGL Programming Guide). Note that texture proxies don't completely solve the problem of determining if your textures will actually fit in memory. The problem is multi-texturing. There may be enough memory to store one 2K x 2K x 4byte/texel image, but not two of them for multi- texture. There's no way to detect this problem with proxies. Allen Akin is working on a memory/resource allocation extension which would solve this problem. But until we have that, you'll have to be careful about using large textures. -Brian |