Searched refs:fNumSaved (Results 1 – 2 of 2) sorted by relevance
/external/skqp/bench/ |
D | GameBench.cpp | 41 , fNumSaved(0) in GameBench() 148 for (int i = 0; i < loops; ++i, ++fNumSaved) { in onDraw() 151 for (int j = 0; j < fNumSaved; ++j) { in onDraw() 168 fNumSaved = 0; in onDraw() 171 SkASSERT(fNumSaved < kNumBeforeClear); in onDraw() 175 fSaved[fNumSaved][0] = transRand.nextRangeScalar(0.0f, maxTransX); in onDraw() 176 fSaved[fNumSaved][1] = transRand.nextRangeScalar(0.0f, maxTransY); in onDraw() 179 fSaved[fNumSaved][0] = SkScalarFloorToScalar(fSaved[fNumSaved][0]); in onDraw() 180 fSaved[fNumSaved][1] = SkScalarFloorToScalar(fSaved[fNumSaved][1]); in onDraw() 183 mat.setTranslate(fSaved[fNumSaved][0], fSaved[fNumSaved][1]); in onDraw() [all …]
|
/external/skia/bench/ |
D | GameBench.cpp | 43 , fNumSaved(0) in GameBench() 146 for (int i = 0; i < loops; ++i, ++fNumSaved) { in onDraw() 149 for (int j = 0; j < fNumSaved; ++j) { in onDraw() 166 fNumSaved = 0; in onDraw() 169 SkASSERT(fNumSaved < kNumBeforeClear); in onDraw() 173 fSaved[fNumSaved][0] = transRand.nextRangeScalar(0.0f, maxTransX); in onDraw() 174 fSaved[fNumSaved][1] = transRand.nextRangeScalar(0.0f, maxTransY); in onDraw() 177 fSaved[fNumSaved][0] = SkScalarFloorToScalar(fSaved[fNumSaved][0]); in onDraw() 178 fSaved[fNumSaved][1] = SkScalarFloorToScalar(fSaved[fNumSaved][1]); in onDraw() 181 mat.setTranslate(fSaved[fNumSaved][0], fSaved[fNumSaved][1]); in onDraw() [all …]
|