Ian Romanick wrote:
Ian Romanick wrote:

In any case, here is the patch as it currently stands. demos/occlude doesn't work right, but I'm working on it. I've also attached a patch to demos/shadowtex.c to change the way cycling compare mode works. It can now cycle with the SGIX version. I'll commit this later. I want to modify it further to select at run-time which extensions to use.


I've been trying to solve the HP_occlusion_test problem all morning. As near as I can tell, all of the right GLX protocol is happening, but the OCCLUSION_TEST_RESULT_HP is always false. The only thing I can think of is that the extension isn't enabled in Mesa. How does the Mesa that gets compiled in know which extensions to enable? Does it just use _mesa_enable_sw_extnesions?

Yes, I believe the server-side Mesa module just calls _mesa_enable_sw_extensions(). I haven't looked in a while.

I really don't know what's causing this problem.

One funny thing about GL_HP_occlusion_test is that the result flag gets cleared when glGetInteger/Bool/etc() is called. No other glGet*() query _sets_ GL state.

One of these days I'd like to implement the NVIDIA occlusion test extension.

-Brian



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to