Flutter Impeller
proc_table.cc File Reference

Go to the source code of this file.

Namespaces

 impeller
 
 impeller::glvk
 

Macros

#define GLVK_PROC(proc_ivar)
 

Macro Definition Documentation

◆ GLVK_PROC

#define GLVK_PROC (   proc_ivar)
Value:
if (auto fn_ptr = resolver(proc_ivar.name)) { \
proc_ivar.function = \
reinterpret_cast<decltype(proc_ivar.function)>(fn_ptr); \
proc_ivar.error_fn = error_fn; \
} else { \
VALIDATION_LOG << "Could not resolve " << proc_ivar.name; \
return; \
}