[Mesa-dev] [PATCH mesa] util/xmlpool: make indentation coherent

Dylan Baker dylan at pnwbakers.com
Fri Aug 17 18:10:59 UTC 2018


Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

Quoting Eric Engestrom (2018-08-16 08:03:23)
> Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
> ---
>  src/util/xmlpool/t_options.h | 26 +++++++++++++-------------
>  1 file changed, 13 insertions(+), 13 deletions(-)
> 
> diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h
> index f0537e965b8a3cda894c..a31fafac14c6ffb55bb2 100644
> --- a/src/util/xmlpool/t_options.h
> +++ b/src/util/xmlpool/t_options.h
> @@ -53,7 +53,7 @@
>   */
>  #define DRI_CONF_SECTION_DEBUG \
>  DRI_CONF_SECTION_BEGIN \
> -       DRI_CONF_DESC(en,gettext("Debugging"))
> +        DRI_CONF_DESC(en,gettext("Debugging"))
>  
>  #define DRI_CONF_NO_RAST(def) \
>  DRI_CONF_OPT_BEGIN_B(no_rast, def) \
> @@ -77,7 +77,7 @@ DRI_CONF_OPT_END
>  
>  #define DRI_CONF_DISABLE_THROTTLING(def) \
>  DRI_CONF_OPT_BEGIN_B(disable_throttling, def) \
> -       DRI_CONF_DESC(en,gettext("Disable throttling on first batch after flush")) \
> +        DRI_CONF_DESC(en,gettext("Disable throttling on first batch after flush")) \
>  DRI_CONF_OPT_END
>  
>  #define DRI_CONF_FORCE_GLSL_EXTENSIONS_WARN(def) \
> @@ -155,11 +155,11 @@ DRI_CONF_OPT_END
>   */
>  #define DRI_CONF_SECTION_QUALITY \
>  DRI_CONF_SECTION_BEGIN \
> -       DRI_CONF_DESC(en,gettext("Image Quality"))
> +        DRI_CONF_DESC(en,gettext("Image Quality"))
>  
>  #define DRI_CONF_EXCESS_MIPMAP(def) \
>  DRI_CONF_OPT_BEGIN_B(excess_mipmap, def) \
> -       DRI_CONF_DESC(en,"Enable extra mipmap level") \
> +        DRI_CONF_DESC(en,"Enable extra mipmap level") \
>  DRI_CONF_OPT_END
>  
>  #define DRI_CONF_TEXTURE_DEPTH_FB       0
> @@ -168,7 +168,7 @@ DRI_CONF_OPT_END
>  #define DRI_CONF_TEXTURE_DEPTH_FORCE_16 3
>  #define DRI_CONF_TEXTURE_DEPTH(def) \
>  DRI_CONF_OPT_BEGIN_V(texture_depth,enum,def,"0:3") \
> -       DRI_CONF_DESC_BEGIN(en,gettext("Texture color depth")) \
> +        DRI_CONF_DESC_BEGIN(en,gettext("Texture color depth")) \
>                  DRI_CONF_ENUM(0,gettext("Prefer frame buffer color depth")) \
>                  DRI_CONF_ENUM(1,gettext("Prefer 32 bits per texel")) \
>                  DRI_CONF_ENUM(2,gettext("Prefer 16 bits per texel")) \
> @@ -205,7 +205,7 @@ DRI_CONF_OPT_END
>  #define DRI_CONF_ROUND_ROUND 1
>  #define DRI_CONF_ROUND_MODE(def) \
>  DRI_CONF_OPT_BEGIN_V(round_mode,enum,def,"0:1") \
> -       DRI_CONF_DESC_BEGIN(en,gettext("Color rounding method")) \
> +        DRI_CONF_DESC_BEGIN(en,gettext("Color rounding method")) \
>                  DRI_CONF_ENUM(0,gettext("Round color components downward")) \
>                  DRI_CONF_ENUM(1,gettext("Round to nearest color")) \
>          DRI_CONF_DESC_END \
> @@ -216,7 +216,7 @@ DRI_CONF_OPT_END
>  #define DRI_CONF_DITHER_ORDERED 2
>  #define DRI_CONF_DITHER_MODE(def) \
>  DRI_CONF_OPT_BEGIN_V(dither_mode,enum,def,"0:2") \
> -       DRI_CONF_DESC_BEGIN(en,gettext("Color dithering method")) \
> +        DRI_CONF_DESC_BEGIN(en,gettext("Color dithering method")) \
>                  DRI_CONF_ENUM(0,gettext("Horizontal error diffusion")) \
>                  DRI_CONF_ENUM(1,gettext("Horizontal error diffusion, reset error at line start")) \
>                  DRI_CONF_ENUM(2,gettext("Ordered 2D color dithering")) \
> @@ -321,7 +321,7 @@ DRI_CONF_OPT_END
>  
>  #define DRI_CONF_TEXTURE_BLEND_QUALITY(def,range) \
>  DRI_CONF_OPT_BEGIN_V(texture_blend_quality,float,def,range) \
> -       DRI_CONF_DESC(en,gettext("Texture filtering quality vs. speed, AKA “brilinear” texture filtering")) \
> +        DRI_CONF_DESC(en,gettext("Texture filtering quality vs. speed, AKA “brilinear” texture filtering")) \
>  DRI_CONF_OPT_END
>  
>  #define DRI_CONF_TEXTURE_HEAPS_ALL 0
> @@ -329,11 +329,11 @@ DRI_CONF_OPT_END
>  #define DRI_CONF_TEXTURE_HEAPS_GART 2
>  #define DRI_CONF_TEXTURE_HEAPS(def) \
>  DRI_CONF_OPT_BEGIN_V(texture_heaps,enum,def,"0:2") \
> -       DRI_CONF_DESC_BEGIN(en,gettext("Used types of texture memory")) \
> -               DRI_CONF_ENUM(0,gettext("All available memory")) \
> -               DRI_CONF_ENUM(1,gettext("Only card memory (if available)")) \
> -               DRI_CONF_ENUM(2,gettext("Only GART (AGP/PCIE) memory (if available)")) \
> -       DRI_CONF_DESC_END \
> +        DRI_CONF_DESC_BEGIN(en,gettext("Used types of texture memory")) \
> +                DRI_CONF_ENUM(0,gettext("All available memory")) \
> +                DRI_CONF_ENUM(1,gettext("Only card memory (if available)")) \
> +                DRI_CONF_ENUM(2,gettext("Only GART (AGP/PCIE) memory (if available)")) \
> +        DRI_CONF_DESC_END \
>  DRI_CONF_OPT_END
>  
>  #define DRI_CONF_MESA_GLTHREAD(def) \
> -- 
> Cheers,
>   Eric
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180817/18548a33/attachment.sig>


More information about the mesa-dev mailing list