15 std::unique_ptr<VulkanNativeSurface> native_surface)
17 application_(application),
18 native_surface_(
std::move(native_surface)),
20 if (native_surface_ ==
nullptr || !native_surface_->IsValid()) {
21 FML_DLOG(INFO) <<
"Native surface was invalid.";
26 native_surface_->CreateSurfaceHandle(vk, application.
GetInstance());
28 if (
surface == VK_NULL_HANDLE) {
29 FML_DLOG(INFO) <<
"Could not create the surface handle.";