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 124 SkASSERT(set.fImages.count() == set.fScales.count()); in drawSet() 131 img->width() * (1 + (set.fScales[i] - 1) * set.fVector.x()), in drawSet() 132 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 | 578 if (1 != sscanf(FLAGS_scales[i], "%f", &fScales.push_back())) { in BenchmarkStream() 677 while (fCurrentScale < fScales.count()) { in rawNext() 701 return new SKPBench(name.c_str(), pic.get(), fClip, fScales[fCurrentScale], in rawNext() 943 SkASSERT_RELEASE(fCurrentScale < fScales.count()); // debugging paranoia in fillCurrentOptions() 944 log->configOption("scale", SkStringPrintf("%.2g", fScales[fCurrentScale]).c_str()); in fillCurrentOptions() 972 SkTArray<SkScalar> fScales; member in BenchmarkStream
|