Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
impeller::android::testing::UniqueAHardwareBufferTraits Struct Reference

Static Public Member Functions

static AHardwareBuffer * InvalidValue ()
 
static bool IsValid (AHardwareBuffer *value)
 
static void Free (AHardwareBuffer *value)
 

Detailed Description

Definition at line 18 of file ahb_texture_source_vk_unittests.cc.

Member Function Documentation

◆ Free()

static void impeller::android::testing::UniqueAHardwareBufferTraits::Free ( AHardwareBuffer *  value)
inlinestatic

Definition at line 21 of file ahb_texture_source_vk_unittests.cc.

21{ ::AHardwareBuffer_release(value); }

References value.

◆ InvalidValue()

static AHardwareBuffer * impeller::android::testing::UniqueAHardwareBufferTraits::InvalidValue ( )
inlinestatic

Definition at line 19 of file ahb_texture_source_vk_unittests.cc.

19{ return nullptr; }

◆ IsValid()

static bool impeller::android::testing::UniqueAHardwareBufferTraits::IsValid ( AHardwareBuffer *  value)
inlinestatic

Definition at line 20 of file ahb_texture_source_vk_unittests.cc.

20{ return value != nullptr; }
int32_t value

References value.


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