diff options
Diffstat (limited to 'src/platform/vulkan/vulkan_context.h')
| -rw-r--r-- | src/platform/vulkan/vulkan_context.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/platform/vulkan/vulkan_context.h b/src/platform/vulkan/vulkan_context.h new file mode 100644 index 0000000..f84e52b --- /dev/null +++ b/src/platform/vulkan/vulkan_context.h @@ -0,0 +1,26 @@ +#pragma once + +namespace Donut +{ + class VulkanContext + { + public: + VulkanContext(); + ~VulkanContext(); + + bool init(); + void shutdown(); + + bool self_test_clear(); + + bool self_test_triangle(); + + bool render_geodesic(const char* png_path); + + private: + struct Impl; + Impl* m_impl = nullptr; + }; + + bool vulkan_self_test(); +} |
