qt: Remove the Direct3D 9 renderer

This commit is contained in:
Alexander Babikov
2024-02-13 18:40:07 +05:00
parent c7563f802c
commit 5acec5dfa4
11 changed files with 18 additions and 389 deletions

View File

@@ -59,7 +59,6 @@ public:
OpenGLES,
OpenGL3,
Vulkan,
Direct3D9,
None = -1
};
void switchRenderer(Renderer renderer);
@@ -81,13 +80,10 @@ public:
signals:
void blitToRenderer(int buf_idx, int x, int y, int w, int h);
void blit(int x, int y, int w, int h);
void rendererChanged();
public slots:
void blitCommon(int x, int y, int w, int h);
void blitRenderer(int x, int y, int w, int h);
void blitDummy(int x, int y, int w, int h);
void blit(int x, int y, int w, int h);
private:
void createRenderer(Renderer renderer);
@@ -107,13 +103,10 @@ private:
int isMouseDown = 0;
int m_monitor_index = 0;
Renderer current_vid_api = Renderer::None;
std::vector<std::tuple<uint8_t *, std::atomic_flag *>> imagebufs;
RendererCommon *rendererWindow { nullptr };
std::unique_ptr<QWidget> current;
std::atomic<bool> directBlitting { false };
};
#endif // QT_RENDERERCONTAINER_HPP