Bug 65373

Summary: Rename the _mesa_lookup_enum_by_nr() function
Product: Mesa Reporter: Brian Paul <brianp>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Brian Paul 2013-06-04 19:55:10 UTC
Nobody likes the name of the _mesa_lookup_enum_by_nr() function in Mesa.  A nicer name would be something like _mesa_enum_string().  Same story for other similarly named functions in enums.c.

Note that enums.c is generated by the gl_enums.py script so don't just edit the .c file.
Comment 1 Arnas Milaševičius 2013-06-04 20:26:22 UTC
I'm taking this task!
Comment 2 Timothy Arceri 2016-01-24 06:49:02 UTC
Change made by:

commit	2f11e92cef51c88a09bc778e2ceca4ab50cf0017

mesa: Rename _mesa_lookup_enum_by_nr() to _mesa_enum_to_string().
Generated by sed; no manual changes.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.