Displaying 1 result from an estimated 1 matches for "test_plane_position".
2020 Mar 18
0
[PATCH i-g-t] tests/kms_plane: Generate reference CRCs for partial coverage too
...olor(cr, 0, 0, mode->hdisplay, mode->vdisplay,
- 0.0, 1.0, 0.0);
- igt_paint_color(cr, rect_x, rect_y, rect_w, rect_h, 0.0, 0.0, 0.0);
- igt_put_cairo_ctx(data->drm_fd, fb, cr);
-}
-
-enum {
- TEST_POSITION_FULLY_COVERED = 1 << 0,
- TEST_DPMS = 1 << 1,
-};
-
static void
test_plane_position_with_output(data_t *data,
enum pipe pipe,
@@ -165,6 +192,7 @@ test_plane_position_with_output(data_t *data,
igt_crc_t *reference_crc,
unsigned int flags)
{
+ rectangle_t rect = { .x = 100, .y = 100, .color = { 0.0, 0.0, 0.0 }};
igt_plane_t *primary, *sprite;
struct igt_fb primar...