<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - memory leak"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=761312#c21">Comment # 21</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - memory leak"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=761312">bug 761312</a>
              from <span class="vcard"><a href="page.cgi?id=describeuser.html&login=jadahl%40gmail.com" title="Jonas Ådahl <jadahl@gmail.com>"> <span class="fn">Jonas Ådahl</span></a>
</span></b>
        <pre>I'd assume I can't touch a texture until after swapping. In any way, if a
commit replaces a buffer before the swap, the previous buffer should be
released immediately anyway, and the new buffer should be the one that is drawn
the coming frame.

And I also assume you can't release a buffer that is drawn using a hw-plane
until after a flip. If the flow is commit -> draw -> flip -> commit, I assume
we can release such buffers on the second commit, but if its commit -> draw ->
commit -> flip, we'd need to wait with releasing until after the flip. But I
guess that won't happen since we always flip directy after drawing (?).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>