Home
last modified time | relevance | path

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

/external/chromium_org/third_party/skia/bench/
DGameBench.cpp39 , 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 …]
/external/skia/bench/
DGameBench.cpp39 , 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 …]