mirror of
https://github.com/GreemDev/Ryujinx
synced 2025-02-01 01:58:54 +01:00
Compare commits
8 commits
0f2b728747
...
7d9b80cdd4
Author | SHA1 | Date | |
---|---|---|---|
|
7d9b80cdd4 | ||
|
b05eab21a2 | ||
|
ff667a5c84 | ||
|
8665e6235b | ||
|
a7f0348cde | ||
|
0197e01cbb | ||
|
08335043dd | ||
|
67bb6831df |
2 changed files with 11 additions and 5 deletions
|
@ -7,6 +7,7 @@
|
||||||
Title="Ryujinx - Waiting"
|
Title="Ryujinx - Waiting"
|
||||||
SizeToContent="WidthAndHeight"
|
SizeToContent="WidthAndHeight"
|
||||||
WindowStartupLocation="CenterOwner"
|
WindowStartupLocation="CenterOwner"
|
||||||
|
CanResize="False"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Focusable="True">
|
Focusable="True">
|
||||||
<Grid
|
<Grid
|
||||||
|
|
|
@ -62,11 +62,6 @@ namespace Ryujinx.Ava.UI.Renderer
|
||||||
KnownGreatMetalTitles.ContainsIgnoreCase(titleId)
|
KnownGreatMetalTitles.ContainsIgnoreCase(titleId)
|
||||||
? new EmbeddedWindowMetal()
|
? new EmbeddedWindowMetal()
|
||||||
: new EmbeddedWindowVulkan();
|
: new EmbeddedWindowVulkan();
|
||||||
|
|
||||||
string backendText = EmbeddedWindow is EmbeddedWindowVulkan ? "Vulkan" : "Metal";
|
|
||||||
|
|
||||||
Logger.Info?.Print(LogClass.Gpu, $"Auto: Using {backendText}");
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case GraphicsBackend.OpenGl:
|
case GraphicsBackend.OpenGl:
|
||||||
EmbeddedWindow = new EmbeddedWindowOpenGL();
|
EmbeddedWindow = new EmbeddedWindowOpenGL();
|
||||||
|
@ -78,6 +73,16 @@ namespace Ryujinx.Ava.UI.Renderer
|
||||||
EmbeddedWindow = new EmbeddedWindowVulkan();
|
EmbeddedWindow = new EmbeddedWindowVulkan();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
string backendText = EmbeddedWindow switch
|
||||||
|
{
|
||||||
|
EmbeddedWindowVulkan => "Vulkan",
|
||||||
|
EmbeddedWindowOpenGL => "OpenGL",
|
||||||
|
EmbeddedWindowMetal => "Metal",
|
||||||
|
_ => throw new NotImplementedException()
|
||||||
|
};
|
||||||
|
|
||||||
|
Logger.Info?.PrintMsg(LogClass.Gpu, $"Backend ({ConfigurationState.Instance.Graphics.GraphicsBackend.Value}): {backendText}");
|
||||||
|
|
||||||
Initialize();
|
Initialize();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue