Store enabled instance and device extensions
authorIason Paraskevopoulos <iason.paraskevopoulos@arm.com>
Mon, 8 Nov 2021 13:32:12 +0000 (13:32 +0000)
committerIason Paraskevopoulos <iason.paraskevopoulos@arm.com>
Wed, 17 Nov 2021 11:51:30 +0000 (11:51 +0000)
commit96657394ec6725effe18a2af0516e7f9941811b1
tree3ee879e117b5645d172de57522ef19caa947301c
parent1701c1fea4decbdc38efb6cd74cc7c92a5c1f2fa
Store enabled instance and device extensions

Stores the enabled instance and device extensions during
vkCreateInstance and vkCreateDevice respectively. This fixes an issue
where function pointers for functions of disabled extensions were
returned during vkGetInstanceProcAddr/vkGetDeviceProcAddr.

Adds functionality for adding extensions that belong to a subset of
other extensions in util::extension_list.

Adds function for checking if the proper surface extension has been
enabled in each WSI backend.

Signed-off-by: Iason Paraskevopoulos <iason.paraskevopoulos@arm.com>
Change-Id: If5e23e0d07c9f09006be18c410c4e1d4c3a1e676
12 files changed:
layer/layer.cpp
layer/private_data.cpp
layer/private_data.hpp
util/extension_list.cpp
util/extension_list.hpp
wsi/headless/surface_properties.cpp
wsi/headless/surface_properties.hpp
wsi/surface_properties.hpp
wsi/wayland/surface_properties.cpp
wsi/wayland/surface_properties.hpp
wsi/wsi_factory.cpp
wsi/wsi_factory.hpp