mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Rename public property to match python-esque naming scheme
This commit is contained in:
@@ -1823,7 +1823,7 @@ void MainWindow::OnCaptureLoaded()
|
||||
ui->action_Start_Replay_Loop->setEnabled(true);
|
||||
ui->action_Open_RGP_Profile->setEnabled(
|
||||
m_Ctx.Replay().GetCaptureAccess()->FindSectionByType(SectionType::AMDRGPProfile) >= 0);
|
||||
ui->action_Create_RGP_Profile->setEnabled(m_Ctx.APIProps().RGPCapture && m_Ctx.IsCaptureLocal());
|
||||
ui->action_Create_RGP_Profile->setEnabled(m_Ctx.APIProps().rgpCapture && m_Ctx.IsCaptureLocal());
|
||||
|
||||
setCaptureHasErrors(!m_Ctx.DebugMessages().empty());
|
||||
|
||||
|
||||
@@ -1089,7 +1089,7 @@ worked around by re-sorting bindings.
|
||||
bool shadersMutable = false;
|
||||
|
||||
DOCUMENT("``True`` if the driver and system are configured to allow creating RGP captures.");
|
||||
bool RGPCapture = false;
|
||||
bool rgpCapture = false;
|
||||
|
||||
#if !defined(SWIG)
|
||||
// flags about edge-case parts of the APIs that might be used in the capture.
|
||||
|
||||
@@ -188,7 +188,7 @@ APIProperties D3D12Replay::GetAPIProperties()
|
||||
ret.vendor = m_Vendor;
|
||||
ret.degraded = false;
|
||||
ret.shadersMutable = false;
|
||||
ret.RGPCapture = m_RGP != NULL && m_RGP->DriverSupportsInterop();
|
||||
ret.rgpCapture = m_RGP != NULL && m_RGP->DriverSupportsInterop();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ APIProperties VulkanReplay::GetAPIProperties()
|
||||
ret.localRenderer = GraphicsAPI::Vulkan;
|
||||
ret.degraded = false;
|
||||
ret.shadersMutable = false;
|
||||
ret.RGPCapture = m_RGP != NULL && m_RGP->DriverSupportsInterop();
|
||||
ret.rgpCapture = m_RGP != NULL && m_RGP->DriverSupportsInterop();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user