Rename DebugLevel Performance to Slowdowns (#1450)

This commit is contained in:
mageven 2020-08-07 19:00:06 +05:30 committed by GitHub
parent 157ad3f54f
commit e19193e073
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@ namespace Ryujinx.Common.Configuration
{ {
None, None,
Error, Error,
Performance, Slowdowns,
All All
} }
} }

View file

@ -32,7 +32,7 @@ namespace Ryujinx.Graphics.OpenGL
{ {
GL.DebugMessageControl(DebugSourceControl.DontCare, DebugTypeControl.DebugTypeError, DebugSeverityControl.DontCare, 0, (int[])null, true); GL.DebugMessageControl(DebugSourceControl.DontCare, DebugTypeControl.DebugTypeError, DebugSeverityControl.DontCare, 0, (int[])null, true);
} }
else if (logLevel == GraphicsDebugLevel.Performance) else if (logLevel == GraphicsDebugLevel.Slowdowns)
{ {
GL.DebugMessageControl(DebugSourceControl.DontCare, DebugTypeControl.DebugTypeError, DebugSeverityControl.DontCare, 0, (int[])null, true); GL.DebugMessageControl(DebugSourceControl.DontCare, DebugTypeControl.DebugTypeError, DebugSeverityControl.DontCare, 0, (int[])null, true);
GL.DebugMessageControl(DebugSourceControl.DontCare, DebugTypeControl.DebugTypePerformance, DebugSeverityControl.DontCare, 0, (int[])null, true); GL.DebugMessageControl(DebugSourceControl.DontCare, DebugTypeControl.DebugTypePerformance, DebugSeverityControl.DontCare, 0, (int[])null, true);

View file

@ -2185,7 +2185,7 @@
<property name="halign">start</property> <property name="halign">start</property>
<property name="margin_bottom">5</property> <property name="margin_bottom">5</property>
<property name="tooltip_text" translatable="yes">Use with care</property> <property name="tooltip_text" translatable="yes">Use with care</property>
<property name="label" translatable="yes">Developer Options</property> <property name="label" translatable="yes">Developer Options (WARNING: Will reduce performance)</property>
<attributes> <attributes>
<attribute name="weight" value="bold"/> <attribute name="weight" value="bold"/>
</attributes> </attributes>
@ -2231,7 +2231,7 @@
<object class="GtkLabel"> <object class="GtkLabel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Requires appropriate log levels enabled. Not persistent across restarts.</property> <property name="tooltip_text" translatable="yes">Requires appropriate log levels enabled.</property>
<property name="label" translatable="yes">OpenGL Log Level</property> <property name="label" translatable="yes">OpenGL Log Level</property>
</object> </object>
<packing> <packing>
@ -2245,7 +2245,7 @@
<object class="GtkComboBoxText" id="_graphicsDebugLevel"> <object class="GtkComboBoxText" id="_graphicsDebugLevel">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Requires appropriate log levels enabled. Not persistent across restarts.</property> <property name="tooltip_text" translatable="yes">Requires appropriate log levels enabled.</property>
<property name="margin_left">5</property> <property name="margin_left">5</property>
</object> </object>
<packing> <packing>