st/dri: move some image functions to dri_helpers.c
authorGurchetan Singh <gurchetansingh@chromium.org>
Fri, 28 Jul 2017 03:48:22 +0000 (20:48 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 7 Aug 2017 17:16:48 +0000 (18:16 +0100)
commit12fcdc4ba04cf7ffe0370cd35ebb26002790b9eb
treed6b0929c131231660d0f0d317b5222e1e277ce01
parent18eb3bdb858d221ec0f3e87e29819800c7df7760
st/dri: move some image functions to dri_helpers.c

These functions will be used both by drisw.c and
dri2.c. This patch also moves some headers that can
be shared.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/state_trackers/dri/dri2.c
src/gallium/state_trackers/dri/dri_helpers.c
src/gallium/state_trackers/dri/dri_helpers.h