Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
impeller::PoolVMATraits Struct Reference

#include <vma.h>

Static Public Member Functions

static PoolVMA InvalidValue ()
 
static bool IsValid (const PoolVMA &value)
 
static void Free (const PoolVMA &pool)
 

Detailed Description

Definition at line 50 of file vma.h.

Member Function Documentation

◆ Free()

static void impeller::PoolVMATraits::Free ( const PoolVMA pool)
inlinestatic

Definition at line 57 of file vma.h.

57 {
58 TRACE_EVENT0("impeller", "DestroyPool");
59 ::vmaDestroyPool(pool.allocator, pool.pool);
60 }
AutoreleasePool pool
#define TRACE_EVENT0(category_group, name)

◆ InvalidValue()

static PoolVMA impeller::PoolVMATraits::InvalidValue ( )
inlinestatic

Definition at line 51 of file vma.h.

51{ return {}; }

◆ IsValid()

static bool impeller::PoolVMATraits::IsValid ( const PoolVMA value)
inlinestatic

Definition at line 53 of file vma.h.

53 {
54 return value.allocator != VmaAllocator{};
55 }
uint8_t value

The documentation for this struct was generated from the following file: