Lines Matching defs:interval
529 static void driSetSwapInterval(__DRIdrawable *dPriv, unsigned int interval)
531 dPriv->swap_interval = interval;
1054 * Calculate amount of swap interval used between GLX buffer swaps.
1057 * interval time used between GLX buffer swaps is calculated.
1062 * swap interval (as set by \c glXSwapIntervalSGI), and \f$t_r\f$ time
1070 * \return If less than a single swap interval time period was required
1072 * 1.0 is returned. If exactly one swap interval time period is
1087 int interval;
1092 interval = (dPriv->swap_interval != 0) ? dPriv->swap_interval : 1;
1096 * (current_UST - last_swap_UST) / (interval * us_per_refresh). We get
1098 * dPriv->swap_ust. interval has already been calculated.
1104 * (interval * 1000000 * d) and move n into the numerator.
1109 usage /= (interval * d);