We have had fast-paths in our driver for uploading 8-bit RGBA or BGRA textures for some time now. The basic idea behind the fast-path is that we can tile/detile in software faster than going through the GTT or waiting on the blitter to do it for us. This series adds the capability of doing it in the other direction.
The work was started by Sasmita Patra who was interning with us for a little while. It's been sitting around in my personal repo for over a month so I figured I should fix it up and send it out. I went ahead and left Sasmita as the author with my Signed-off-by because. Jason Ekstrand (1): i965/tex_subimage: Use the fast tiled path for rectangle textures Sisinty Sasmita Patra (3): i965: Refactor tiled memcpy functions and move them into their own file i965/tiled_memcpy: Add tiled-to-linear paths i965: Implemente a tiled fast-path for glReadPixels and glGetTexImage src/mesa/drivers/dri/i965/Makefile.sources | 2 + src/mesa/drivers/dri/i965/intel_pixel_read.c | 134 ++++- src/mesa/drivers/dri/i965/intel_tex.h | 9 + src/mesa/drivers/dri/i965/intel_tex_image.c | 137 ++++- src/mesa/drivers/dri/i965/intel_tex_subimage.c | 397 +------------- src/mesa/drivers/dri/i965/intel_tiled_memcpy.c | 700 +++++++++++++++++++++++++ src/mesa/drivers/dri/i965/intel_tiled_memcpy.h | 68 +++ 7 files changed, 1051 insertions(+), 396 deletions(-) create mode 100644 src/mesa/drivers/dri/i965/intel_tiled_memcpy.c create mode 100644 src/mesa/drivers/dri/i965/intel_tiled_memcpy.h -- 2.2.0 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev