tests: Don't check pixels outside actor allocation
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 18 Dec 2018 12:54:09 +0000 (12:54 +0000)
committerSimon McVittie <smcv@debian.org>
Wed, 6 Feb 2019 10:02:14 +0000 (10:02 +0000)
commitc8b1a5c7dbda1c202951768a6f08b23f06c346d9
tree41242153dbf1bf13195f2d4d94e53221c7ec6c91
parentcec212f0b50f93b7b9bc3ae78f665b5cde4abf8b
tests: Don't check pixels outside actor allocation

The actor-shader-effect test actors are 50px wide, but we check the 51st
pixel. This went along undetected until "clutter: Avoid rounding
compensation when invalidating 2D actors" because the paint volumes were
made slightly bigger and the shaders paint all over them (I guess nobody
noticed those actors being actually ~52px wide).

Update the test to check the middle of the opposite edge, so we keep neatly
rounded numbers.

(cherry picked from commit 1d73533f786b8f83fcffae7e5f5965d3b1f4e57a)

Applied-upstream: 3.30.3, commit:5e4cb54bb5ced1a5829fb903fe1729f5da248b0c

Gbp-Pq: Name tests-Don-t-check-pixels-outside-actor-allocation.patch
clutter/tests/conform/actor-shader-effect.c