[Mesa-dev] [PATCH 01/18] mapi: sort static entrypoints numerically

Erik Faye-Lund erik.faye-lund at collabora.com
Thu Dec 6 16:38:46 UTC 2018


On Wed, 2018-11-21 at 12:03 +0000, Emil Velikov wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
> 
> A few of the entrypoints were incorrectly placed. Sort those to align
> with the rest of the list.
> 
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
>  src/mapi/glapi/gen/static_data.py | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/src/mapi/glapi/gen/static_data.py
> b/src/mapi/glapi/gen/static_data.py
> index 7a8933b8d78..0596d2cd3bb 100644
> --- a/src/mapi/glapi/gen/static_data.py
> +++ b/src/mapi/glapi/gen/static_data.py
> @@ -331,33 +331,33 @@ offsets = {
>      "Translatef": 304,
>      "Viewport": 305,
>      "ArrayElement": 306,
> +    "BindTexture": 307,
>      "ColorPointer": 308,
>      "DisableClientState": 309,
>      "DrawArrays": 310,
>      "DrawElements": 311,
>      "EdgeFlagPointer": 312,
>      "EnableClientState": 313,
> -    "GetPointerv": 329,
>      "IndexPointer": 314,
> +    "Indexub": 315,
> +    "Indexubv": 316,
>      "InterleavedArrays": 317,
>      "NormalPointer": 318,
> +    "PolygonOffset": 319,
>      "TexCoordPointer": 320,
>      "VertexPointer": 321,
> -    "PolygonOffset": 319,
> +    "AreTexturesResident": 322,
>      "CopyTexImage1D": 323,
>      "CopyTexImage2D": 324,
>      "CopyTexSubImage1D": 325,
>      "CopyTexSubImage2D": 326,
> -    "TexSubImage1D": 332,
> -    "TexSubImage2D": 333,
> -    "AreTexturesResident": 322,
> -    "BindTexture": 307,
>      "DeleteTextures": 327,
>      "GenTextures": 328,
> +    "GetPointerv": 329,
>      "IsTexture": 330,
>      "PrioritizeTextures": 331,
> -    "Indexub": 315,
> -    "Indexubv": 316,
> +    "TexSubImage1D": 332,
> +    "TexSubImage2D": 333,
>      "PopClientAttrib": 334,
>      "PushClientAttrib": 335,
>      "BlendColor": 336,

Reviewed-by: Erik Faye-Lund <erik.faye-lund at collabora.com>




More information about the mesa-dev mailing list