mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Improve workflow for capture import/export
* If the export doesn't need buffers, we export directly from the loaded capture file instead of re-loading it. * Add progress bars for the load step so it shows what's happening instead of looking stalled. * Reduce compression rate on XML+ZIP buffers as it took too long trying to compress when exporting large captures.
This commit is contained in:
@@ -369,7 +369,7 @@ void ReplayManager::ReopenCaptureFile(const QString &path)
|
||||
{
|
||||
if(!m_CaptureFile)
|
||||
m_CaptureFile = RENDERDOC_OpenCaptureFile();
|
||||
m_CaptureFile->OpenFile(path.toUtf8().data(), "rdc");
|
||||
m_CaptureFile->OpenFile(path.toUtf8().data(), "rdc", NULL);
|
||||
}
|
||||
|
||||
uint32_t ReplayManager::ExecuteAndInject(const rdcstr &exe, const rdcstr &workingDir,
|
||||
@@ -423,7 +423,7 @@ void ReplayManager::run(int proxyRenderer, const QString &capturefile,
|
||||
{
|
||||
m_CaptureFile = RENDERDOC_OpenCaptureFile();
|
||||
|
||||
m_CreateStatus = m_CaptureFile->OpenFile(capturefile.toUtf8().data(), "rdc");
|
||||
m_CreateStatus = m_CaptureFile->OpenFile(capturefile.toUtf8().data(), "rdc", NULL);
|
||||
|
||||
if(m_CreateStatus == ReplayStatus::Succeeded)
|
||||
std::tie(m_CreateStatus, m_Renderer) = m_CaptureFile->OpenCapture(progress);
|
||||
|
||||
Reference in New Issue
Block a user