}
-/** Round a number up to the nearest multiple of another number.
- * @param c Index.
- * @param stride Array of numbers to round, indexed by c.
- * @param t Multiple to round to.
- * @return Rounded number.
- */
-int
-stride_round_up (int c, int const * stride, int t)
-{
- int const a = stride[c] + (t - 1);
- return a - (a % t);
-}
-
-
/** Trip an assert if the caller is not in the UI thread */
void
ensure_ui_thread ()