mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Open transform feedback buffers on double click from GL pipe viewer
This commit is contained in:
@@ -2829,7 +2829,11 @@
|
||||
this.gsFeedback.ViewOptions.Indent = 0;
|
||||
this.gsFeedback.ViewOptions.ShowLine = false;
|
||||
this.gsFeedback.ViewOptions.ShowPlusMinus = false;
|
||||
this.gsFeedback.NodeDoubleClicked += new TreelistView.TreeListView.NodeDoubleClickedHandler(this.textureCell_CellDoubleClick);
|
||||
this.gsFeedback.NodeClicked += new TreelistView.TreeListView.NodeClickedHandler(this.textureCell_CellDoubleClick);
|
||||
this.gsFeedback.KeyDown += new System.Windows.Forms.KeyEventHandler(this.defaultCopyPaste_KeyDown);
|
||||
this.gsFeedback.Leave += new System.EventHandler(this.disableSelection_Leave);
|
||||
this.gsFeedback.MouseClick += new System.Windows.Forms.MouseEventHandler(this.hideDisabledEmpty_MouseClick);
|
||||
//
|
||||
// label14
|
||||
//
|
||||
|
||||
@@ -1705,7 +1705,15 @@ namespace renderdocui.Windows.PipelineState
|
||||
viewer.ViewTexture(tex.ID, true);
|
||||
}
|
||||
}
|
||||
else if(tag is ReadWriteTag)
|
||||
else if (tag is FetchBuffer)
|
||||
{
|
||||
FetchBuffer buf = (FetchBuffer)tag;
|
||||
|
||||
var viewer = new BufferViewer(m_Core, false);
|
||||
viewer.ViewRawBuffer(true, 0, ulong.MaxValue, buf.ID);
|
||||
viewer.Show(m_DockContent.DockPanel);
|
||||
}
|
||||
else if (tag is ReadWriteTag)
|
||||
{
|
||||
ReadWriteTag rwtag = (ReadWriteTag)tag;
|
||||
FetchBuffer buf = rwtag.buf;
|
||||
|
||||
Reference in New Issue
Block a user