Searched refs:rankedFormats (Results 1 – 1 of 1) sorted by relevance
136 SkTDArray<PixelFormat> rankedFormats; in selectFormat() local137 rankedFormats.setCount(formatCount); in selectFormat()147 rankedFormats[i].fFormat = formats[i]; in selectFormat()148 rankedFormats[i].fSampleCnt = numSamples; in selectFormat()149 rankedFormats[i].fChoosePixelFormatRank = i; in selectFormat()151 SkTQSort(rankedFormats.begin(), in selectFormat()152 rankedFormats.begin() + rankedFormats.count() - 1, in selectFormat()154 int idx = SkTSearch<PixelFormat, pf_less>(rankedFormats.begin(), in selectFormat()155 rankedFormats.count(), in selectFormat()161 return rankedFormats[idx].fFormat; in selectFormat()