intel: Skip texture validation logic when nothing has changed.
authorEric Anholt <eric@anholt.net>
Thu, 20 Dec 2012 22:09:32 +0000 (14:09 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 28 Dec 2012 19:05:23 +0000 (11:05 -0800)
commit2f225f61451abd51c283c7ff103d7fd50a935034
treedb7b59b28d59b1420f937077be71a74b6ccbccd1
parent73c376bbde0cbea1d1e5a6d71df965d2e903e003
intel: Skip texture validation logic when nothing has changed.

Improves GLBenchmark 2.1 offscreen performance by 3.2% +/- 1.5% (n=52).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_tex.c
src/mesa/drivers/dri/intel/intel_tex_image.c
src/mesa/drivers/dri/intel/intel_tex_obj.h
src/mesa/drivers/dri/intel/intel_tex_validate.c