[Mesa-dev] [PATCH 2/4] i965: Refactor tiled memcpy functions and move them into their own file
Chad Versace
chad.versace at intel.com
Tue Jan 13 10:24:55 PST 2015
On 01/12/2015 10:22 AM, Jason Ekstrand wrote:
> From: Sisinty Sasmita Patra <sisinty.patra at intel.com>
>
> This commit refactors the tiled_memcpy code in intel_tex_subimage.c and
> moves it into its own file intel_tiled_memcpy files. Also, xtile_copy and
> ytile_copy are renamed to linear_to_xtiled and linear_to_ytiled
> respectively. The *_faster functions are similarly renamed.
>
> There was also a bit of logic to select between the the libc provided
> memcpy function and our custom memcpy that does an RGBA -> BGRA swizzle.
> This was moved into an intel_get_memcpy function so that rgba8_copy can
> live (and be inlined) in intel_tiled_memcpy.c.
>
> v2: Jason Ekstrand <jason.ekstrand at intel.com>
> - Better commit message
> - Fix up the copyright on the intel_tiled_memcpy files
> - Various whitespace fixes
> - Moved a bunch of stuff that did not need to be exposed from
> intel_tiled_memcpy.h to intel_tiled_memcpy.c
> - Added proper documentation for intel_get_memcpy
> - Incorperated the ptrdiff_t tweaks from commit 225a09790
>
> v3: Jason Ekstrand <jason.ekstrand at intel.com>
> - Fixed a comment
> - Move the tile size constants into the .c file
>
> Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
Patch 2 is
Reviewed-by: Chad Versace <chad.versace at intel.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150113/45c03ffa/attachment.sig>
More information about the mesa-dev
mailing list