Fixing Flaky OpenXR Input Test By Creating Static Wrapper Class
Currently OpenXR tests are flaky because XrInstance is created and destroyed multiple times. There is also a performance issue because every time XrCreateInstance called, it will load dlls. The solution is create a OpenXrStatic class to host the xr instance and static methods. And have one copy of OpenXrStatic in render process another in where static functions getting called. Bug: 1011871 Change-Id: I69843cebaeee9e4b7f30806f431b4ea93182ebca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1865727 Commit-Queue: Zheng Qin <zheqi@microsoft.com> Reviewed-by:Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/master@{#708505}
Showing
Please register or sign in to comment