Mesa (master): mesa: move gl_texture_image::FetchTexel fields to swrast

Brian Paul brianp at kemper.freedesktop.org
Sat Sep 17 20:58:38 UTC 2011


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

Author: Brian Paul <brianp at vmware.com>
Date:   Sat Sep 17 14:50:48 2011 -0600

mesa: move gl_texture_image::FetchTexel fields to swrast

This also involves passing swrast_texture_image instead of gl_texture_image
into all the fetch functions.

---

 src/mesa/main/mtypes.h           |   34 ----
 src/mesa/main/texcompress.c      |    9 +-
 src/mesa/main/texcompress_fxt1.c |    9 +-
 src/mesa/main/texcompress_fxt1.h |    6 +-
 src/mesa/main/texcompress_rgtc.c |   42 +++--
 src/mesa/main/texcompress_rgtc.h |   18 +-
 src/mesa/main/texcompress_s3tc.c |   39 +++--
 src/mesa/main/texcompress_s3tc.h |   18 +-
 src/mesa/main/teximage.c         |    2 -
 src/mesa/swrast/s_context.h      |   42 ++++-
 src/mesa/swrast/s_texfetch.c     |   22 ++-
 src/mesa/swrast/s_texfetch.h     |    3 -
 src/mesa/swrast/s_texfetch_tmp.h |  370 +++++++++++++++++++-------------------
 src/mesa/swrast/s_texfilter.c    |   92 ++++++----
 src/mesa/swrast/s_texrender.c    |   27 ++--
 15 files changed, 378 insertions(+), 355 deletions(-)

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



More information about the mesa-commit mailing list