Re: GLX - 24-bit depth buffer
Re: GLX - 24-bit depth buffer
- Subject: Re: GLX - 24-bit depth buffer
- From: Zedr0n <email@hidden>
- Date: Sat, 18 Oct 2008 18:39:12 +0100
Hm, I've tried removing it, but singlebuffer with GLX_DEPTH_SIZE 24
doesn't work either, GLX_DEPTH_SIZE 1 returns the 16bit depth buffer.
Hm, does glxinfo only return visuals for doublebuffer mode? As far as
I see I just don't have any visuals with 24bit depth.
Other than the zbuffer it all works fine as far as I see.
On 18.10.2008, at 18:27, Jeremy Huddleston wrote:
I think it's the GLX_DOUBLEBUFFER request that's causing the problem
for you. We're starting to get our hands dirty rewriting most of
the GL code (and by "we" I mean Geroge... I'm mostly hiding my face
in a hole underground where possible), so if you're interested,
please join xquartz-dev and lend a hand.
--Jeremy
On Oct 18, 2008, at 06:39, Zedr0n wrote:
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.
Vis Vis Visual Trans buff lev render DB ste r g b a aux
dep ste accum buffers MS M
S
ID Depth Type parent size el type reo sz sz sz sz buf
th ncl r g b a num bu
fs
--------------------------------------------------------------------------------------------------
--
0x27 24 TrueColor 0 24 0 rgba 1 0 8 8 8 0
0 16 0 0 0 0 0 0 0
0x28 24 TrueColor 0 24 0 rgba 1 0 8 8 8 0
0 16 8 16 16 16 0 0 0
0x29 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8
0 16 8 16 16 16 16 0 0
0x2a 24 TrueColor 0 32 0 rgba 0 0 8 8 8 8
0 16 8 16 16 16 16 0 0
0x2b 24 DirectColor 0 24 0 rgba 1 0 8 8 8 0
0 16 0 0 0 0 0 0 0
0x2c 24 DirectColor 0 24 0 rgba 1 0 8 8 8 0
0 16 8 16 16 16 0 0 0
0x2d 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8
0 16 8 16 16 16 16 0 0
0x2e 24 DirectColor 0 32 0 rgba 0 0 8 8 8 8
0 16 8 16 16 16 16 0 0
0x2f 8 PseudoColor 0 24 0 ci 1 0 0 0 0 0
0 16 0 0 0 0 0 0 0
0x30 15 TrueColor 0 15 0 rgba 1 0 5 5 5 0
0 16 0 0 0 0 0 0 0
0x31 15 TrueColor 0 15 0 rgba 1 0 5 5 5 0
0 16 8 16 16 16 0 0 0
0x32 15 TrueColor 0 23 0 rgba 1 0 5 5 5 8
0 16 8 16 16 16 16 0 0
0x33 15 TrueColor 0 23 0 rgba 0 0 5 5 5 8
0 16 8 16 16 16 16 0 0
0x34 15 DirectColor 0 15 0 rgba 1 0 5 5 5 0
0 16 0 0 0 0 0 0 0
0x35 15 DirectColor 0 15 0 rgba 1 0 5 5 5 0
0 16 8 16 16 16 0 0 0
0x36 15 DirectColor 0 23 0 rgba 1 0 5 5 5 8
0 16 8 16 16 16 16 0 0
0x37 15 DirectColor 0 23 0 rgba 0 0 5 5 5 8
0 16 8 16 16 16 16 0 0
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden