Searched refs:appendAttr (Results 1 – 1 of 1) sorted by relevance
/third_party/skia/src/utils/win/ |
D | SkWGL_win.cpp | 313 auto appendAttr = [](SkTDArray<int>& attrs, int attr, int value) { in get_pixel_formats_to_try() local 319 appendAttr(iAttrs, SK_WGL_DRAW_TO_WINDOW, TRUE); in get_pixel_formats_to_try() 320 appendAttr(iAttrs, SK_WGL_DOUBLE_BUFFER, (doubleBuffered ? TRUE : FALSE)); in get_pixel_formats_to_try() 321 appendAttr(iAttrs, SK_WGL_ACCELERATION, SK_WGL_FULL_ACCELERATION); in get_pixel_formats_to_try() 322 appendAttr(iAttrs, SK_WGL_SUPPORT_OPENGL, TRUE); in get_pixel_formats_to_try() 324 appendAttr(iAttrs, SK_WGL_RED_BITS, 10); in get_pixel_formats_to_try() 325 appendAttr(iAttrs, SK_WGL_GREEN_BITS, 10); in get_pixel_formats_to_try() 326 appendAttr(iAttrs, SK_WGL_BLUE_BITS, 10); in get_pixel_formats_to_try() 327 appendAttr(iAttrs, SK_WGL_ALPHA_BITS, 2); in get_pixel_formats_to_try() 329 appendAttr(iAttrs, SK_WGL_COLOR_BITS, 24); in get_pixel_formats_to_try() [all …]
|