webkit2gtk-ac-3d-rendering manual

low

Image Types:
basesdk-amd64 / hmi-armhf / hmi-amd64 / sdk-amd64
Image Deployment:
APT
Type:
functional

Description

Test that 3D transforms are applied correctly.


Resources

  • A monitor connected to the testing target.

Pre Conditions

  1. Clone the tests repository from another computer (Note that the branch being tested may change depending on the release, please make sure to clone the correct branch for the release in question):
  2. $ git clone --branch apertis/v2024pre https://gitlab.apertis.org/tests/webkit2gtk.git
  3. Copy the test directory webkit2gtk to the target device:
  4. $ DUT_IP=<device-ip>
    $ scp -r webkit2gtk user@$DUT_IP:
  5. Log into the target device:
  6. $ ssh user@$DUT_IP
  7. In case of an SDK image, switch to a new terminal and launch agl-compositor.
  8. Lilliput/LVDS touch screens must be connected to the respective targets

Execution Steps

  1. When executing the test on the target
  2. Run MiniBrowser with the path of the HTML as argument:
  3. $ /usr/lib/*/webkit2gtk-4.0/MiniBrowser webkit2gtk/ac-3d-rendering.html
  4. Verify rendering matches one of the two references below.
  5. When testing on SDK launch the agl-compositor on a second terminal
  6. Open the web browser from the compositor menu

Expected

This test shows 4 squares with 3D rotation, they should look like they have depth; see the correct image and what it would look like if 3D rendering was not working below:

Notes

  • Not working under X11 or VirtualBox, see: https://phabricator.apertis.org/T2625