Presentation instance held while an embedder creates its platform surface. More...
#include "donner/gpu/vulkan/VulkanDevice.h"
Public Member Functions | |
| ~VulkanPresentationProbe () | |
| Destroys the provisional Vulkan instance when no root accepted it. | |
| void * | nativeInstance () const |
| Instance borrowed by the embedder to create its native surface. | |
| void | destroyExternalSurface (uint64_t surfaceHandle) |
| Releases an embedder surface before root completion fails and this instance goes away. | |
Friends | |
| class | VulkanDevice |
Presentation instance held while an embedder creates its platform surface.
Complete the shared root against that exact surface before opening a logical runtime device. The embedder must destroy its surface before releasing this probe on failure.
| void donner::gpu::vulkan::VulkanPresentationProbe::destroyExternalSurface | ( | uint64_t | surfaceHandle | ) |
Releases an embedder surface before root completion fails and this instance goes away.
| surfaceHandle | VkSurfaceKHR bits created against nativeInstance(). |