+Eric, because I misspelled your email address in the CC list.
On 10/31/2013 06:36 PM, Chad Versace wrote:
This clamps GL_MAX_SAMPLES to the given value. If negative, then no clamping occurs. This patch adds the option, but no driver respects it yet. CC: Eric Anholt <e...@anholt.org> Signed-off-by: Chad Versace <chad.vers...@linux.intel.com> --- This little series lives on my driconf-clamp-max-samples branch. src/mesa/drivers/dri/common/xmlpool/t_options.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/common/xmlpool/t_options.h b/src/mesa/drivers/dri/common/xmlpool/t_options.h index 3bf804a..2a02406 100644 --- a/src/mesa/drivers/dri/common/xmlpool/t_options.h +++ b/src/mesa/drivers/dri/common/xmlpool/t_options.h @@ -215,7 +215,10 @@ DRI_CONF_OPT_BEGIN_V(pp_jimenezmlaa_color,int,def, # min ":" # max ) \ DRI_CONF_DESC(en,gettext("Morphological anti-aliasing based on Jimenez\\\' MLAA. 0 to disable, 8 for default quality. Color version, usable with 2d GL apps")) \ DRI_CONF_OPT_END - +#define DRI_CONF_CLAMP_MAX_SAMPLES() \ +DRI_CONF_OPT_BEGIN(clamp_max_samples, int, -1) \ + DRI_CONF_DESC(en,gettext("Clamp the value of GL_MAX_SAMPLES to the given integer. If negative, then do not clamp.")) \ +DRI_CONF_OPT_END /** * \brief Performance-related options
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev