mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-20 14:31:42 +00:00
add support for VR end-of-frame markers via glDebugMessageInsert
This commit is contained in:
committed by
Baldur Karlsson
parent
569f11b757
commit
83ba2e95e7
@@ -200,9 +200,10 @@ ExecuteResult StartAndroidPackageForCapture(const char *host, const char *packag
|
||||
adbExecCommand(deviceID, "shell am force-stop " + packageName);
|
||||
// enable the vulkan layer (will only be used by vulkan programs)
|
||||
adbExecCommand(deviceID, "shell setprop debug.vulkan.layers " RENDERDOC_VULKAN_LAYER_NAME);
|
||||
// if in VR mode, enable frame delimiter markers
|
||||
adbExecCommand(deviceID, "shell setprop debug.vr.profiler 1");
|
||||
// create the data directory we will use for storing, in case the application doesn't
|
||||
adbExecCommand(deviceID, "shell mkdir -p /sdcard/Android/data/" + packageName);
|
||||
|
||||
// set our property with the capture options encoded, to be picked up by the library on the device
|
||||
adbExecCommand(deviceID, StringFormat::Fmt("shell setprop debug.rdoc.RENDERDOC_CAPTUREOPTS %s",
|
||||
opts.EncodeAsString().c_str()));
|
||||
|
||||
Reference in New Issue
Block a user