Lines Matching refs:appendAttr
293 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()
310 appendAttr(iAttrs, SK_WGL_ALPHA_BITS, 8); in get_pixel_formats_to_try()
312 appendAttr(iAttrs, SK_WGL_STENCIL_BITS, 8); in get_pixel_formats_to_try()
320 appendAttr(msaaIAttrs, SK_WGL_SAMPLE_BUFFERS, TRUE); in get_pixel_formats_to_try()
321 appendAttr(msaaIAttrs, SK_WGL_SAMPLES, msaaSampleCount); in get_pixel_formats_to_try()
322 appendAttr(msaaIAttrs, 0, 0); in get_pixel_formats_to_try()
333 appendAttr(iAttrs, 0, 0); in get_pixel_formats_to_try()