Mesa (master): mesa: Refactor handling of extension strings

Chad Versace chadversary at kemper.freedesktop.org
Wed Jan 12 23:45:15 UTC 2011


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

Author: Chad Versace <chad.versace at intel.com>
Date:   Sun Jan  9 10:53:52 2011 -0800

mesa: Refactor handling of extension strings

Place GL, GLES1, and GLES2 extensions in a unified extension table. This
allows one to enable, disable, and query the status of GLES1 and GLES2
extensions by name.

When tested on Intel Ironlake, this patch did not alter the extension
string [as given by glGetString(GL_EXTENSIONS)] for any API.

Reviewed-by: Ian Romanick <idr at freedesktop.org>
Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/mesa/main/extensions.c |  893 ++++++++++++++++++++------------------------
 src/mesa/main/mtypes.h     |    3 +
 2 files changed, 406 insertions(+), 490 deletions(-)

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



More information about the mesa-commit mailing list