MCPcopy Create free account
hub / github.com/baldurk/renderdoc / Start

Method Start

renderdoc/android/android.cpp:950–964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

948struct AndroidController : public IDeviceProtocolHandler
949{
950 void Start()
951 {
952 if(running == 0)
953 {
954 Atomic::Inc32(&running);
955
956 {
957 SCOPED_LOCK(lock);
958 Android::initAdb();
959 }
960
961 thread = Threading::CreateThread([]() { m_Inst.ThreadEntry(); });
962 RenderDoc::Inst().RegisterShutdownFunction([]() { m_Inst.Shutdown(); });
963 }
964 }
965
966 void Shutdown()
967 {

Callers 2

ExecuteMethod · 0.45
GetMethod · 0.45

Calls 6

initAdbFunction · 0.85
Inc32Function · 0.50
CreateThreadFunction · 0.50
ThreadEntryMethod · 0.45
ShutdownMethod · 0.45

Tested by

no test coverage detected