Home
last modified time | relevance | path

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

/external/skia/src/utils/win/
DSkWGL_win.cpp399 int pixelFormatsToTry[] = { -1, -1 }; in SkCreateWGLContext() local
400 get_pixel_formats_to_try(dc, extensions, true, msaaSampleCount, pixelFormatsToTry); in SkCreateWGLContext()
402 !set && -1 != pixelFormatsToTry[f] && f < SK_ARRAY_COUNT(pixelFormatsToTry); in SkCreateWGLContext()
405 DescribePixelFormat(dc, pixelFormatsToTry[f], sizeof(pfd), &pfd); in SkCreateWGLContext()
406 set = SetPixelFormat(dc, pixelFormatsToTry[f], &pfd); in SkCreateWGLContext()
425 int pixelFormatsToTry[] = { -1, -1 }; in Create() local
427 pixelFormatsToTry); in Create()
428 for (int f = 0; -1 != pixelFormatsToTry[f] && f < SK_ARRAY_COUNT(pixelFormatsToTry); ++f) { in Create()
429 HPBUFFER pbuf = extensions.createPbuffer(parentDC, pixelFormatsToTry[f], 1, 1, NULL); in Create()