History log of /external/mesa3d/src/vulkan/wsi/wsi_common.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c085bfcec9915879e97a33c5235cf21607c72318 10-Jan-2017 Chad Versace <chadversary@chromium.org> vulkan: Add new cast macros for VkIcd types

We can't import the latest vk_icd.h because the new header breaks the
Mesa build. This patch defines new casting macros,
ICD_DEFINE_NONDISP_HANDLE_CASTS() and ICD_FROM_HANDLE(), which can
handle both the old and new vk_icd.h, and will prevent the build from
breaking when we update the header.

In the old vk_icd.h, types were defined as:

typedef struct _VkIcdFoo {
...
} VkIcdFoo;

Commit 6ebba1f6 in the Vulkan loader changed the above to

typedef {
...
} VkIcdFoo;

because the old definitions violated the C and C++ specs. According to
the specs, identifiers that begins with an underscore followed by an
uppercase letter are reserved. (It's pedantic, I know), See the Github
issue referenced below.

References: https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/7
References: https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/commit/6ebba1f630015af7a78767a15c1e74ba9b23601c
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Cc: mesa-stable@lists.freedesktop.org
/external/mesa3d/src/vulkan/wsi/wsi_common.h
1cdca1eb16ab33da338dda076794efd4bf859f7b 25-Oct-2016 Dave Airlie <airlied@redhat.com> vulkan/wsi: store present mode in swapchain base class

This just moves this up a level as x11 will need it to
implement things properly.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/vulkan/wsi/wsi_common.h
3f7ef2488938d31b5ead043891fadc3cee4c6f05 14-Oct-2016 Dave Airlie <airlied@redhat.com> anv: move to using shared wsi code

This moves the shared code to a common subdirectory
and makes anv linked to that code instead of the copy
it was using.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/vulkan/wsi/wsi_common.h