intel: Avoid mapping the texture image for CopyTex{,Sub}Image
authorAdam Jackson <ajax@redhat.com>
Mon, 30 Mar 2009 20:32:11 +0000 (16:32 -0400)
committerAdam Jackson <ajax@redhat.com>
Mon, 30 Mar 2009 20:32:11 +0000 (16:32 -0400)
commit37fb2d9b23eab5dbbb43a212c3475cb8016837d8
tree7c89bed829d406647a30f1ac33eba385bf6d274d
parentf24ce499691a342b680e6c3d7aa257480e5d69d9
intel: Avoid mapping the texture image for CopyTex{,Sub}Image

We don't upload the pixels with the CPU in that case, so the map will
only serve as a way of triggering cache flushes over a bunch of data we
don't touch.
src/mesa/drivers/dri/intel/intel_tex_image.c