- Most of tools/* have been moved to the new packages/runtime/tests. (Excludes fuzz and a few things with proprietary information)
- The tools/test are now in packages/runtime/unit_tests/renderer.
- The runtime/tests are now also moved, to the following packages/runtime/unit_tests/runtime (moved the "dev/tests" to packages/runtime/unit_tests)
- Thus unit_tests comprises of runtime and renderer tests (in the future we can add more categories as folder, this avoids too many tests in one folder)
- The rendering tests and runtime tests are built together in one executable called unit_tests*. This is what is described in the rive-runtime README - it is the way our developers can test the rendering (GPU) and runtime (CPU) unit tests in one go.
- pr_runtime_tests now builds and runs all the unit_tests, previously it was only executing the runtime tests, but now it includes the renderer tests for the (same platforms still tested: windows, windows msvc, mac, linux)
- The pr_tools_tests still tests the same workloads on the same devices, limited still to the rendering tests
ISSUES:
- We cannot build all the "tools" tests (e.g. imagediff, rendering tests) with the runtime tests. The runtime tests enables TESTING. I'm also not sure if running the runtime tests on all the devices is actually is worth it - if the tests are platform+device agnostic then probably not worth it.
- Windows pr_runtime_tests switched to ws-actions/configure-aws-credentials@v1 from microsoft/setup-msbuild@v1.1, as would not build otherwise, seems related to old version of premake
TODO:
- Verify of the performance is reasonable for runner / checkins
Diffs=
f25ee97a0 Opensource (tools) tests as part of runtime (#8035)
Co-authored-by: rivessamr <suki@rive.app>
Mostly sentence case for headers and adding new info as needed + removing older things
Diffs=
e68c7b6de chore: update README (#6824)
Co-authored-by: Gordon <pggordonhayes@gmail.com>
bump runtime to push build to repo's affected by runtime in mono.
Diffs=
9338d6ec6 make a change to force a mono flush (#6638)
Co-authored-by: Maxwell Talbot <talbot.maxwell@gmail.com>
Need a small change to go through to get the latest cpp commit that didn't make it downstream, downstream.
Diffs=
bd71143bc chore: fix broken docs link (#6360)
0f08dd379 prevent pointer event propagation to collapsed nested artboards (#6322)
Co-authored-by: Zachary Plata <plata.zach@gmail.com>
Co-authored-by: hernan <hernan@rive.app>
Adds a "simd" namespace with vector utilities (SSE, NEON, WASM_SIMD),
and implements RawPath::bounds in SIMD. This namespace relies
exclusively on the latest clang vector extensions, so from here on, Rive
needs to be built with a recent clang. On our own bots, we had to bump
the Android builder to NDK r25b, the Ubuntu builder to 22.04, and the
MacOS builder to macos-12.
RawPathBounds bench result:
MacOS: 2.37ms -> .579 (4.1x)
Windows: 3.53ms -> 1.68 (2.1x)
Windows SSE can be optimized down to .927ms (3.8x) by forcing the SSE
min/max instructions, but they have different behavior with NaN, which
is why clang doesn't use them directly, so it seems like an
over-optimization at this point.
Diffs=
986b49674 Add a simd library for SSE / NEON / WASM_SIMD (#4199)