Searched refs:fScales (Results 1 – 3 of 3) sorted by relevance
/external/skia/gm/ |
D | imagescalealigned.cpp | 24 set.fScales.push_back() = 1; in onOnceBeforeDraw() 26 set.fScales.push_back() = kStretchFactor; in onOnceBeforeDraw() 28 set.fScales.push_back() = 1; in onOnceBeforeDraw() 67 SkSTArray<3, SkScalar> fScales; member 127 SkASSERT(set.fImages.count() == set.fScales.count()); in drawSet() 134 img->width() * (1 + (set.fScales[i] - 1) * set.fVector.x()), in drawSet() 135 img->height() * (1 + (set.fScales[i] - 1) * set.fVector.y())); in drawSet()
|
/external/skia/bench/ |
D | ColorPrivBench.cpp | 37 fScales[i] = i; in onDelayedSetup() 39 if (kScale) fScales[256] = 255; // We'll just do 255 twice if we're limited to [0,255]. in onDelayedSetup() 58 const unsigned scale = fScales[j]; in onDraw() 79 unsigned fScales[257]; // We need space for [0, 256]. member in FourByteInterpBench
|
D | nanobench.cpp | 600 if (1 != sscanf(FLAGS_scales[i], "%f", &fScales.push_back())) { in BenchmarkStream() 737 while (fCurrentScale < fScales.count()) { in rawNext() 760 return new SKPBench(name.c_str(), pic.get(), fClip, fScales[fCurrentScale], in rawNext() 773 fScales[fCurrentScale], false, FLAGS_loopSKP); in rawNext() 1022 SkASSERT_RELEASE(fCurrentScale < fScales.count()); // debugging paranoia in fillCurrentOptions() 1023 log->configOption("scale", SkStringPrintf("%.2g", fScales[fCurrentScale]).c_str()); in fillCurrentOptions() 1051 SkTArray<SkScalar> fScales; member in BenchmarkStream
|