Home
last modified time | relevance | path

Searched refs:fScales (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/gm/
Dimagescalealigned.cpp34 set.fScales.push_back() = 1; in onOnceBeforeDraw()
36 set.fScales.push_back() = kStretchFactor; in onOnceBeforeDraw()
38 set.fScales.push_back() = 1; in onOnceBeforeDraw()
77 SkSTArray<3, SkScalar> fScales; member
137 SkASSERT(set.fImages.count() == set.fScales.count()); in drawSet()
144 img->width() * (1 + (set.fScales[i] - 1) * set.fVector.x()), in drawSet()
145 img->height() * (1 + (set.fScales[i] - 1) * set.fVector.y())); in drawSet()
/third_party/skia/gm/
Dimagescalealigned.cpp33 set.fScales.push_back() = 1; in onOnceBeforeDraw()
35 set.fScales.push_back() = kStretchFactor; in onOnceBeforeDraw()
37 set.fScales.push_back() = 1; in onOnceBeforeDraw()
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/flutter/skia/bench/
DColorPrivBench.cpp37 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
Dnanobench.cpp654 if (1 != sscanf(FLAGS_scales[i], "%f", &fScales.push_back())) { in BenchmarkStream()
792 while (fCurrentScale < fScales.count()) { in rawNext()
815 return new SKPBench(name.c_str(), pic.get(), fClip, fScales[fCurrentScale], in rawNext()
828 fScales[fCurrentScale], false, FLAGS_loopSKP); in rawNext()
1058 SkASSERT_RELEASE(fCurrentScale < fScales.count()); // debugging paranoia in fillCurrentOptions()
1059 log.appendString("scale", SkStringPrintf("%.2g", fScales[fCurrentScale]).c_str()); in fillCurrentOptions()
1091 SkTArray<SkScalar> fScales; member in BenchmarkStream
/third_party/skia/bench/
DColorPrivBench.cpp37 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
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; member in BenchmarkStream