radv_QueueSubmit(_queue, 0, NULL, swapchain->fences[0]);
- result = swapchain->queue_present(swapchain, queue,
+ result = swapchain->queue_present(swapchain,
pPresentInfo->pImageIndices[i]);
/* TODO: What if one of them returns OUT_OF_DATE? */
if (result != VK_SUCCESS)
uint64_t timeout, VkSemaphore semaphore,
uint32_t *image_index);
VkResult (*queue_present)(struct radv_swapchain *swap_chain,
- struct radv_queue *queue,
uint32_t image_index);
};
static VkResult
wsi_wl_swapchain_queue_present(struct radv_swapchain *radv_chain,
- struct radv_queue *queue,
uint32_t image_index)
{
struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)radv_chain;
static VkResult
x11_queue_present(struct radv_swapchain *radv_chain,
- struct radv_queue *queue,
uint32_t image_index)
{
struct x11_swapchain *chain = (struct x11_swapchain *)radv_chain;
anv_QueueSubmit(_queue, 0, NULL, swapchain->fences[0]);
- result = swapchain->queue_present(swapchain, queue,
+ result = swapchain->queue_present(swapchain,
pPresentInfo->pImageIndices[i]);
/* TODO: What if one of them returns OUT_OF_DATE? */
if (result != VK_SUCCESS)
uint64_t timeout, VkSemaphore semaphore,
uint32_t *image_index);
VkResult (*queue_present)(struct anv_swapchain *swap_chain,
- struct anv_queue *queue,
uint32_t image_index);
};
static VkResult
wsi_wl_swapchain_queue_present(struct anv_swapchain *anv_chain,
- struct anv_queue *queue,
uint32_t image_index)
{
struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)anv_chain;
static VkResult
x11_queue_present(struct anv_swapchain *anv_chain,
- struct anv_queue *queue,
uint32_t image_index)
{
struct x11_swapchain *chain = (struct x11_swapchain *)anv_chain;