From: Michel <mi...@da...> - 2002-04-10 00:21:32
|
On Wed, 2002-04-10 at 01:52, Leif Delgass wrote: > On 10 Apr 2002, Michel D=E4nzer wrote: >=20 > > On Wed, 2002-04-10 at 01:01, Leif Delgass wrote: > >=20 > > > The mach64 can only use a 16-bit depth buffer, even with a 32bpp fram= ebuffer, > > > 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). > >=20 > > What prevents you from reserving less space for the depth buffer? >=20 > Well, maybe I'm just being dense (it's been known to happen), but it > looked as though the xf86AllocateOffscreenArea function used to create th= e > 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. But you can pass it a smaller height and/or width for the depth buffer, can't you? It's just a complicated way to measure the amount of memory needed. --=20 Earthling Michel D=E4nzer (MrCooper)/ Debian GNU/Linux (powerpc) developer XFree86 and DRI project member / CS student, Free Software enthusiast |