Lines Matching refs:RGB
19 static RGB get_test_pattern_pixel(IFramebuffer& fb, unsigned x, unsigned y) in get_test_pattern_pixel()
33 return RGB(255, 255, 255); in get_test_pattern_pixel()
36 return RGB(255, 255, 255); in get_test_pattern_pixel()
39 return RGB(255, 255, 255); in get_test_pattern_pixel()
42 return RGB(255, 255, 255); in get_test_pattern_pixel()
45 return RGB(0, 0, 255); in get_test_pattern_pixel()
48 return RGB(0, 0, 255); in get_test_pattern_pixel()
51 return RGB(255, 0, 0); in get_test_pattern_pixel()
54 return RGB(255, 0, 0); in get_test_pattern_pixel()
59 return RGB(255, 255, 255); in get_test_pattern_pixel()
62 return RGB(255, 255, 255); in get_test_pattern_pixel()
95 return RGB(r, g, b); in get_test_pattern_pixel()
99 return RGB(0, 0, 0); in get_test_pattern_pixel()
111 case PixelColorType::RGB: in draw_test_pattern_part()
114 RGB pixel = get_test_pattern_pixel(fb, x, y); in draw_test_pattern_part()
125 RGB pixel1 = get_test_pattern_pixel(fb, x, y); in draw_test_pattern_part()
126 RGB pixel2 = get_test_pattern_pixel(fb, x + 1, y); in draw_test_pattern_part()
135 RGB pixel00 = get_test_pattern_pixel(fb, x, y); in draw_test_pattern_part()
136 RGB pixel10 = get_test_pattern_pixel(fb, x + 1, y); in draw_test_pattern_part()
137 RGB pixel01 = get_test_pattern_pixel(fb, x, y + 1); in draw_test_pattern_part()
138 RGB pixel11 = get_test_pattern_pixel(fb, x + 1, y + 1); in draw_test_pattern_part()