Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-Window Replay as secondary app #2065

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

MarkY-LunarG
Copy link
Contributor

Apply the multi-window replay application from @qiq-2022 to the "dev" tree, but as a secondary replay application instead of replacing the existing replay application.

The reasoning behind this is temporary: the multi-window replay app does not properly handle surface rotations on pre-Android 14 devices. Since we still test such devices in our CI, and end-users are still using pre-Android 14 OS versions, we will support both until Android 14 overtakes the rest of our testing.

For now, you may use the gfxrecon.py script with the argument replay to trigger the old replay application and multiwin-replay to trigger the new multi-window replay application.

MarkY-LunarG and others added 4 commits March 7, 2025 12:38
Switch to using AndroidX which is a major improvement over the
previous support libraries for Android.
This is going to be needed going forward to use the proper
libraries with Gradle since pre-AndroidX libraries are becoming
more and more out of date.
Introduce JAVA layer into gfxreconstruct
to enable replay multi-window trace files on Android.
The command line changes to
am start -n "com.lunarg.gfxreconstruct.replay/.ReplayActivity"
Multiwin replay is where we eventually want to go, however it currently
does not work well prior to Android 14 due to limitations with
changing orientations on high DPI phones.  Because of this, we
will support both the old "replay" and the new "multiwin-replay"
as separate apps which can be triggered by the `gfxrecon.py` script.
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 391629.

@MarkY-LunarG
Copy link
Contributor Author

I've extended this with #1912 to include the option to replay using either the old application or your new one. I just have to wait for review, but I will discuss this with @per-mathisen-arm and @bartosz-muszarski-arm in our next meeting.

@MarkY-LunarG
Copy link
Contributor Author

FYI, @antonio-lunarg , you've already reviewed everything but the last two commits in PR #1912. Mostly, I'd like your feedback on how I handled having both replay applications available (you too @bradgrantham ).

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 6293 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 6293 passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants