An application that simulates WPE WebKit rendering/composition using OpenGL / Wayland / GBM / EGL.
Be sure to activate export ETNA_MESA_DEBUG=linear_pe
.
Now you can run the benchmarks in the scripts/ folders.
TODO: Ask Pablo.
Build using cmake:
mkdir build
cd build
cmake ..
make -j8
Should produce a wpe-testbed-wayland
binary.
Be careful: The default setting for --drm-node-ipu
points to /dev/dri/card1
and ``--drm-node-gpupoints to
/dev/dri/card0`.
Make sure this matches your system, eventually adapt it to point to the same location, in case there's only a single DRM primary node.
The testbed application contains many flags, to simulate the way WPE is rendering. Many different combinations can be tested.
Get inspiration from the test scripts in the scripts
subdirectory.
To be close to the current WPE way of rendering be sure to pass these options: --linear-filter
, --depth
, --blend
, --explicit-sync
, --rbo
, --fences
, --opaque
.
To test the "new way" of texture uploading, additionally pass --dmabuf-tiles
, --tile-update-method mmap
, --tile-buffer-modifier vivante-super-tiled
and --neon
.