mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-22 06:26:30 +00:00
Initialise adb on another thread
* Otherwise the first adb access will stall heavily starting the daemon.
This commit is contained in:
@@ -577,6 +577,11 @@ extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_EnumerateAndroidDevices(rdc
|
||||
*deviceList = ret;
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_AndroidInitialise()
|
||||
{
|
||||
Android::adbExecCommand("", "start-server", ".", true);
|
||||
}
|
||||
|
||||
extern "C" RENDERDOC_API void RENDERDOC_CC RENDERDOC_AndroidShutdown()
|
||||
{
|
||||
Android::shutdownAdb();
|
||||
|
||||
Reference in New Issue
Block a user