mesa: Expose RESET_NOTIFICATION_STRATEGY with KHR_robustness.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 3 Sep 2016 05:54:25 +0000 (22:54 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 15 Sep 2016 07:58:47 +0000 (00:58 -0700)
commit3bcdc2e3db8fb9f8e04d3504b6f331b484ebcc96
tree2d1b8ddc301dc742ddd33275732c37f150852725
parent89a96c8f43370cc84adf92ab32e3de302a1fa1d0
mesa: Expose RESET_NOTIFICATION_STRATEGY with KHR_robustness.

This is supposed to be exposed with the GL_KHR_robustness extension,
which we support on ES 2.0 and later.  On desktop GL, it's also exposed
by GL_ARB_robustness, which is supported by all drivers ("dummy_true").
so we also allow desktop GL.

Fixes:
- ES32-CTS.robust.robustness.noResetNotification
- ES32-CTS.robust.robustness.loseContextOnReset

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/mesa/main/get.c
src/mesa/main/get_hash_params.py