[Mesa-dev] [PATCH 2/2] glapi: remap_helper.py: remove unused argument 'es'

Dylan Baker baker.dylan.c at gmail.com
Fri Jun 19 11:43:37 PDT 2015


This one is reviewed too. I'm on my phone and typing the reviewed by is
hard though, so you'll have to copy from the last one.

I'm currently in the process of writing a series to replace the mesa XML
with the khronos XML, and as part of that I was planning to rewrite the
underlying representation of the XML. We can delete things now if you like
or we we can wait and they'll jus disappear on their own soon enough.

Dylan
On Jun 19, 2015 5:18 AM, "Emil Velikov" <emil.l.velikov at gmail.com> wrote:

> Identical to the previous commit - unused by neither the Autotools,
> Android or SCons build.
>
> XXX: There are no more users of gl_api.filter_functions_by_api(). Should
> we just nuke it ?
>
> Cc:  Dylan Baker <dylanx.c.baker at intel.com>
> Cc:  Jose Fonseca <jfonseca at vmware.com>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  src/mapi/glapi/gen/remap_helper.py | 8 --------
>  1 file changed, 8 deletions(-)
>
> diff --git a/src/mapi/glapi/gen/remap_helper.py
> b/src/mapi/glapi/gen/remap_helper.py
> index 94ae193..edc6c3e 100644
> --- a/src/mapi/glapi/gen/remap_helper.py
> +++ b/src/mapi/glapi/gen/remap_helper.py
> @@ -174,12 +174,6 @@ def _parser():
>                          metavar="input_file_name",
>                          dest='file_name',
>                          help="An xml description file.")
> -    parser.add_argument('-c', '--es-version',
> -                        choices=[None, 'es1', 'es2'],
> -                        default=None,
> -                        metavar='ver',
> -                        dest='es',
> -                        help='A GLES version to support')
>      return parser.parse_args()
>
>
> @@ -188,8 +182,6 @@ def main():
>      args = _parser()
>
>      api = gl_XML.parse_GL_API(args.file_name)
> -    if args.es is not None:
> -        api.filter_functions_by_api(args.es)
>
>      printer = PrintGlRemap()
>      printer.Print(api)
> --
> 2.4.2
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150619/7dc1a112/attachment.html>


More information about the mesa-dev mailing list