Home
last modified time | relevance | path

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

/external/skia/src/utils/win/
DSkWGL_win.cpp293 auto appendAttr = [](SkTDArray<int>& attrs, int attr, int value) { in get_pixel_formats_to_try() local
299 appendAttr(iAttrs, SK_WGL_DRAW_TO_WINDOW, TRUE); in get_pixel_formats_to_try()
300 appendAttr(iAttrs, SK_WGL_DOUBLE_BUFFER, (doubleBuffered ? TRUE : FALSE)); in get_pixel_formats_to_try()
301 appendAttr(iAttrs, SK_WGL_ACCELERATION, SK_WGL_FULL_ACCELERATION); in get_pixel_formats_to_try()
302 appendAttr(iAttrs, SK_WGL_SUPPORT_OPENGL, TRUE); in get_pixel_formats_to_try()
304 appendAttr(iAttrs, SK_WGL_RED_BITS, 10); in get_pixel_formats_to_try()
305 appendAttr(iAttrs, SK_WGL_GREEN_BITS, 10); in get_pixel_formats_to_try()
306 appendAttr(iAttrs, SK_WGL_BLUE_BITS, 10); in get_pixel_formats_to_try()
307 appendAttr(iAttrs, SK_WGL_ALPHA_BITS, 2); in get_pixel_formats_to_try()
309 appendAttr(iAttrs, SK_WGL_COLOR_BITS, 24); in get_pixel_formats_to_try()
[all …]