Flutter Engine
The Flutter Engine
Namespaces | Macros | Variables
VulkanInterface.cpp File Reference
#include "src/gpu/vk/VulkanInterface.h"
#include "include/gpu/vk/VulkanExtensions.h"
#include "include/private/base/SkAssert.h"
#include "include/private/base/SkDebug.h"
#include <functional>

Go to the source code of this file.

Namespaces

namespace  skgpu
 

Macros

#define ACQUIRE_PROC(name, instance, device)    fFunctions.f##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
 
#define ACQUIRE_PROC_SUFFIX(name, suffix, instance, device)
 
#define RETURN_FALSE_INTERFACE
 

Variables

constexpr int skgpu::kIsDebug = 0
 

Macro Definition Documentation

◆ ACQUIRE_PROC

#define ACQUIRE_PROC (   name,
  instance,
  device 
)     fFunctions.f##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))

Definition at line 17 of file VulkanInterface.cpp.

◆ ACQUIRE_PROC_SUFFIX

#define ACQUIRE_PROC_SUFFIX (   name,
  suffix,
  instance,
  device 
)
Value:
fFunctions.f##name = \
reinterpret_cast<PFN_vk##name##suffix>(getProc("vk" #name #suffix, instance, device))
VkDevice device
Definition: main.cc:53
VkInstance instance
Definition: main.cc:48
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

Definition at line 20 of file VulkanInterface.cpp.

◆ RETURN_FALSE_INTERFACE

#define RETURN_FALSE_INTERFACE
Value:
if (kIsDebug) { SkDebugf("%s:%d VulkanInterface::validate() failed.\n", __FILE__, __LINE__); } \
return false;
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
constexpr int kIsDebug

Definition at line 270 of file VulkanInterface.cpp.