[Mesa-dev] [Bug 92286] Distant geometry renders in front of closer geometry (depth test fail) in DarkRadiant / wxWidgets

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 5 12:01:57 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92286

MirceaKitsune <sonichedgehog_hyperblast00 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from MirceaKitsune <sonichedgehog_hyperblast00 at yahoo.com> ---
The cause of the issue has been at last found, thanks to a suggestion by
OrbWeaver. It was triggered by initializing the WX OpenGL canvas without any
attributes, which caused Mesa to assume no depth buffer at all. I have created
a patch for DarkRadiant which makes it usable.

I guess the question of this bug report remains whether Mesa is doing something
wrong here. On the proprietary video drivers, it's ok to leave the attribs
parameter of wxGLCanvas empty... but for depth buffering to work on Mesa, you
must include WX_GL_DEPTH_SIZE and give it a buffer size.

So if anyone here is familiar with wxWidgets, please take a look at this. If
you think Mesa is doing the right thing, this report can be closed. I don't
know enough to decide that, but to me it feels like depth testing being the
only thing that doesn't work in this scenario denotes a problem.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151005/faa7bf1c/attachment.html>


More information about the mesa-dev mailing list