[Mesa-dev] [PATCH 01/26] glapi: Fix a comment typo

Nicolai Hähnle nhaehnle at gmail.com
Fri Feb 10 13:11:27 UTC 2017


Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

On 08.02.2017 19:03, Marek Olšák wrote:
> From: Eric Anholt <eric at anholt.net>
>
> ---
>  src/mapi/glapi/gen/gl_API.dtd | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mapi/glapi/gen/gl_API.dtd b/src/mapi/glapi/gen/gl_API.dtd
> index bdc62f1..7822651 100644
> --- a/src/mapi/glapi/gen/gl_API.dtd
> +++ b/src/mapi/glapi/gen/gl_API.dtd
> @@ -83,21 +83,21 @@ When adding new functions, please annote them correctly.  In most cases this
>  will just mean adding a '<glx ignore="true"/>' tag.
>
>  param:
>       name - name of the parameter
>       type - fully qualified type (e.g., with "const", etc.)
>       client_only - boolean flag set on parameters which are interpreted only
>           by the client and are not present in the protocol encoding (e.g.,
>  	 the stride parameters to Map1f, etc.)
>       count - for counted arrays (e.g., the 'lists' parameter to glCallLists),
>           the parameter or literal that represents the count.  For functions
> -         like glVertex3fv it will be a litteral, for others it will be one of
> +         like glVertex3fv it will be a literal, for others it will be one of
>           the parameters.
>       counter - this parameter is a counter that will be referenced by the
>           'count' attribute in another parameter.
>       count_scale - literal value scale factor for the 'count' attribute.
>           See ProgramParameters4dvNV for an example.
>       output - this parameter is used to store the output of the function.
>       variable_param - name of parameter used to determine the number of
>           elements referenced by this parameter.  This should be the name of a
>           single enum parameter.  Most of the gl*Parameter[if]v functions use
>           this.  Additionally, the enums that can be passed should be properly
>



More information about the mesa-dev mailing list