[Mesa-dev] [PATCH 19/41] glapi: gl_XML.py: remove gl_api.enumIterateByName
Ian Romanick
idr at freedesktop.org
Tue Apr 19 22:13:26 UTC 2016
It looks like this hasn't been used since cbabf5f9. Should add that to
the commit message for posterity. This patch is
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
On 03/31/2016 05:04 PM, Dylan Baker wrote:
> Originally I planned to make it more efficient, but then realized that
> it wasn't actually used anywhere, so lets just delete it.
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
> src/mapi/glapi/gen/gl_XML.py | 10 ----------
> 1 file changed, 10 deletions(-)
>
> diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py
> index 42fcc41..9298995 100644
> --- a/src/mapi/glapi/gen/gl_XML.py
> +++ b/src/mapi/glapi/gen/gl_XML.py
> @@ -958,16 +958,6 @@ class gl_api(object):
> def functionIterateAll(self):
> return self.functions_by_name.itervalues()
>
> - def enumIterateByName(self):
> - keys = self.enums_by_name.keys()
> - keys.sort()
> -
> - list = []
> - for enum in keys:
> - list.append(self.enums_by_name[enum])
> -
> - return iter(list)
> -
> def categoryIterate(self):
> """Iterate over categories.
>
>
More information about the mesa-dev
mailing list