Flutter Engine
The Flutter Engine
Namespaces | Macros
vulkan_proc_table.cc File Reference
#include "flutter/vulkan/procs/vulkan_proc_table.h"
#include <utility>
#include "flutter/fml/logging.h"

Go to the source code of this file.

Namespaces

namespace  vulkan
 

Macros

#define ACQUIRE_PROC(name, context)
 
#define ACQUIRE_PROC_EITHER(name, name2, context)
 

Macro Definition Documentation

◆ ACQUIRE_PROC

#define ACQUIRE_PROC (   name,
  context 
)
Value:
if (!(name = AcquireProc("vk" #name, context))) { \
return false; \
}
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

Definition at line 11 of file vulkan_proc_table.cc.

◆ ACQUIRE_PROC_EITHER

#define ACQUIRE_PROC_EITHER (   name,
  name2,
  context 
)
Value:
if (!(name = AcquireProc("vk" #name, context)) && \
!(name2 = AcquireProc("vk" #name2, context))) { \
return false; \
}

Definition at line 16 of file vulkan_proc_table.cc.