Files
renderdoc/scripts/android_capture.bat
T
Michael Rennie 6931d0b954 Tool menu option to start the Android remote server.
The option launches a batch file that starts the apk in remoteserver mode,
as well as taking care of port forwarding.

Also have a batch file for manually starting and capturing an APK by its
package name. They are both copied to the TargetDir as a PostBuildEvent.
2016-10-06 13:14:42 +02:00

6 lines
211 B
Batchfile

adb forward tcp:38970 tcp:38920
adb shell setprop debug.vulkan.layers VK_LAYER_RENDERDOC_Capture
adb shell monkey -p %* -c android.intent.category.LAUNCHER 1
timeout 5
adb shell setprop debug.vulkan.layers \"\"