mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-12 23:29:26 +00:00
Add an option to enable/disable fake markers.
This commit is contained in:
1 parent
143d35ff31
commit
3c178e2124
5 files changed
+240
-267
No files matched your search
@@ -307,6 +307,9 @@ namespace renderdocui.Code
|
||||
// pass number
|
||||
private FetchDrawcall[] FakeProfileMarkers(FetchDrawcall[] draws)
|
||||
{
|
||||
if (Config.EventBrowser_AddFake == false)
|
||||
return draws;
|
||||
|
||||
if (ContainsMarker(draws))
|
||||
return draws;
|
||||
|
||||
|
||||
@@ -268,6 +268,8 @@ namespace renderdocui.Code
|
||||
public bool EventBrowser_ApplyColours = true;
|
||||
public bool EventBrowser_ColourEventRow = true;
|
||||
|
||||
public bool EventBrowser_AddFake = true;
|
||||
|
||||
public int Formatter_MinFigures = 2;
|
||||
public int Formatter_MaxFigures = 5;
|
||||
public int Formatter_NegExp = 5;
|
||||
|
||||
Reference in new issue
Block a user