11 #include "cores/GameSettings.h" 12 #include "threads/CriticalSection.h" 21 class CDialogGameAdvancedSettings;
22 class CDialogGameVideoSelect;
27 class CGameWindowFullScreen;
28 class CGUIGameControl;
29 class CGUIGameSettingsHandle;
30 class CGUIGameVideoHandle;
31 class CGUIRenderTargetFactory;
32 class CGUIRenderHandle;
33 class CGUIRenderTarget;
35 class IRenderCallback;
94 void UnregisterPlayer();
103 std::shared_ptr<CGUIRenderHandle> RegisterControl(
CGUIGameControl& control);
129 std::shared_ptr<CGUIGameSettingsHandle> RegisterGameSettingsDialog();
141 bool IsPlayingGame();
142 bool SupportsRenderFeature(RENDERFEATURE feature);
143 bool SupportsScalingMethod(SCALINGMETHOD method);
147 std::string GameClientID();
148 std::string GetPlayingGame();
149 std::string CreateSavestate(
bool autosave);
150 bool UpdateSavestate(
const std::string& savestatePath);
151 bool LoadSavestate(
const std::string& savestatePath);
152 void FreeSavestateResources(
const std::string& savestatePath);
160 void UpdateRenderTargets();
173 std::map<CGUIRenderHandle*, std::shared_ptr<CGUIRenderTarget>> m_renderTargets;
174 CCriticalSection m_targetMutex;
178 CCriticalSection m_callbackMutex;
182 CCriticalSection m_gameCallbackMutex;
Definition: GUIGameSettingsHandle.h:20
Definition: GUIRenderHandle.h:27
Definition: GUIGameVideoHandle.h:19
Definition: DialogGameVideoSelect.h:27
Definition: IGameCallback.h:19
Definition: GUIGameControl.h:29
A target of rendering commands.
Definition: GUIRenderTarget.h:27
Definition: IRenderCallback.h:17
Controller configuration window.
Definition: AudioDecoder.h:18
Definition: GUIRenderTargetFactory.h:20
Definition: GameWindowFullScreen.h:22
Class to safely route commands between the GUI and RetroPlayer.
Definition: GUIGameRenderManager.h:69