[Mesa-dev] [Bug 93955] glXMakeCurrent() drops the buffers of the unbound drawable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 1 06:49:12 PST 2016


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

            Bug ID: 93955
           Summary: glXMakeCurrent() drops the buffers of the unbound
                    drawable
           Product: Mesa
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: aaalmosss at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 121440
  --> https://bugs.freedesktop.org/attachment.cgi?id=121440&action=edit
makecurrent.c

As the attached code demonstrates (see the comment about issue #2), after
switching to a pbuffer and back with glXMakeCurrent(), the depth and stencil
buffers are uninitialized, because they have been dropped and reallocated. The
new depth buffer is all zeros, and the second quad completely fails depth test.
Tested with radeonsi, llvmpipe, softpipe, swrast. The demo renders perfectly
with fglrx.

The above results are with DRI2. With DRI3 the already rendered chessboard is
also partially overwritten with noise.

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


More information about the mesa-dev mailing list