Add an option to enable/disable fake markers.

This commit is contained in:
Michael Vance
2017-04-19 13:10:06 -04:00
committed by baldurk
parent 143d35ff31
commit 3c178e2124
5 changed files with 240 additions and 267 deletions
+3
View File
@@ -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;
+2
View File
@@ -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;