Home
last modified time | relevance | path

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

/external/skia/src/utils/win/
DSkWGL_win.cpp304 static const int kIAttrsCount = SK_ARRAY_COUNT(iAttrs); in get_pixel_formats_to_try() local
305 int msaaIAttrs[kIAttrsCount + 4]; in get_pixel_formats_to_try()
306 memcpy(msaaIAttrs, iAttrs, sizeof(int) * kIAttrsCount); in get_pixel_formats_to_try()
307 SkASSERT(0 == msaaIAttrs[kIAttrsCount - 2] && in get_pixel_formats_to_try()
308 0 == msaaIAttrs[kIAttrsCount - 1]); in get_pixel_formats_to_try()
309 msaaIAttrs[kIAttrsCount - 2] = SK_WGL_SAMPLE_BUFFERS; in get_pixel_formats_to_try()
310 msaaIAttrs[kIAttrsCount - 1] = TRUE; in get_pixel_formats_to_try()
311 msaaIAttrs[kIAttrsCount + 0] = SK_WGL_SAMPLES; in get_pixel_formats_to_try()
312 msaaIAttrs[kIAttrsCount + 1] = msaaSampleCount; in get_pixel_formats_to_try()
313 msaaIAttrs[kIAttrsCount + 2] = 0; in get_pixel_formats_to_try()
[all …]