Lines Matching refs:pfb
117 static void test_cursor_pos(data_t *data, igt_fb_t *pfb, igt_fb_t *ofb, in test_cursor_pos() argument
125 cr = igt_get_cairo_ctx(pfb->fd, pfb); in test_cursor_pos()
126 igt_paint_color(cr, 0, 0, pfb->width, pfb->height, 1.0, 1.0, 1.0); in test_cursor_pos()
132 igt_put_cairo_ctx(pfb->fd, pfb, cr); in test_cursor_pos()
141 draw_color(pfb, 1.0, 1.0, 1.0); in test_cursor_pos()
168 static void test_cursor_spots(data_t *data, igt_fb_t *pfb, igt_fb_t *ofb, in test_cursor_spots() argument
196 test_cursor_pos(data, pfb, ofb, cfb, or, pos[i].x, pos[i].y); in test_cursor_spots()
206 igt_fb_t pfb, ofb, cfb; in test_cursor_overlay() local
216 1.0, 1.0, 1.0, &pfb); in test_cursor_overlay()
224 igt_plane_set_fb(data->primary, &pfb); in test_cursor_overlay()
227 test_cursor_spots(data, &pfb, &ofb, &cfb, &data->or, size); in test_cursor_overlay()
233 igt_remove_fb(data->drm_fd, &pfb); in test_cursor_overlay()
239 igt_fb_t pfb, cfb; in test_cursor_primary() local
248 1.0, 1.0, 1.0, &pfb); in test_cursor_primary()
253 igt_plane_set_fb(data->primary, &pfb); in test_cursor_primary()
256 test_cursor_spots(data, &pfb, NULL, &cfb, &data->or, size); in test_cursor_primary()
261 igt_remove_fb(data->drm_fd, &pfb); in test_cursor_primary()
271 igt_fb_t pfb, ofb, cfb; in test_cursor_viewport() local
282 1.0, 1.0, 1.0, &pfb); in test_cursor_viewport()
290 igt_plane_set_fb(data->primary, &pfb); in test_cursor_viewport()
293 test_cursor_spots(data, &pfb, &ofb, &cfb, &data->or, size); in test_cursor_viewport()
299 igt_remove_fb(data->drm_fd, &pfb); in test_cursor_viewport()