diff options
author | Grigori Goronzy <[email protected]> | 2017-06-29 07:39:55 +0200 |
---|---|---|
committer | Grigori Goronzy <[email protected]> | 2017-07-14 21:23:44 +0200 |
commit | 8d980bf920a15855a1d7462a63938abb0f1a5315 (patch) | |
tree | 1b9b37578c3831feb62b0cbf2e57b1557ff5fe4a /src/mesa/drivers/dri/common | |
parent | 4909519a66551745969a6fdcb82beefe690549d3 (diff) |
st/mesa: Add KHR_no_error toggle to driconf
Allows applications to be whitelisted.
v2: Remove misguided DRI common part.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r-- | src/mesa/drivers/dri/common/xmlpool/t_options.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/xmlpool/t_options.h b/src/mesa/drivers/dri/common/xmlpool/t_options.h index 9aa1798b9d9..e308839aa78 100644 --- a/src/mesa/drivers/dri/common/xmlpool/t_options.h +++ b/src/mesa/drivers/dri/common/xmlpool/t_options.h @@ -332,6 +332,11 @@ DRI_CONF_OPT_BEGIN_B(mesa_glthread, def) \ DRI_CONF_DESC(en,gettext("Enable offloading GL driver work to a separate thread")) \ DRI_CONF_OPT_END +#define DRI_CONF_MESA_NO_ERROR(def) \ +DRI_CONF_OPT_BEGIN_B(mesa_no_error, def) \ + DRI_CONF_DESC(en,gettext("Disable GL driver error checking")) \ +DRI_CONF_OPT_END + #define DRI_CONF_DISABLE_EXT_BUFFER_AGE(def) \ DRI_CONF_OPT_BEGIN_B(glx_disable_ext_buffer_age, def) \ DRI_CONF_DESC(en, gettext("Disable the GLX_EXT_buffer_age extension")) \ |