Home
last modified time | relevance | path

Searched refs:last_ust (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_dri.c74 int64_t last_ust, ns_frame, last_msc, next_msc; member
89 if (scrn->last_ust && (ust > scrn->last_ust) && in vl_dri2_handle_stamps()
91 scrn->ns_frame = (ust - scrn->last_ust) / (msc - scrn->last_msc); in vl_dri2_handle_stamps()
93 scrn->last_ust = ust; in vl_dri2_handle_stamps()
280 if (!scrn->last_ust) { in vl_dri2_screen_get_timestamp()
290 return scrn->last_ust; in vl_dri2_screen_get_timestamp()
298 if (stamp && scrn->last_ust && scrn->ns_frame && scrn->last_msc) in vl_dri2_screen_set_next_timestamp()
299 scrn->next_msc = ((int64_t)stamp - scrn->last_ust + scrn->ns_frame/2) / in vl_dri2_screen_set_next_timestamp()
Dvl_winsys_dri3.c92 int64_t last_ust, ns_frame, last_msc, next_msc; member
128 if (scrn->last_ust && (ust_ns > scrn->last_ust) && in dri3_handle_stamps()
130 scrn->ns_frame = (ust_ns - scrn->last_ust) / (msc - scrn->last_msc); in dri3_handle_stamps()
132 scrn->last_ust = ust_ns; in dri3_handle_stamps()
660 if (!scrn->last_ust) { in vl_dri3_screen_get_timestamp()
674 return scrn->last_ust; in vl_dri3_screen_get_timestamp()
684 if (stamp && scrn->last_ust && scrn->ns_frame && scrn->last_msc) in vl_dri3_screen_set_next_timestamp()
685 scrn->next_msc = ((int64_t)stamp - scrn->last_ust + scrn->ns_frame/2) / in vl_dri3_screen_set_next_timestamp()