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

Method ExecuteAndInject

qrenderdoc/Code/ReplayManager.cpp:404–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404ExecuteResult ReplayManager::ExecuteAndInject(const rdcstr &exe, const rdcstr &workingDir,
405 const rdcstr &cmdLine,
406 const rdcarray<EnvironmentModification> &env,
407 const rdcstr &capturefile, CaptureOptions opts)
408{
409 ExecuteResult ret;
410
411 if(m_Remote)
412 {
413 QMutexLocker autolock(&m_RemoteLock);
414 ret = m_Remote->ExecuteAndInject(exe, workingDir, cmdLine, env, opts);
415 }
416 else
417 {
418 ret = RENDERDOC_ExecuteAndInject(exe, workingDir, cmdLine, env, capturefile, opts, false);
419 }
420
421 return ret;
422}
423
424void ReplayManager::PushInvoke(ReplayManager::InvokeHandle *cmd)
425{

Callers 1

OnCaptureTriggerMethod · 0.45

Calls 1

Tested by

no test coverage detected