Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions
VulkanUtilsPriv.cpp File Reference
#include "src/gpu/vk/VulkanUtilsPriv.h"
#include "include/private/base/SkDebug.h"
#include "src/gpu/vk/VulkanInterface.h"
#include <vector>

Go to the source code of this file.

Namespaces

namespace  skgpu
 

Macros

#define SHARED_GR_VULKAN_CALL(IFACE, X)   (IFACE)->fFunctions.f##X
 

Functions

void skgpu::SetupSamplerYcbcrConversionInfo (VkSamplerYcbcrConversionCreateInfo *outInfo, const VulkanYcbcrConversionInfo &conversionInfo)
 
void skgpu::InvokeDeviceLostCallback (const skgpu::VulkanInterface *vulkanInterface, VkDevice vkDevice, skgpu::VulkanDeviceLostContext deviceLostContext, skgpu::VulkanDeviceLostProc deviceLostProc, bool supportsDeviceFaultInfoExtension)
 

Macro Definition Documentation

◆ SHARED_GR_VULKAN_CALL

#define SHARED_GR_VULKAN_CALL (   IFACE,
  X 
)    (IFACE)->fFunctions.f##X

Define a macro that both ganesh and graphite can use to make simple calls into Vulkan so we can share more code between them.

Definition at line 21 of file VulkanUtilsPriv.cpp.