It renders something, crashes because ImGui exhausts the display list. Need to find a better way for thread sync. Message queue?

This commit is contained in:
irisz64
2025-05-22 09:16:58 +02:00
parent 668edbcd91
commit 326b4b43cd
7 changed files with 25 additions and 43 deletions

View File

@@ -7,8 +7,6 @@ namespace n64 {
struct VI;
}
class KaizenGui;
class ParallelRDP {
public:
class WindowInfo {
@@ -25,7 +23,7 @@ public:
const std::shared_ptr<WindowInfo> &, const u8 *);
ParallelRDP() = default;
void UpdateScreen(const n64::VI &, KaizenGui&, bool = true) const;
void UpdateScreen(const n64::VI &, bool = true) const;
void EnqueueCommand(int, const u32 *) const;
void OnFullSync() const;
bool IsFramerateUnlocked() const;
@@ -38,5 +36,5 @@ public:
private:
void LoadWSIPlatform(const std::shared_ptr<Vulkan::WSIPlatform> &, const std::shared_ptr<WindowInfo> &);
void DrawFullscreenTexturedQuad(Util::IntrusivePtr<Vulkan::Image>, Util::IntrusivePtr<Vulkan::CommandBuffer>) const;
void UpdateScreen(Util::IntrusivePtr<Vulkan::Image>, KaizenGui&) const;
void UpdateScreen(Util::IntrusivePtr<Vulkan::Image>) const;
};