diff options
author | Eric Anholt <eric@anholt.net> | 2008-11-21 17:09:47 +0800 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-11-24 13:09:50 -0700 |
commit | 7e97362884bcaa564730b05c28fb9f33734c7449 (patch) | |
tree | 7017d7dd0373c8df431942b10942f4541992c0d1 /src/mesa/shader/slang/slang_codegen.c | |
parent | a4d43c20121ae384a61663c5e954e4ab6a65cf4f (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/shader/slang/slang_codegen.c')
0 files changed, 0 insertions, 0 deletions