Frontend: Implement D3D<->GL renderer switching
This commit is contained in:
@ -59,7 +59,9 @@ private:
|
||||
#endif
|
||||
|
||||
bool CreateSDLWindow();
|
||||
void DestroySDLWindow();
|
||||
bool CreateDisplay();
|
||||
void DestroyDisplay();
|
||||
void CreateImGuiContext();
|
||||
bool CreateAudioStream();
|
||||
|
||||
@ -69,6 +71,7 @@ private:
|
||||
void SaveSettings();
|
||||
|
||||
void ResetPerformanceCounters();
|
||||
void QueueSwitchGPURenderer();
|
||||
void SwitchGPURenderer();
|
||||
void UpdateFullscreen();
|
||||
|
||||
@ -114,6 +117,8 @@ private:
|
||||
|
||||
std::shared_ptr<DigitalController> m_controller;
|
||||
|
||||
u32 m_switch_gpu_renderer_event_id = 0;
|
||||
|
||||
float m_vps = 0.0f;
|
||||
float m_fps = 0.0f;
|
||||
float m_speed = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user