[Mesa-dev] to _ARB or not to _ARB

Kenneth Graunke kenneth at whitecape.org
Sun Nov 4 10:25:29 PST 2012


On 11/03/2012 11:59 PM, Dave Airlie wrote:
> So in my slow but steady pursuit of ARB_texture_cube_map_array, I've
> been reviewing my patch queue and noticed I'm a bit inconsistent on
> using _ARB variants of the enums or not.
>
> So do we have a rule on this? and also what should in the
> ARB_texture_cube_map_array.xml file? if the non-ARB ones don't go in
> there, do they go somewhere else?
>
> Dave

I much prefer using the core (non-extension) names everywhere.  It's 
cleaner and more forward-looking.

It also helps distinguish functionality that is only in extensions...or 
cases where enums/functions differ slightly between the extension and 
core version.

When trying to find the NV program stuff recently, it was tricky to tell 
what was specific to the NV extensions and what simply came from there 
originally (and thus was decorated with _NV when it didn't have to be).


More information about the mesa-dev mailing list