Home
last modified time | relevance | path

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

/third_party/skia/src/utils/win/
DSkWGL_win.cpp138 SkTDArray<PixelFormat> rankedFormats; in selectFormat() local
139 rankedFormats.setCount(formatCount); in selectFormat()
149 rankedFormats[i].fFormat = formats[i]; in selectFormat()
150 rankedFormats[i].fSampleCnt = std::max(1, numSamples); in selectFormat()
151 rankedFormats[i].fChoosePixelFormatRank = i; in selectFormat()
153 SkTQSort(rankedFormats.begin(), rankedFormats.end(), pf_less); in selectFormat()
154 int idx = SkTSearch<PixelFormat, pf_less>(rankedFormats.begin(), in selectFormat()
155 rankedFormats.count(), in selectFormat()
162 if (desiredSampleCount == 1 && rankedFormats[idx].fSampleCnt != 1) { in selectFormat()
165 return rankedFormats[idx].fFormat; in selectFormat()