Lines Matching refs:n_frames
182 uint64_t n_frames; member
773 uint32_t f_idx = data->n_frames % ARRAY_SIZE(data->frames_stats); in snapshot_swapchain_frame()
862 data->n_frames++; in snapshot_swapchain_frame()
869 if ((ARRAY_SIZE(data->frames_stats) - _idx) > data->n_frames) in get_time_stat()
872 data->n_frames < ARRAY_SIZE(data->frames_stats) ? in get_time_stat()
873 _idx - data->n_frames : in get_time_stat()
874 _idx + data->n_frames; in get_time_stat()
883 if ((ARRAY_SIZE(data->frames_stats) - _idx) > data->n_frames) in get_stat()
886 data->n_frames < ARRAY_SIZE(data->frames_stats) ? in get_stat()
887 _idx - data->n_frames : in get_stat()
888 _idx + data->n_frames; in get_stat()
936 ImGui::Text("Frames: %" PRIu64, data->n_frames); in compute_swapchain_display()
945 for (uint32_t f = 0; f < MIN2(data->n_frames, ARRAY_SIZE(data->frames_stats)); f++) { in compute_swapchain_display()
1834 if (!instance_data->params.no_display && swapchain_data->n_frames > 0) { in before_present()