summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_texcombine.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-11-21 17:09:47 +0800
committerEric Anholt <eric@anholt.net>2008-11-21 17:35:33 +0800
commit3e0164aabb48a99fce58964cad99fd3978ee84f6 (patch)
tree351bf921dd35ee641a601ee67cfdc5b4183f2bc1 /src/mesa/swrast/s_texcombine.h
parenta6aa926e3f0b6237679db0d3331690d2a96adbc2 (diff)
i965: Add support for accelerated CopyTexSubImage.
There were hacks in EmitCopyBlit before to adjust offsets so that y=0 after the offsets had been adjusted for a negative pitch. It appears that those hacks were due to an unclear and surprising aspect of the hardware: inverting the pitch results in the blit into the specified rectangle being inverted, without the user needing to adjust y and base offset. Tested with piglit copytexsubimage test on 915GM and GM965. Should fix serious performance issues with ETQW and other applications.
Diffstat (limited to 'src/mesa/swrast/s_texcombine.h')
0 files changed, 0 insertions, 0 deletions