<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Wine DirectDraw programs showing only a blackscreen when using Mesa Gallium drivers"
   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;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Wine DirectDraw programs showing only a blackscreen when using Mesa Gallium drivers"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99116#c19">Comment # 19</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Wine DirectDraw programs showing only a blackscreen when using Mesa Gallium drivers"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99116">bug 99116</a>
              from <span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span></b>
        <pre>Should be fixed by:

commit 6695f9d5c5c94df080efc720ed532217618a28c3
Author: Boyan Ding <<a href="mailto:boyan.j.ding@gmail.com">boyan.j.ding@gmail.com</a>>
Date:   Sat Apr 14 14:45:23 2018 +1000

    mesa: call DrawBufferAllocate driver hook in update_framebuffer for
windows-system FB

    When draw buffers are changed on a bound framebuffer, DrawBufferAllocate()
    hook should be called. However, it is missing in update_framebuffer with
    window-system framebuffer, in which FB's draw buffer state should match
    context state, potentially resulting in a change.

    Note: This is needed because gallium delays creating the front buffer,
          i965 works fine without this change.

    V2 (Timothy Arceri):
     - Rebased on merged/simplified DrawBuffer driver function
     - Move DrawBuffer call outside fb->ColorDrawBuffer[0] !=
       ctx->Color.DrawBuffer[0] check to make piglit pass.

    v3 (Timothy Arceri):
     - Call new DrawBuffaerAllocate() driver function.

    Tested-by: Dieter Nützel <<a href="mailto:Dieter@nuetzel-hh.de">Dieter@nuetzel-hh.de</a>> (v2)
    Reviewed-by: Brian Paul <<a href="mailto:brianp@vmware.com">brianp@vmware.com</a>> (v2)
    Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>>
    Reviewed-by: Ian Romanick <<a href="mailto:ian.d.romanick@intel.com">ian.d.romanick@intel.com</a>>
    Bugzilla: <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - Wine DirectDraw programs showing only a blackscreen when using Mesa Gallium drivers"
   href="show_bug.cgi?id=99116">https://bugs.freedesktop.org/show_bug.cgi?id=99116</a></pre>
        </div>
      </p>


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

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