mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-26 16:48:20 +00:00
* We could put everything onto the replay thread but that's unnecessary back- and-forth pingponging for a local capture. * This is safe to use on the UI thread if it's local, but if it's remote it uses the same connection as the replay controller so must happen on the replay thread. * We add a new helper (not exposed to swig) that handles this check, and for python we wrap the returned ICaptureAccess in an invoker that ensures we are on one of those threads.