Add support for rendering NV12 hwframes with SDL

This commit is contained in:
Cameron Gutman
2019-04-19 22:16:06 -07:00
parent d65e29111f
commit 5c8a1e632b
2 changed files with 90 additions and 22 deletions
@@ -20,10 +20,13 @@ private:
SDL_Renderer* m_Renderer;
SDL_Texture* m_Texture;
int m_SwPixelFormat;
QByteArray m_FontData;
TTF_Font* m_OverlayFonts[Overlay::OverlayMax];
SDL_Surface* m_OverlaySurfaces[Overlay::OverlayMax];
SDL_Texture* m_OverlayTextures[Overlay::OverlayMax];
SDL_Rect m_OverlayRects[Overlay::OverlayMax];
static const std::vector<int> k_SwFormats;
};