[Piglit] [PATCH] util: Refactor extension string search code
Chad Versace
chad.versace at linux.intel.com
Tue Dec 13 10:57:45 PST 2011
On 12/09/2011 02:55 PM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> Move the strstr-based code from glx_ext_import_context/common.c to a
> new utility function called piglit_is_extension_in_string. Use this
> function to implement both piglit_is_extension_supported and
> piglit_is_glx_extension_supported.
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> ---
> This patch should be applied after the glx_ext_import_context series.
>
> tests/spec/glx_ext_import_context/common.c | 26 ++++---------------
> tests/util/piglit-glx-util.c | 13 ++-------
> tests/util/piglit-util.c | 37 ++++++++++++++++++----------
> tests/util/piglit-util.h | 12 +++++++++
> 4 files changed, 45 insertions(+), 43 deletions(-)
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>
More information about the Piglit
mailing list