Home
last modified time | relevance | path

Searched refs:kTablePeriod (Results 1 - 1 of 1) sorted by relevance

/third_party/skia/samplecode/
H A DSamplePathText.cpp382 constexpr static int kTablePeriod = 1 << 12; in apply() local
383 static float sin2table[kTablePeriod + 1]; in apply()
386 for (int i = 0; i <= kTablePeriod; ++i) { in apply()
387 const double sintheta = sin(i * (SK_ScalarPI / kTablePeriod)); in apply()
404 offsets).abs() * (float(kTablePeriod) / float(SK_ScalarPI)); in apply()
410 (ipart & (kTablePeriod-1)).store(indices); in apply()

Completed in 2 milliseconds