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

Ian Romanick idr at kemper.freedesktop.org
Mon Feb 28 21:23:54 UTC 2011


Module: Mesa
Branch: 7.10
Commit: 2d1b154f73f52d73a3df3b1a907097d33fc7f87f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2d1b154f73f52d73a3df3b1a907097d33fc7f87f

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>
(cherry picked from commit 9b260c377f5b437b7e03607fefa022459ef758ed)

---

 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=2d1b154f73f52d73a3df3b1a907097d33fc7f87f



More information about the mesa-commit mailing list