qt5base-lts/tests/baseline/painting/scripts
Eirik Aavitsland f46db29d8c Painting: fix overriding and combining different clip types
In a recent improvement (6de36918c0) the
last set clip region or path was stored in separate variables, in
order to be set again if the aliasing mode changed. That solution was
too simplistic, as it would break down as soon as more than one clip
area was set, with the latter either replacing or intersecting the
first. It was also unnecessary to introduce new storing of clip areas
and transforms, as those are already recorded in the clipInfo stack in
the painter state. This patch hence reverts much of that implementation.

However the basic idea of setting the clip area again after AA change
is good, so that part is kept, implementated instead by calling a
pre-existing function to replay the clipInfo stack.

One of the baseline test cases is extended to excercise the
combination of clip areas. As a driveby, support for setClipRectF is
added to the painting baseline test scripts, and the build of the
manual lance tool is fixed.

Fixes: QTBUG-101474
Pick-to: 6.3 6.2
Change-Id: Ide8b70d8cbf138deb06cbb84f69e62f7405886e6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2022-03-15 12:45:46 +01:00
..
aliasing.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
arcs2.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
arcs.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
background_brush.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
background.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
beziers.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
bitmaps.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
borderimage.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
brush_pens.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
brushes.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
clippath_antialiasing.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
clippaths.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
clipping_state.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
clipping.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
cliprects.qps Painting: fix overriding and combining different clip types 2022-03-15 12:45:46 +01:00
conical_gradients_perspectives.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
conical_gradients.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
cosmetic.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
dashes.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
degeneratebeziers.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
deviceclipping.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
drawpoints.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
ellipses.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
fillrect_aa.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
fillrect.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
filltest.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
glyphruns.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
gradients.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
gradientxform_device.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
gradientxform_logical.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
gradientxform_object.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
hinting.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
image_dpr.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
image_formats.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
images2.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
images.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
join_cap_styles_duplicate_control_points.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
join_cap_styles.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
linear_gradients_perspectives.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
linear_gradients.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
linear_resolving_gradients.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
lineconsistency.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
linedashes2_aa.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
linedashes2.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
linedashes.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
lines2.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
lines3.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
lines.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
pathfill.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
paths_aa.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
paths.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
pens_aa.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
pens_cosmetic.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
pens.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
perspectives2.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
perspectives.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
pixmap_rotation2.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
pixmap_rotation.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
pixmap_scaling.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
pixmap_subpixel.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
pixmaps.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
porter_duff2.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
porter_duff.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
primitives.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
radial_gradients_perspectives.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
radial_gradients.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
rasterops.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
richtext.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
sizes.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
smallcaps_path.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
statictext.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
text_perspectives.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
text.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
thinlines.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
tiled_pixmap.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
tinydashes.qps Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00