mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-08 08:41:32 +01:00
extra fixups
This commit is contained in:
parent
d930ff52e1
commit
0e0b2f4895
7 changed files with 35 additions and 40 deletions
|
|
@ -22,17 +22,13 @@ struct ChannelState;
|
|||
|
||||
class Scheduler {
|
||||
public:
|
||||
explicit Scheduler(GPU& gpu_);
|
||||
~Scheduler();
|
||||
|
||||
void Push(s32 channel, CommandList&& entries);
|
||||
void Push(GPU& gpu, s32 channel, CommandList&& entries);
|
||||
|
||||
void DeclareChannel(std::shared_ptr<ChannelState> new_channel);
|
||||
|
||||
private:
|
||||
ankerl::unordered_dense::map<s32, std::shared_ptr<ChannelState>> channels;
|
||||
std::mutex scheduling_guard;
|
||||
GPU& gpu;
|
||||
};
|
||||
|
||||
} // namespace Control
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue