Qt: Support runtime renderer switching

This commit is contained in:
Connor McLaughlin
2020-01-07 18:55:36 +10:00
parent c6d6b0405f
commit e7bebb0105
7 changed files with 169 additions and 37 deletions

View File

@@ -58,9 +58,6 @@
<property name="title">
<string>Renderer</string>
</property>
<addaction name="actionRendererD3D11"/>
<addaction name="actionRendererOpenGL"/>
<addaction name="actionRendererSoftware"/>
</widget>
<widget class="QMenu" name="actionCPUExecutionMode">
<property name="title">
@@ -247,30 +244,6 @@
<string>Fullscreen</string>
</property>
</action>
<action name="actionRendererD3D11">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Hardware (D3D11)</string>
</property>
</action>
<action name="actionRendererOpenGL">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Hardware (OpenGL)</string>
</property>
</action>
<action name="actionRendererSoftware">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Software</string>
</property>
</action>
<action name="actionCPUExecutionModeInterpreter">
<property name="checkable">
<bool>true</bool>