i965: expose type of memcpy instead of memcpy function itself
authorTapani Pälli <tapani.palli@intel.com>
Wed, 19 Sep 2018 07:16:58 +0000 (10:16 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Tue, 23 Oct 2018 11:08:05 +0000 (14:08 +0300)
commit91d3a5d1a86915480e9e07cf370ad0e9743ab5b5
tree43c2aeee25a1f8a1719ae65501e133d6f1dfd3d1
parentbc021be78d2d5a36376494fca7eaf7f0728c6a29
i965: expose type of memcpy instead of memcpy function itself

There is currently no use of returned memcpy functions outside
intel_tiled_memcpy. Patch changes intel_get_memcpy to return memcpy
type instead of actual function. This makes it easier later to separate
streaming load copy in to own static library.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/intel_pixel_read.c
src/mesa/drivers/dri/i965/intel_tex_image.c
src/mesa/drivers/dri/i965/intel_tiled_memcpy.c
src/mesa/drivers/dri/i965/intel_tiled_memcpy.h