#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.
◆ VK_CALL_LOG
| #define VK_CALL_LOG |
( |
|
expression, |
|
|
|
severity |
|
) |
| |
Value: ({ \
__typeof__(expression) _rc = (expression); \
if (_rc != VK_SUCCESS) { \
FML_LOG(severity) << "Vulkan call '" << #expression \
<< "' failed with error " \
} \
_rc; \
})
std::string VulkanResultToString(VkResult result)
Definition at line 41 of file vulkan_interface.h.
42 { \
43 __typeof__(expression) _rc = (expression); \
44 if (_rc != VK_SUCCESS) { \
45 FML_LOG(severity) << "Vulkan call '" << #expression \
46 << "' failed with error " \
48 } \
49 _rc; \
50 })
◆ VK_CALL_LOG_ERROR
| #define VK_CALL_LOG_ERROR |
( |
|
expression | ) |
VK_CALL_LOG(expression, ERROR) |
◆ VK_CALL_LOG_FATAL
| #define VK_CALL_LOG_FATAL |
( |
|
expression | ) |
VK_CALL_LOG(expression, FATAL) |