anv/wsi: split image alloc/free out to separate fns.
authorDave Airlie <airlied@redhat.com>
Fri, 14 Oct 2016 00:34:10 +0000 (01:34 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 19 Oct 2016 00:15:43 +0000 (10:15 +1000)
commit1720bbd353d87412754fd4ecb6fa76406d54d413
treef811e4aa2700c263d7cb295e2da6fc69e7fab70f
parent828b8dbce48a65c62330efab399d2a79496f0857
anv/wsi: split image alloc/free out to separate fns.

This moves these outside the wsi platform code, so we can reuse
that code

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_wsi.c
src/intel/vulkan/anv_wsi.h
src/intel/vulkan/anv_wsi_wayland.c
src/intel/vulkan/anv_wsi_x11.c