mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 14:15:42 +00:00
Rename 'create debug device' capture option to 'API validation'
* More appropriate for non-D3D11 APIs and will cause less confusion.
This commit is contained in:
@@ -70,7 +70,7 @@ namespace renderdoc
|
||||
{
|
||||
public bool AllowVSync;
|
||||
public bool AllowFullscreen;
|
||||
public bool DebugDeviceMode;
|
||||
public bool APIValidation;
|
||||
public bool CaptureCallstacks;
|
||||
public bool CaptureCallstacksOnlyDraws;
|
||||
public UInt32 DelayForDebugger;
|
||||
|
||||
+12
-12
@@ -51,7 +51,7 @@
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.CaptureCallstacks = new System.Windows.Forms.CheckBox();
|
||||
this.CaptureCallstacksOnlyDraws = new System.Windows.Forms.CheckBox();
|
||||
this.DebugDeviceMode = new System.Windows.Forms.CheckBox();
|
||||
this.APIValidation = new System.Windows.Forms.CheckBox();
|
||||
this.HookIntoChildren = new System.Windows.Forms.CheckBox();
|
||||
this.SaveAllInitials = new System.Windows.Forms.CheckBox();
|
||||
this.RefAllResources = new System.Windows.Forms.CheckBox();
|
||||
@@ -275,7 +275,7 @@
|
||||
this.capOptsFlow.Controls.Add(this.panel3);
|
||||
this.capOptsFlow.Controls.Add(this.CaptureCallstacks);
|
||||
this.capOptsFlow.Controls.Add(this.CaptureCallstacksOnlyDraws);
|
||||
this.capOptsFlow.Controls.Add(this.DebugDeviceMode);
|
||||
this.capOptsFlow.Controls.Add(this.APIValidation);
|
||||
this.capOptsFlow.Controls.Add(this.HookIntoChildren);
|
||||
this.capOptsFlow.Controls.Add(this.SaveAllInitials);
|
||||
this.capOptsFlow.Controls.Add(this.RefAllResources);
|
||||
@@ -362,16 +362,16 @@
|
||||
this.toolTip.SetToolTip(this.CaptureCallstacksOnlyDraws, "Only collect callstacks on \'drawcall\' level api calls");
|
||||
this.CaptureCallstacksOnlyDraws.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// DebugDeviceMode
|
||||
// APIValidation
|
||||
//
|
||||
this.DebugDeviceMode.Location = new System.Drawing.Point(139, 29);
|
||||
this.DebugDeviceMode.Name = "DebugDeviceMode";
|
||||
this.DebugDeviceMode.Size = new System.Drawing.Size(130, 20);
|
||||
this.DebugDeviceMode.TabIndex = 12;
|
||||
this.DebugDeviceMode.Text = "Create Debug Device";
|
||||
this.toolTip.SetToolTip(this.DebugDeviceMode, "D3D11: Create a debug device - allows capturing and reading of D3D errors and war" +
|
||||
"nings");
|
||||
this.DebugDeviceMode.UseVisualStyleBackColor = true;
|
||||
this.APIValidation.Location = new System.Drawing.Point(139, 29);
|
||||
this.APIValidation.Name = "APIValidation";
|
||||
this.APIValidation.Size = new System.Drawing.Size(130, 20);
|
||||
this.APIValidation.TabIndex = 12;
|
||||
this.APIValidation.Text = "Enable API validation";
|
||||
this.toolTip.SetToolTip(this.APIValidation, "Initialise the graphics API with built-in validation enabled - allows capturing and reading of errors and war" +
|
||||
"nings generated by the API's own debugging system");
|
||||
this.APIValidation.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// HookIntoChildren
|
||||
//
|
||||
@@ -751,7 +751,7 @@
|
||||
private System.Windows.Forms.Button capture;
|
||||
private System.Windows.Forms.Button close;
|
||||
private System.Windows.Forms.CheckBox AllowVSync;
|
||||
private System.Windows.Forms.CheckBox DebugDeviceMode;
|
||||
private System.Windows.Forms.CheckBox APIValidation;
|
||||
private System.Windows.Forms.CheckBox AllowFullscreen;
|
||||
private System.Windows.Forms.CheckBox CaptureCallstacks;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
|
||||
@@ -76,7 +76,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
HookIntoChildren.Checked = settings.Options.HookIntoChildren;
|
||||
CaptureCallstacks.Checked = settings.Options.CaptureCallstacks;
|
||||
CaptureCallstacksOnlyDraws.Checked = settings.Options.CaptureCallstacksOnlyDraws;
|
||||
DebugDeviceMode.Checked = settings.Options.DebugDeviceMode;
|
||||
APIValidation.Checked = settings.Options.APIValidation;
|
||||
RefAllResources.Checked = settings.Options.RefAllResources;
|
||||
SaveAllInitials.Checked = settings.Options.SaveAllInitials;
|
||||
DelayForDebugger.Value = settings.Options.DelayForDebugger;
|
||||
@@ -114,7 +114,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
ret.Options.HookIntoChildren = HookIntoChildren.Checked;
|
||||
ret.Options.CaptureCallstacks = CaptureCallstacks.Checked;
|
||||
ret.Options.CaptureCallstacksOnlyDraws = CaptureCallstacksOnlyDraws.Checked;
|
||||
ret.Options.DebugDeviceMode = DebugDeviceMode.Checked;
|
||||
ret.Options.APIValidation = APIValidation.Checked;
|
||||
ret.Options.RefAllResources = RefAllResources.Checked;
|
||||
ret.Options.SaveAllInitials = SaveAllInitials.Checked;
|
||||
ret.Options.CaptureAllCmdLists = CaptureAllCmdLists.Checked;
|
||||
|
||||
Reference in New Issue
Block a user