This commit is contained in:
2026-06-10 10:53:49 +02:00
parent e72abc2407
commit ac4af8106c
11 changed files with 139 additions and 70 deletions
+1 -7
View File
@@ -194,8 +194,7 @@ void ParallelRDP::UpdateScreen(Util::IntrusivePtr<Image> image) const {
wsi->end_frame();
}
template <>
void ParallelRDP::UpdateScreen<true>() const {
void ParallelRDP::UpdateScreen() const {
const n64::VI &vi = n64::Core::GetMem().mmio.vi;
command_processor->set_vi_register(VIRegister::Control, vi.status.raw);
command_processor->set_vi_register(VIRegister::Origin, vi.origin);
@@ -225,11 +224,6 @@ void ParallelRDP::UpdateScreen<true>() const {
command_processor->begin_frame_context();
}
template <>
void ParallelRDP::UpdateScreen<false>() const {
UpdateScreen(static_cast<Util::IntrusivePtr<Image>>(nullptr));
}
void ParallelRDP::EnqueueCommand(const int command_length, const u32 *buffer) const {
command_processor->enqueue_command(command_length, buffer);
}
-1
View File
@@ -18,7 +18,6 @@ class ParallelRDP {
void Init(const std::shared_ptr<Vulkan::WSIPlatform> &, const std::shared_ptr<WindowInfo> &,
Vulkan::InstanceFactory *, const u8 *);
template <bool>
void UpdateScreen() const;
void EnqueueCommand(int, const u32 *) const;
void OnFullSync() const;