aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIan Elliott <ian@lunarg.com>2015-07-06 14:31:32 -0600
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-07-17 10:05:22 -0600
commit684ac6acac23d2826fd2a4b67c527a8b45a6045c (patch)
treec93d9edda8bda16c1521771c9dfb25fa27cf5dae /include
parent35489e3765be03ce1997fd7b79c771eae658595c (diff)
downloadusermoji-684ac6acac23d2826fd2a4b67c527a8b45a6045c.tar.xz
layers: INITIAL Changes to use new WSI swapchain extensions.
There are still some FIXME's that must be addressed, as well as fully supporting the new entrypoints. This patch serves as a basis for review and further work with other Vulkan engineers.
Diffstat (limited to 'include')
-rw-r--r--include/vk_layer.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/vk_layer.h b/include/vk_layer.h
index 02591550..129265f6 100644
--- a/include/vk_layer.h
+++ b/include/vk_layer.h
@@ -7,8 +7,8 @@
#include "vulkan.h"
#include "vk_debug_report_lunarg.h"
#include "vk_debug_marker_lunarg.h"
-#include "vk_wsi_lunarg.h"
-#include "vk_wsi_lunarg.h"
+#include "vk_wsi_swapchain.h"
+#include "vk_wsi_device_swapchain.h"
#if defined(__GNUC__) && __GNUC__ >= 4
# define VK_LAYER_EXPORT __attribute__((visibility("default")))
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
@@ -161,9 +161,11 @@ typedef struct VkLayerDispatchTable_
PFN_vkCmdNextSubpass CmdNextSubpass;
PFN_vkCmdEndRenderPass CmdEndRenderPass;
PFN_vkCmdExecuteCommands CmdExecuteCommands;
+ PFN_vkGetSurfaceInfoWSI GetSurfaceInfoWSI;
PFN_vkCreateSwapChainWSI CreateSwapChainWSI;
PFN_vkDestroySwapChainWSI DestroySwapChainWSI;
PFN_vkGetSwapChainInfoWSI GetSwapChainInfoWSI;
+ PFN_vkAcquireNextImageWSI AcquireNextImageWSI;
PFN_vkQueuePresentWSI QueuePresentWSI;
PFN_vkDbgCreateMsgCallback DbgCreateMsgCallback;
PFN_vkDbgDestroyMsgCallback DbgDestroyMsgCallback;
@@ -188,6 +190,7 @@ typedef struct VkLayerInstanceDispatchTable_
PFN_vkGetPhysicalDeviceMemoryProperties GetPhysicalDeviceMemoryProperties;
PFN_vkGetPhysicalDeviceExtensionProperties GetPhysicalDeviceExtensionProperties;
PFN_vkGetPhysicalDeviceLayerProperties GetPhysicalDeviceLayerProperties;
+ PFN_vkGetPhysicalDeviceSurfaceSupportWSI GetPhysicalDeviceSurfaceSupportWSI;
PFN_vkDbgCreateMsgCallback DbgCreateMsgCallback;
PFN_vkDbgDestroyMsgCallback DbgDestroyMsgCallback;
PFN_vkDbgStringCallback DbgStringCallback;