Home
last modified time | relevance | path

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

/third_party/skia/gm/
H A Dimagescalealigned.cpp33 set.fScales.push_back() = 1;
35 set.fScales.push_back() = kStretchFactor;
37 set.fScales.push_back() = 1;
76 SkSTArray<3, SkScalar> fScales; member
136 SkASSERT(set.fImages.count() == set.fScales.count()); in drawSet()
143 img->width() * (1 + (set.fScales[i] - 1) * set.fVector.x()), in drawSet()
144 img->height() * (1 + (set.fScales[i] - 1) * set.fVector.y())); in drawSet()
/third_party/skia/bench/
H A DColorPrivBench.cpp37 fScales[i] = i;
39 if (kScale) fScales[256] = 255; // We'll just do 255 twice if we're limited to [0,255].
58 const unsigned scale = fScales[j];
79 unsigned fScales[257]; // We need space for [0, 256]. member in FourByteInterpBench
H A Dnanobench.cpp639 if (1 != sscanf(FLAGS_scales[i], "%f", &fScales.push_back())) { in BenchmarkStream()
805 while (fCurrentScale < fScales.count()) { in rawNext()
825 return new SKPBench(name.c_str(), pic.get(), fClip, fScales[fCurrentScale], in rawNext()
835 fScales[fCurrentScale], FLAGS_loopSKP); in rawNext()
1080 SkASSERT_RELEASE(fCurrentScale < fScales.count()); // debugging paranoia in fillCurrentOptions()
1081 log.appendString("scale", SkStringPrintf("%.2g", fScales[fCurrentScale]).c_str()); in fillCurrentOptions()
1110 SkTArray<SkScalar> fScales;

Completed in 3 milliseconds