[Bug 97489] High latency using GL_FEEDBACK mode

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 26 13:37:54 UTC 2016


--- Comment #4 from Kenneth Graunke <kenneth at whitecape.org> ---
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.

You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160826/513a5d1b/attachment.html>

More information about the intel-3d-bugs mailing list