Add connection status overlay for DXVA2 and SDL

This commit is contained in:
Cameron Gutman
2019-03-17 15:08:21 -07:00
parent 9a6f5ba1a8
commit c75b9c9221
9 changed files with 186 additions and 95 deletions
@@ -22,11 +22,13 @@ public:
virtual void notifyOverlayUpdated(Overlay::OverlayType) override;
private:
void renderOverlay(Overlay::OverlayType type);
SDL_Renderer* m_Renderer;
SDL_Texture* m_Texture;
TTF_Font* m_DebugOverlayFont;
SDL_Surface* m_DebugOverlaySurface;
SDL_Texture* m_DebugOverlayTexture;
SDL_Rect m_DebugOverlayRect;
TTF_Font* m_OverlayFonts[Overlay::OverlayMax];
SDL_Surface* m_OverlaySurfaces[Overlay::OverlayMax];
SDL_Texture* m_OverlayTextures[Overlay::OverlayMax];
SDL_Rect m_OverlayRects[Overlay::OverlayMax];
};