mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-22 22:46:41 +00:00
Add async tags for display widget painting
* This prevents widget painting from getting out of control and queuing up many redundant paints which slows down processing of the command queue. * Also remove a spammy command to disable pixel context that only ever got called when pixel context was already disabled (right after a reset - at all other times it stays active).
This commit is contained in:
@@ -943,19 +943,10 @@ void TextureViewer::UI_UpdateStatusText()
|
||||
|
||||
if(m_TexDisplay.customShaderId != ResourceId())
|
||||
statusText += lit(")");
|
||||
|
||||
// PixelPicked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
statusText += tr(" - Right click to pick a pixel");
|
||||
|
||||
if(m_Output != NULL)
|
||||
{
|
||||
m_Ctx.Replay().AsyncInvoke([this](IReplayController *) { m_Output->DisablePixelContext(); });
|
||||
}
|
||||
|
||||
// PixelPicked = false;
|
||||
}
|
||||
|
||||
// try and keep status text consistent by sticking to the high water mark
|
||||
|
||||
Reference in New Issue
Block a user