[Mesa-dev] [PATCH 0/4] Add tiled fast-paths for texture download

Jason Ekstrand jason at jlekstrand.net
Sat Jan 3 11:55:48 PST 2015


And I forgot to CC chad...

On Sat, Jan 3, 2015 at 11:54 AM, Jason Ekstrand <jason at jlekstrand.net>
wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150103/247005b4/attachment.html>


More information about the mesa-dev mailing list