anv/wsi/x11: push device out of x11 connection fns.
authorDave Airlie <airlied@redhat.com>
Thu, 13 Oct 2016 04:07:27 +0000 (05:07 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 19 Oct 2016 00:15:42 +0000 (10:15 +1000)
commitbe61fff6da32267cb5d463197df22be8d8875ff8
tree5bbd5704c96b660246735411d34ca956c022f190
parente9cf7c4460588eec68074c477bf3c7add6d21da7
anv/wsi/x11: push device out of x11 connection fns.

just pass the allocator/wsi_interface instead.

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