<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:stu_dby@126.com" title="Boyan Ding <stu_dby@126.com>"> <span class="fn">Boyan Ding</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Wine program showing only a blackscreen when using mesa"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99116">bug 99116</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>stu_dby@126.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Wine program showing only a blackscreen when using mesa"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99116#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Wine program showing only a blackscreen when using mesa"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99116">bug 99116</a>
              from <span class="vcard"><a class="email" href="mailto:stu_dby@126.com" title="Boyan Ding <stu_dby@126.com>"> <span class="fn">Boyan Ding</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=128992" name="attach_128992" title="mesa/st: Add both front and back buffer if the visual is double-buffered">attachment 128992</a> <a href="attachment.cgi?id=128992&action=edit" title="mesa/st: Add both front and back buffer if the visual is double-buffered">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=99116&attachment=128992'>[review]</a>
mesa/st: Add both front and back buffer if the visual is double-buffered

After tracking the command stream with the help of virgl and vtest, I found the
problematic traces request for a double buffer visual but render to the front
buffer. In this case, st will only add back buffer to the attachments of the
window framebuffer. When rendering, the front buffer cannot be found and the
frame is rendered with no color attachments. Meanwhile, i965 adds both front
and back buffer in this case so it renders okay. The patch attached changes
st's way to that of i965's and seems to fix the problem.

If it is reasonable, I'll send it to the ML.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>