Facilitate OpenGL debug logging via GUI (#1373)
* Allow printing GL Debug logs with GUI options Improve GL Debugger Make the new option persistent Address gdkchan's comments - Rename enum to GraphicsDebugLevel - Move Debugger Init to Renderer Init - Fix formatting * nit: newlines
This commit is contained in:
parent
1457ab5456
commit
f0c91d9efb
10 changed files with 231 additions and 44 deletions
|
@ -1,4 +1,5 @@
|
|||
using OpenTK.Graphics.OpenGL;
|
||||
using Ryujinx.Common.Configuration;
|
||||
using Ryujinx.Common.Logging;
|
||||
using Ryujinx.Graphics.GAL;
|
||||
using Ryujinx.Graphics.OpenGL.Image;
|
||||
|
@ -96,8 +97,10 @@ namespace Ryujinx.Graphics.OpenGL
|
|||
return _counters.QueueReport(type, resultHandler);
|
||||
}
|
||||
|
||||
public void Initialize()
|
||||
public void Initialize(GraphicsDebugLevel glLogLevel)
|
||||
{
|
||||
Debugger.Initialize(glLogLevel);
|
||||
|
||||
PrintGpuInformation();
|
||||
|
||||
_counters.Initialize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue