Mesa (master): mesa/extensions: Replace extension::api_set with ::version

Nanley Chery nchery at kemper.freedesktop.org
Thu Nov 12 21:12:09 UTC 2015


Module: Mesa
Branch: master
Commit: eda15abd84af575d3bde432e2163e30d743a7c87
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eda15abd84af575d3bde432e2163e30d743a7c87

Author: Nanley Chery <nanley.g.chery at intel.com>
Date:   Mon Sep 21 11:23:33 2015 -0700

mesa/extensions: Replace extension::api_set with ::version

The api_set field has no users outside of _mesa_extension_supported().
Remove it and allow the version field to take its place.

The brunt of the transformation was performed with the following vim commands:
s/\(GL [^,]\+\),\s*\d*,\s*\d*\(,\s*\d*\)\(,\s*\d*\)/\1, GLL, GLC\2\3/g
s/\(GLL [^,]\+\)\,\s*\d*/\1, GLL/g
s/\(GLC [^,]\+\)\(,\s*\d*\),\s*\d*\(,\s*\d*\)\(,\s*\d*\)/\1\2, GLC\3\4/g
s/\( ES1[^,]*\)\(,\s*\(\w\|\d\)\+\)\(,\s*\(\w\|\d\)\+\),\s*\d*/\1\2\4, ES1/g
s/\( ES2[^,]*\)\(,\s*\(\w\|\d\)\+\)\(,\s*\(\w\|\d\)\+\)\(,\s*\(\w\|\d\)\+\),\s*\d*/\1\2\4\6, ES2/g

Signed-off-by: Nanley Chery <nanley.g.chery at intel.com>
Reviewed-by: Chad Versace <chad.versace at intel.com>

---

 src/mesa/main/extensions.c       |   21 +-
 src/mesa/main/extensions_table.h |  646 +++++++++++++++++++-------------------
 2 files changed, 331 insertions(+), 336 deletions(-)

Diff:   http://cgit.freedesktop.org/mesa/mesa/diff/?id=eda15abd84af575d3bde432e2163e30d743a7c87



More information about the mesa-commit mailing list