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

Function cmdthread

renderdoccmd/renderdoccmd_android.cpp:438–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438void *cmdthread(void *)
439{
440 std::vector<std::string> args = getRenderdoccmdArgs();
441 if(args.size())
442 {
443 ANDROID_LOG("Entering cmd thread");
444 m_CmdLock.lock();
445 GlobalEnvironment env;
446 renderdoccmd(env, args);
447 m_CmdLock.unlock();
448 ANDROID_LOG("Exiting cmd thread");
449 }
450
451 // activity is done and should be closed
452 ANativeActivity_finish(android_state->activity);
453
454 return NULL;
455}
456
457void handle_cmd(android_app *app, int32_t cmd)
458{

Callers

nothing calls this directly

Calls 5

getRenderdoccmdArgsFunction · 0.85
renderdoccmdFunction · 0.85
sizeMethod · 0.45
lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected