mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Fixed vulkan library used for Android replay, plus cmdline args.
This commit is contained in:
@@ -51,3 +51,5 @@ void VulkanReplay::GetOutputWindowDimensions(uint64_t id, int32_t &w, int32_t &h
|
||||
h = 500; // FIXME
|
||||
RDCLOG("VulkanReplay::GetOutputWindowDimensions: %i, %i", w, h);
|
||||
}
|
||||
|
||||
const char *VulkanLibraryName = "libvulkan.so";
|
||||
|
||||
@@ -105,3 +105,5 @@ void VulkanReplay::GetOutputWindowDimensions(uint64_t id, int32_t &w, int32_t &h
|
||||
free(geom);
|
||||
}
|
||||
}
|
||||
|
||||
const char *VulkanLibraryName = "libvulkan.so.1";
|
||||
|
||||
@@ -243,5 +243,3 @@ VkResult WrappedVulkan::vkCreateAndroidSurfaceKHR(VkInstance instance,
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
const char *VulkanLibraryName = "libvulkan.so.1";
|
||||
|
||||
@@ -78,7 +78,7 @@ void handle_cmd(android_app *app, int32_t cmd)
|
||||
"APP_CMD_INIT_WINDOW: android_state->window: %p", android_state->window);
|
||||
|
||||
const char *argv[] = {
|
||||
"renderdoccmd", "/sdcard/capture.rdc",
|
||||
"renderdoccmd", "replay", "/sdcard/capture.rdc",
|
||||
};
|
||||
int argc = sizeof(argv) / sizeof(argv[0]);
|
||||
renderdoccmd(argc, (char **)argv);
|
||||
|
||||
Reference in New Issue
Block a user