Searched refs:rankedFormats (Results 1 – 1 of 1) sorted by relevance
131 SkTDArray<PixelFormat> rankedFormats; in selectFormat() local132 rankedFormats.setCount(formatCount); in selectFormat()142 rankedFormats[i].fFormat = formats[i]; in selectFormat()143 rankedFormats[i].fSampleCnt = numSamples; in selectFormat()144 rankedFormats[i].fChoosePixelFormatRank = i; in selectFormat()146 SkTQSort(rankedFormats.begin(), in selectFormat()147 rankedFormats.begin() + rankedFormats.count() - 1, in selectFormat()149 int idx = SkTSearch<PixelFormat, pf_less>(rankedFormats.begin(), in selectFormat()150 rankedFormats.count(), in selectFormat()156 return rankedFormats[idx].fFormat; in selectFormat()