mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Rename RemoteAccess to TargetControl to better disambiguate RemoteServer
This commit is contained in:
@@ -58,7 +58,7 @@ namespace renderdocui.Windows
|
||||
int m_CaptureFrameNum = 0;
|
||||
int m_CaptureCounter = 0;
|
||||
bool m_Disconnect = false;
|
||||
RemoteAccess m_Connection = null;
|
||||
TargetControl m_Connection = null;
|
||||
|
||||
bool m_IgnoreThreadClosed = false;
|
||||
|
||||
@@ -145,7 +145,7 @@ namespace renderdocui.Windows
|
||||
{
|
||||
string username = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
|
||||
|
||||
m_Connection = StaticExports.CreateRemoteAccessConnection(m_Host, m_RemoteIdent, username, true);
|
||||
m_Connection = StaticExports.CreateTargetControl(m_Host, m_RemoteIdent, username, true);
|
||||
|
||||
if (m_Connection.Connected)
|
||||
{
|
||||
|
||||
@@ -121,10 +121,10 @@ namespace renderdocui.Windows.Dialogs
|
||||
|
||||
string username = System.Security.Principal.WindowsIdentity.GetCurrent().Name;
|
||||
|
||||
StaticExports.EnumerateRemoteConnections(hostname, (UInt32 i) => {
|
||||
StaticExports.EnumerateRemoteTargets(hostname, (UInt32 i) => {
|
||||
try
|
||||
{
|
||||
var conn = StaticExports.CreateRemoteAccessConnection(hostname, i, username, false);
|
||||
var conn = StaticExports.CreateTargetControl(hostname, i, username, false);
|
||||
|
||||
if (node.OwnerView.Visible)
|
||||
{
|
||||
|
||||
@@ -72,11 +72,11 @@ namespace renderdocui.Windows.Dialogs
|
||||
string runningPrograms = "";
|
||||
int running = 0;
|
||||
|
||||
renderdoc.StaticExports.EnumerateRemoteConnections("localhost", (UInt32 i) =>
|
||||
renderdoc.StaticExports.EnumerateRemoteTargets("localhost", (UInt32 i) =>
|
||||
{
|
||||
running++;
|
||||
|
||||
var conn = renderdoc.StaticExports.CreateRemoteAccessConnection("localhost", i, "updater", false);
|
||||
var conn = renderdoc.StaticExports.CreateTargetControl("localhost", i, "updater", false);
|
||||
|
||||
if (runningPrograms != "")
|
||||
runningPrograms += "\n";
|
||||
|
||||
Reference in New Issue
Block a user