Address feedback. Bruteforce delete duplicates

This commit is contained in:
ameerj 2020-07-30 15:41:11 -04:00
parent 77698ae7d6
commit f029fa19bf
7 changed files with 115 additions and 79 deletions

View file

@ -100,7 +100,7 @@ private:
bool HasWorkQueued();
struct WorkerParams {
AsyncShaders::Backend backend;
Backend backend;
// For OGL
const OpenGL::Device* device;
Tegra::Engines::ShaderType shader_type;
@ -128,7 +128,7 @@ private:
std::atomic<bool> is_thread_exiting{};
std::vector<std::unique_ptr<Core::Frontend::GraphicsContext>> context_list;
std::vector<std::thread> worker_threads;
std::deque<WorkerParams> pending_queue;
std::queue<std::unique_ptr<WorkerParams>> pending_queue;
std::vector<AsyncShaders::Result> finished_work;
Core::Frontend::EmuWindow& emu_window;
};