Mesa (master): mesa: add support for ATI_envmap_bumpmap

Roland Scheidegger sroland at kemper.freedesktop.org
Thu Mar 12 14:08:19 UTC 2009


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

Author: Roland Scheidegger <sroland at vmware.com>
Date:   Thu Mar 12 15:01:16 2009 +0100

mesa: add support for ATI_envmap_bumpmap

add new entrypoints, new texture format, etc
translate in texenvprogram.c for drivers using the mesa-generated tex env
fragment program
also handled in swrast, but not tested (cannot work due to negative texel
results not handled correctly)

---

 src/mesa/glapi/gl_API.xml        |   50 +++++++++++
 src/mesa/main/api_exec.c         |    6 ++
 src/mesa/main/config.h           |    3 +-
 src/mesa/main/context.c          |    3 +
 src/mesa/main/dlist.c            |   46 ++++++++++
 src/mesa/main/extensions.c       |    2 +
 src/mesa/main/image.c            |  153 ++++++++++++++++++++++++++++++++-
 src/mesa/main/image.h            |    7 ++
 src/mesa/main/macros.h           |    7 +-
 src/mesa/main/mipmap.c           |   14 +++-
 src/mesa/main/mtypes.h           |    5 +
 src/mesa/main/texenv.c           |  174 +++++++++++++++++++++++++++++++++++++-
 src/mesa/main/texenv.h           |   11 +++
 src/mesa/main/texenvprogram.c    |   99 ++++++++++++++++++++--
 src/mesa/main/texformat.c        |   42 +++++++++
 src/mesa/main/texformat.h        |   14 +++-
 src/mesa/main/texformat_tmp.h    |   17 ++++-
 src/mesa/main/teximage.c         |   39 ++++++++-
 src/mesa/main/texstate.c         |   20 +++++
 src/mesa/main/texstore.c         |   91 ++++++++++++++++++++-
 src/mesa/main/texstore.h         |    2 +-
 src/mesa/shader/prog_statevars.c |   28 ++++++
 src/mesa/shader/prog_statevars.h |    2 +
 src/mesa/swrast/s_texcombine.c   |   95 ++++++++++++++++++++-
 24 files changed, 906 insertions(+), 24 deletions(-)

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



More information about the mesa-commit mailing list