On 10 Apr 2002, Michel Dänzer wrote: > On Wed, 2002-04-10 at 01:01, Leif Delgass wrote: > > > The mach64 can only use a 16-bit depth buffer, even with a 32bpp framebuffer, > > so I'm also interested in this. I couldn't see a way to request a > > smaller buffer from the XFree framebuffer manager (currently we > > allocate a 32-bit depth buffer, but are only using 16-bit z-buffer > > depth). > > What prevents you from reserving less space for the depth buffer?
Well, maybe I'm just being dense (it's been known to happen), but it looked as though the xf86AllocateOffscreenArea function used to create the depth buffer assumes the bit depth to be equal to the framebuffer bit depth. You pass width and height in pixels, but there's no parameter for bit depth. I'm assuming it gets that through the screen pointer. -- Leif Delgass http://www.retinalburn.net _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel