Add fonts + gdb stub WIP

This commit is contained in:
CocoSimone
2022-08-25 23:47:52 +02:00
parent 7c338f4f0c
commit 477e8b7884
13 changed files with 954 additions and 107 deletions

View File

@@ -10,19 +10,20 @@
struct Window {
explicit Window(n64::Core& core);
~Window();
ImDrawData* Present(const Util::IntrusivePtr<Vulkan::Image>&, n64::Core& core);
ImDrawData* Present(n64::Core& core);
[[nodiscard]] bool gotClosed(SDL_Event event);
ImFont *uiFont, *codeFont;
u32 windowID;
private:
SDL_Window* window;
u32 windowID;
void InitSDL();
void InitImgui();
void Render(const Util::IntrusivePtr<Vulkan::Image>&, n64::Core& core);
void Render(n64::Core& core);
void MainMenuBar(n64::Core& core);
void DebuggerWindow(n64::Core& core);
VkPhysicalDevice physicalDevice{};
VkSampler screenSampler{};
VkDescriptorSet screenTexture{};
VkDevice device{};
uint32_t queueFamily{uint32_t(-1)};
VkQueue queue{};