summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>2019-02-22 12:08:46 -0500
committerHarry Wentland <harry.wentland@amd.com>2019-02-27 14:45:29 -0500
commit017d8461ae509b2d8ef5f585de8ad908081d28a0 (patch)
treef23cb54ca06f9afecf605d6160f36522aec0cd7f /meson.build
parentb79007f9c575a538a63ce9301a890ed9e1a45f35 (diff)
tests/kms_plane_alpha_blend: Paint FBs with cairo source operator
Cairo defaults to using a blended fill, so when IGT tries to paint on top of a framebuffer in these tests with an alpha less than 1.0 the previous framebuffer contents will still be present underneath. On amdgpu this is an issue because the framebuffer is created in an unitialized state and can have contents from previous tests still within memory. This patch explicitly sets the cairo filling operator to SOURCE to overwrite the contents when performing fills with alpha < 1.0 in this test. It also fixes the creation of the transparent FB. My guess as for why this test previously passed on i915 is because the primary FB was also black, so the CRC would match even if the black overlay plane was partially transparent. Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions