mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-26 15:47:23 +00:00
Remove C# renderdocui UI. Add qrenderdoc to visual studio solution
This commit is contained in:
340 files changed
+64
-143630
No files matched your search
@@ -42,8 +42,7 @@ void library_loaded()
|
||||
string curfile;
|
||||
FileIO::GetExecutableFilename(curfile);
|
||||
|
||||
if(curfile.find("/renderdoccmd") != string::npos ||
|
||||
curfile.find("/renderdocui") != string::npos || curfile.find("/qrenderdoc") != string::npos ||
|
||||
if(curfile.find("/renderdoccmd") != string::npos || curfile.find("/qrenderdoc") != string::npos ||
|
||||
curfile.find("org.renderdoc.renderdoccmd") != string::npos)
|
||||
{
|
||||
RDCDEBUG("Not creating hooks - in replay app");
|
||||
|
||||
@@ -296,9 +296,7 @@ private:
|
||||
string app = lpApplicationName;
|
||||
app = strlower(app);
|
||||
|
||||
if(app.find("renderdoccmd.exe") != string::npos ||
|
||||
app.find("renderdocui.vshost.exe") != string::npos ||
|
||||
app.find("qrenderdoc.exe") != string::npos || app.find("renderdocui.exe") != string::npos)
|
||||
if(app.find("renderdoccmd.exe") != string::npos || app.find("qrenderdoc.exe") != string::npos)
|
||||
{
|
||||
inject = false;
|
||||
}
|
||||
@@ -308,9 +306,7 @@ private:
|
||||
string cmd = lpCommandLine;
|
||||
cmd = strlower(cmd);
|
||||
|
||||
if(cmd.find("renderdoccmd.exe") != string::npos ||
|
||||
cmd.find("renderdocui.vshost.exe") != string::npos ||
|
||||
cmd.find("qrenderdoc.exe") != string::npos || cmd.find("renderdocui.exe") != string::npos)
|
||||
if(cmd.find("renderdoccmd.exe") != string::npos || cmd.find("qrenderdoc.exe") != string::npos)
|
||||
{
|
||||
inject = false;
|
||||
}
|
||||
@@ -385,9 +381,7 @@ private:
|
||||
app = strlower(app);
|
||||
|
||||
if(app.find(L"renderdoccmd.exe") != wstring::npos ||
|
||||
app.find(L"renderdocui.vshost.exe") != wstring::npos ||
|
||||
app.find(L"qrenderdoc.exe") != string::npos ||
|
||||
app.find(L"renderdocui.exe") != wstring::npos)
|
||||
app.find(L"qrenderdoc.exe") != string::npos)
|
||||
{
|
||||
inject = false;
|
||||
}
|
||||
@@ -398,9 +392,7 @@ private:
|
||||
cmd = strlower(cmd);
|
||||
|
||||
if(cmd.find(L"renderdoccmd.exe") != wstring::npos ||
|
||||
cmd.find(L"renderdocui.vshost.exe") != wstring::npos ||
|
||||
cmd.find(L"qrenderdoc.exe") != wstring::npos ||
|
||||
cmd.find(L"renderdocui.exe") != wstring::npos)
|
||||
cmd.find(L"qrenderdoc.exe") != wstring::npos)
|
||||
{
|
||||
inject = false;
|
||||
}
|
||||
|
||||
@@ -253,7 +253,7 @@ string GetReplayAppFilename()
|
||||
|
||||
string path = StringFormat::Wide2UTF8(wstring(curFile));
|
||||
path = dirname(path);
|
||||
string exe = path + "/renderdocui.exe";
|
||||
string exe = path + "/qrenderdoc.exe";
|
||||
|
||||
FILE *f = FileIO::fopen(exe.c_str(), "rb");
|
||||
if(f)
|
||||
@@ -262,9 +262,9 @@ string GetReplayAppFilename()
|
||||
return exe;
|
||||
}
|
||||
|
||||
// if renderdocui.exe doesn't live in the same dir, we must be in x86/
|
||||
// if qrenderdoc.exe doesn't live in the same dir, we must be in x86/
|
||||
// so look one up the tree.
|
||||
exe = path + "/../renderdocui.exe";
|
||||
exe = path + "/../qrenderdoc.exe";
|
||||
|
||||
f = FileIO::fopen(exe.c_str(), "rb");
|
||||
if(f)
|
||||
|
||||
Reference in new issue
Block a user