Re: GLX - 24-bit depth buffer
Re: GLX - 24-bit depth buffer
- Subject: Re: GLX - 24-bit depth buffer
- From: George Peter Staplin <email@hidden>
- Date: Sat, 18 Oct 2008 13:22:23 -0600
Quoted Zedr0n <email@hidden>:
Hi
I'm porting a ps2 emulator pcsx2 to mac and using X11 for video output
- glX, to be specific. I need 24-bit depth buffer but glxinfo reports
that I only have 16-bit buffer? I have an mbp with 8600gt, so I wonder
if really 16-bit max should be available?
int attrListDbl[] = { GLX_RGBA, GLX_DOUBLEBUFFER,
GLX_RED_SIZE, 8,
GLX_GREEN_SIZE, 8,
GLX_BLUE_SIZE, 8,
GLX_DEPTH_SIZE, 24,
None };
vi = glXChooseVisual(display, screen, attrListDbl);
This call returns NULL too.
Thanks for the detailed analysis and test case.
I will check if that works in 1.4.2-apple19 soon. I have a pile of
things to look into at the moment, and more filling my list.
There were some problems with missing visuals in GLX before. With
1.4.2-apple19 we went from having 16 visuals to 256 on some machines
(depending on if enable_stereo was set/enabled in the org.x.X11
defaults). Most machines should have 128 or 256 "glxinfo -v" visuals
with the changes.
Here's a message announcing the work:
Quoted Jeremy Huddleston <email@hidden>:
George has put some extra work into GLX that I'd like to put out into
the wild. You need to install 2.3.2_beta1 first, then update the X11
binary to 1.4.2-apple19 from here:
http://static.macosforge.org/xquartz/downloads/X11-1.4.2-apple19.bz2
Just download, decompress, and replace /Applications/Utilities/X11.app/
Contents/MacOS/X11 with it.
George
--
http://people.freedesktop.org/~gstaplin/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden