Flutter Engine
vulkan_interface.h File Reference
#include <string>
#include "flutter/fml/build_config.h"
#include "flutter/fml/logging.h"
#include <vulkan/vulkan.h>

Go to the source code of this file.

Namespaces

 vulkan
 

Macros

#define VK_NO_PROTOTYPES   1
 
#define VK_CALL_LOG_ERROR(expression)
 

Functions

std::string vulkan::VulkanResultToString (VkResult result)
 

Macro Definition Documentation

◆ VK_CALL_LOG_ERROR

#define VK_CALL_LOG_ERROR (   expression)
Value:
({ \
__typeof__(expression) _rc = (expression); \
if (_rc != VK_SUCCESS) { \
FML_DLOG(INFO) << "Vulkan call '" << #expression \
<< "' failed with error " \
} \
_rc; \
})
std::string VulkanResultToString(VkResult result)

Definition at line 36 of file vulkan_interface.h.

Referenced by vulkan::VulkanApplication::AcquireFirstCompatibleLogicalDevice(), vulkan::VulkanSwapchain::AcquireSurface(), vulkan::VulkanCommandBuffer::Begin(), flutter_runner::VulkanSurface::BindToImage(), vulkan::VulkanDevice::ChooseSurfaceFormat(), vulkan::VulkanProvider::CreateFence(), vulkan::VulkanNativeSurfaceAndroid::CreateSurfaceHandle(), flutter_runner::CreateVulkanImage(), vulkan::VulkanCommandBuffer::End(), flutter_runner::VulkanSurface::GetSize(), vulkan::VulkanDevice::GetSurfaceCapabilities(), vulkan::InstanceOrDeviceLayersToEnable(), vulkan::VulkanBackbuffer::IsValid(), vulkan::VulkanSwapchain::IsValid(), vulkan::VulkanDevice::QueueSubmit(), vulkan::VulkanApplication::ReleaseInstanceOwnership(), vulkan::VulkanBackbuffer::ResetFences(), flutter_runner::VulkanSurface::SignalWritesFinished(), vulkan::VulkanSwapchain::Submit(), vulkan::VulkanApplication::VulkanApplication(), vulkan::VulkanCommandBuffer::VulkanCommandBuffer(), vulkan::VulkanDebugReport::VulkanDebugReport(), vulkan::VulkanDevice::VulkanDevice(), vulkan::VulkanSwapchain::VulkanSwapchain(), vulkan::VulkanBackbuffer::WaitFences(), vulkan::VulkanDevice::WaitIdle(), and flutter_runner::VulkanSurfaceProducer::~VulkanSurfaceProducer().

◆ VK_NO_PROTOTYPES

#define VK_NO_PROTOTYPES   1

Definition at line 29 of file vulkan_interface.h.