Lines Matching refs:swapchain_data
143 struct swapchain_data { struct
490 static struct swapchain_data *new_swapchain_data(VkSwapchainKHR swapchain, in new_swapchain_data()
494 struct swapchain_data *data = rzalloc(NULL, struct swapchain_data); in new_swapchain_data()
503 static void destroy_swapchain_data(struct swapchain_data *data) in destroy_swapchain_data()
509 struct overlay_draw *get_overlay_draw(struct swapchain_data *data) in get_overlay_draw()
769 static void snapshot_swapchain_frame(struct swapchain_data *data) in snapshot_swapchain_frame()
868 struct swapchain_data *data = (struct swapchain_data *) _data; in get_time_stat()
882 struct swapchain_data *data = (struct swapchain_data *) _data; in get_stat()
893 static void position_layer(struct swapchain_data *data) in position_layer()
922 static void compute_swapchain_display(struct swapchain_data *data) in compute_swapchain_display()
1013 static void ensure_swapchain_fonts(struct swapchain_data *data, in ensure_swapchain_fonts()
1153 static struct overlay_draw *render_swapchain_display(struct swapchain_data *data, in render_swapchain_display()
1416 static void setup_swapchain_data_pipeline(struct swapchain_data *data) in setup_swapchain_data_pipeline()
1671 static void setup_swapchain_data(struct swapchain_data *data, in setup_swapchain_data()
1781 static void shutdown_swapchain_data(struct swapchain_data *data) in shutdown_swapchain_data()
1823 static struct overlay_draw *before_present(struct swapchain_data *swapchain_data, in before_present() argument
1829 struct instance_data *instance_data = swapchain_data->device->instance; in before_present()
1832 snapshot_swapchain_frame(swapchain_data); in before_present()
1834 if (!instance_data->params.no_display && swapchain_data->n_frames > 0) { in before_present()
1835 compute_swapchain_display(swapchain_data); in before_present()
1836 draw = render_swapchain_display(swapchain_data, present_queue, in before_present()
1854 struct swapchain_data *swapchain_data = new_swapchain_data(*pSwapchain, device_data); in overlay_CreateSwapchainKHR() local
1855 setup_swapchain_data(swapchain_data, pCreateInfo); in overlay_CreateSwapchainKHR()
1870 struct swapchain_data *swapchain_data = in overlay_DestroySwapchainKHR() local
1871 FIND(struct swapchain_data, swapchain); in overlay_DestroySwapchainKHR()
1873 shutdown_swapchain_data(swapchain_data); in overlay_DestroySwapchainKHR()
1874 swapchain_data->device->vtable.DestroySwapchainKHR(device, swapchain, pAllocator); in overlay_DestroySwapchainKHR()
1875 destroy_swapchain_data(swapchain_data); in overlay_DestroySwapchainKHR()
1943 struct swapchain_data *swapchain_data = in overlay_QueuePresentKHR() local
1944 FIND(struct swapchain_data, swapchain); in overlay_QueuePresentKHR()
1948 before_present(swapchain_data, in overlay_QueuePresentKHR()
1962 swapchain_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_present_timing] += ts1 - ts0; in overlay_QueuePresentKHR()
1967 struct swapchain_data *swapchain_data = in overlay_QueuePresentKHR() local
1968 FIND(struct swapchain_data, swapchain); in overlay_QueuePresentKHR()
1977 struct overlay_draw *draw = before_present(swapchain_data, in overlay_QueuePresentKHR()
1994 swapchain_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_present_timing] += ts1 - ts0; in overlay_QueuePresentKHR()
2012 struct swapchain_data *swapchain_data = in overlay_AcquireNextImageKHR() local
2013 FIND(struct swapchain_data, swapchain); in overlay_AcquireNextImageKHR()
2014 struct device_data *device_data = swapchain_data->device; in overlay_AcquireNextImageKHR()
2021 swapchain_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_acquire_timing] += ts1 - ts0; in overlay_AcquireNextImageKHR()
2022 swapchain_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_acquire]++; in overlay_AcquireNextImageKHR()
2032 struct swapchain_data *swapchain_data = in overlay_AcquireNextImage2KHR() local
2033 FIND(struct swapchain_data, pAcquireInfo->swapchain); in overlay_AcquireNextImage2KHR()
2034 struct device_data *device_data = swapchain_data->device; in overlay_AcquireNextImage2KHR()
2040 swapchain_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_acquire_timing] += ts1 - ts0; in overlay_AcquireNextImage2KHR()
2041 swapchain_data->frame_stats.stats[OVERLAY_PARAM_ENABLED_acquire]++; in overlay_AcquireNextImage2KHR()