Searched refs:pixelFormatsToTry (Results 1 – 1 of 1) sorted by relevance
/external/skia/src/utils/win/ |
D | SkWGL_win.cpp | 416 int pixelFormatsToTry[] = { -1, -1 }; in SkCreateWGLContext() local 417 get_pixel_formats_to_try(dc, extensions, true, msaaSampleCount, deepColor, pixelFormatsToTry); in SkCreateWGLContext() 419 !set && -1 != pixelFormatsToTry[f] && f < SK_ARRAY_COUNT(pixelFormatsToTry); in SkCreateWGLContext() 422 DescribePixelFormat(dc, pixelFormatsToTry[f], sizeof(pfd), &pfd); in SkCreateWGLContext() 423 set = SetPixelFormat(dc, pixelFormatsToTry[f], &pfd); in SkCreateWGLContext() 444 int pixelFormatsToTry[] = { -1, -1 }; in Create() local 446 false, pixelFormatsToTry); in Create() 447 for (int f = 0; -1 != pixelFormatsToTry[f] && f < SK_ARRAY_COUNT(pixelFormatsToTry); ++f) { in Create() 448 HPBUFFER pbuf = extensions.createPbuffer(parentDC, pixelFormatsToTry[f], 1, 1, nullptr); in Create()
|