<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - High latency using GL_FEEDBACK mode"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97489#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - High latency using GL_FEEDBACK mode"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97489">bug 97489</a>
              from <span class="vcard"><a class="email" href="mailto:kenneth@whitecape.org" title="Kenneth Graunke <kenneth@whitecape.org>"> <span class="fn">Kenneth Graunke</span></a>
</span></b>
        <pre>Yes, glRenderMode has been deprecated for a long long time.

If you want to disable rendering, you can use glEnable(GL_RASTERIZER_DISCARD).
Transform feedback (GL 3.0) can record a subset of your vertex shader's outputs
into a buffer.  Another alternative would be to have your vertex shader write
data into a shader storage buffer object (SSBO) (GL 4.3).

Unfortunately, both of those options give you data pre-clipping, while
glRenderMode(GL_FEEDBACK) gives you data post-clipping.  It's a bit awkward
because there isn't an exact replacement for the deprecated functionality.

The thing is, GL_FEEDBACK and GL_SELECT don't really exist in hardware.  We
have to emulate them somehow in the driver.</pre>
        </div>
      </p>


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

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