Mesa (master): mesa: remove the dstX/Y/Zoffset params to _mesa_texstore() functions

Brian Paul brianp at kemper.freedesktop.org
Mon Jan 2 18:58:58 UTC 2012


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

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jan  2 11:55:39 2012 -0700

mesa: remove the dstX/Y/Zoffset params to _mesa_texstore() functions

The were always zero.  When doing a sub-texture replacement we account
for the dstX/Y/Zoffsets when we map the texture image.  So no need to
pass them into the texstore code anymore.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/intel/intel_tex_subimage.c |    1 -
 src/mesa/drivers/dri/nouveau/nouveau_texture.c  |    4 +-
 src/mesa/main/texcompress_fxt1.c                |   18 +--
 src/mesa/main/texcompress_rgtc.c                |   37 +---
 src/mesa/main/texcompress_s3tc.c                |   39 +---
 src/mesa/main/texstore.c                        |  317 +++++++----------------
 src/mesa/main/texstore.h                        |    1 -
 src/mesa/state_tracker/st_cb_drawpixels.c       |    1 -
 src/mesa/state_tracker/st_cb_texture.c          |    2 -
 9 files changed, 111 insertions(+), 309 deletions(-)

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



More information about the mesa-commit mailing list