summaryrefslogtreecommitdiffstats
path: root/src/vulkan/wsi/wsi_common_x11.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-01-24 15:11:01 -0800
committerJason Ekstrand <[email protected]>2017-04-03 13:51:08 -0700
commitf82b6c6272b48b4ce1f267239fa5b1cd3dfffcc7 (patch)
treeaf9d6edfe1a31672da755f392174c43e90fa932e /src/vulkan/wsi/wsi_common_x11.c
parent3598a2907c071ca4642b8b247c8b0724681ab869 (diff)
vulkan/wsi: Plumb present regions through the common code
Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Daniel Stone <[email protected]> Acked-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/vulkan/wsi/wsi_common_x11.c')
-rw-r--r--src/vulkan/wsi/wsi_common_x11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c
index 4afd6063385..c399aae5afd 100644
--- a/src/vulkan/wsi/wsi_common_x11.c
+++ b/src/vulkan/wsi/wsi_common_x11.c
@@ -860,7 +860,8 @@ x11_acquire_next_image(struct wsi_swapchain *anv_chain,
static VkResult
x11_queue_present(struct wsi_swapchain *anv_chain,
- uint32_t image_index)
+ uint32_t image_index,
+ const VkPresentRegionKHR *damage)
{
struct x11_swapchain *chain = (struct x11_swapchain *)anv_chain;