anv: automake: use VISIBILITY_CFLAGS to restrict symbol visibility
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 28 Jul 2016 13:40:08 +0000 (14:40 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 18 Aug 2016 13:53:30 +0000 (14:53 +0100)
commit40e4fff563ef1448656b1d3e6c11f5bd0c0b9e8a
tree92ad369d0f04dd367d8523bb0156648727203856
parentb0d56f2f4f1f4f7ecdf96f0a0246d0db5392e075
anv: automake: use VISIBILITY_CFLAGS to restrict symbol visibility

Hide the internal symbols and annotate the vk_icdGetInstanceProcAddr as public
since the loader needs it (since v1 of the loader interface).

v2: Add VISIBILITY_CFLAGS to AM_CFLAGS (Ken)

Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (v1)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/vulkan/Makefile.am
src/intel/vulkan/anv_device.c