qtdeclarative/tests
Eskil Abrahamsen Blomfeldt 994bfd41b2 Don't update transform if it hasn't changed
Updating the transform marks it as dirty and causes rebatching.
Since we were doing this even when nothing had changed, we were
essentially rebatching every time there was any update to the
shape. We should leave it to the node to decide if it has
been updated.

This adds two tests that verify that rebatching still happens
when changing the color/gradient of the shape.

Change-Id: Iefb7a21a89ac2c31053e473cf689fa06e34a40d5
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit e3d0233bbe)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-05-30 23:25:52 +00:00
..
auto QtQml: Document and uphold precondition of metaTypeFromJS() 2024-05-30 09:55:41 +02:00
baseline Don't update transform if it hasn't changed 2024-05-30 23:25:52 +00:00
benchmarks Correct license for test files 2024-02-29 13:21:43 +01:00
global
libfuzzer/qml Correct license for test files 2024-02-29 13:21:43 +01:00
manual SelectionRectangle: ensure we remove or update selection handles if selection changes 2024-04-02 14:08:26 +00:00
system Correct license for test files 2024-02-29 13:21:43 +01:00
testapplications Correct license for test files 2024-02-29 13:21:43 +01:00
CMakeLists.txt qmlls: build and run tests in CI 2023-11-01 21:30:45 +01:00
README

README

This directory contains autotests and benchmarks based on QTestlib. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.

Linux X11:

   * The user must be logged in to an active desktop; you can't run the
     autotests without a valid DISPLAY that allows X11 connections.

   * The tests are run against a KDE3 or KDE4 desktop.

   * Window manager uses "click to focus", and not "focus follows mouse". Many
     tests move the mouse cursor around and expect this to not affect focus
     and activation.

   * Disable "click to activate", i.e., when a window is opened, the window
     manager should automatically activate it (give it input focus) and not
     wait for the user to click the window.