Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_winsys_dri.c72 int64_t last_ust, ns_frame, last_msc, next_msc; member
87 if (scrn->last_ust && (ust > scrn->last_ust) && in vl_dri2_handle_stamps()
89 scrn->ns_frame = (ust - scrn->last_ust) / (msc - scrn->last_msc); in vl_dri2_handle_stamps()
91 scrn->last_ust = ust; in vl_dri2_handle_stamps()
276 if (!scrn->last_ust) { in vl_dri2_screen_get_timestamp()
286 return scrn->last_ust; in vl_dri2_screen_get_timestamp()
294 if (stamp && scrn->last_ust && scrn->ns_frame && scrn->last_msc) in vl_dri2_screen_set_next_timestamp()
295 scrn->next_msc = ((int64_t)stamp - scrn->last_ust + scrn->ns_frame/2) / in vl_dri2_screen_set_next_timestamp()
Dvl_winsys_dri3.c89 int64_t last_ust, ns_frame, last_msc, next_msc; member
123 if (scrn->last_ust && (ust_ns > scrn->last_ust) && in dri3_handle_stamps()
125 scrn->ns_frame = (ust_ns - scrn->last_ust) / (msc - scrn->last_msc); in dri3_handle_stamps()
127 scrn->last_ust = ust_ns; in dri3_handle_stamps()
651 if (!scrn->last_ust) { in vl_dri3_screen_get_timestamp()
665 return scrn->last_ust; in vl_dri3_screen_get_timestamp()
675 if (stamp && scrn->last_ust && scrn->ns_frame && scrn->last_msc) in vl_dri3_screen_set_next_timestamp()
676 scrn->next_msc = ((int64_t)stamp - scrn->last_ust + scrn->ns_frame/2) / in vl_dri3_screen_set_next_timestamp()