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

Expose 2 symbols from android_main #1739

Merged
merged 7 commits into from
Nov 15, 2024

Conversation

panos-lunarg
Copy link
Contributor

MainGetCurrentBlockIndex and MainGetLoadingTrimmedState whould de discoveralbe through dlopen + dlsym from the android replay native .so:

  • MainGetCurrentBlockIndex(): Returns the current block index as calculated from the file processor

  • MainGetLoadingTrimmedState(): Returns wheter file processor is between a FrameStateBegin/FrameStateEnd markers pair

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 255434.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4824 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4824 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 257140.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4834 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4834 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 257347.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4836 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4836 failed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 257792.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4838 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4838 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 257826.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4840 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4840 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 257885.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4843 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4843 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 259546.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4864 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4864 failed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 260151.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4875 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 4875 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 284987.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5158 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5158 passed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 296725.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5305 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 296741.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5306 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5306 failed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 296901.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5308 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5308 failed.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 296980.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5311 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5311 passed.

MainGetCurrentBlockIndex and MainGetLoadingTrimmedState whould de
discoveralbe through dlopen + dlsym from the android replay native .so:

- MainGetCurrentBlockIndex():
Returns the current block index as calculated from the file processor

- MainGetLoadingTrimmedState():
Returns wheter file processor is between a FrameStateBegin/FrameStateEnd
markers pair
This callback can be called by an external layer/library in order to
register 2 callbacks. One that gfxrecon-replay will call each time
it starts making API calls that are not part of the capture file,
and the other when it is done.

The callback can be detected with dlsym/GetProcAddress
This should make the SetInjectedCommandCallbacks function visible to
dlsym when attempting to find the function when re-capturing (capture
layer is enabled while replaying)
@ci-tester-lunarg
Copy link

CI gfxreconstruct build queued with queue ID 303297.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5343 running.

@ci-tester-lunarg
Copy link

CI gfxreconstruct build # 5343 passed.

@panos-lunarg panos-lunarg merged commit 3d082df into LunarG:dev Nov 15, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P1 Prevents an important capture from being replayed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants