Flutter Engine
 
Loading...
Searching...
No Matches
impeller::EGLImageWithDisplayTraits Struct Reference

#include <image.h>

Static Public Member Functions

static EGLImageWithDisplay InvalidValue ()
 
static bool IsValid (const EGLImageWithDisplay &value)
 
static void Free (EGLImageWithDisplay image)
 

Detailed Description

Definition at line 21 of file image.h.

Member Function Documentation

◆ Free()

static void impeller::EGLImageWithDisplayTraits::Free ( EGLImageWithDisplay  image)
inlinestatic

Definition at line 30 of file image.h.

30 {
31 eglDestroyImage(image.display, image.image);
32 }
FlutterVulkanImage * image
FlutterVulkanImageHandle image
Definition embedder.h:931

References FlutterVulkanImage::image, and image.

◆ InvalidValue()

static EGLImageWithDisplay impeller::EGLImageWithDisplayTraits::InvalidValue ( )
inlinestatic

Definition at line 22 of file image.h.

22 {
23 return {EGL_NO_IMAGE, EGL_NO_DISPLAY};
24 }

Referenced by IsValid().

◆ IsValid()

static bool impeller::EGLImageWithDisplayTraits::IsValid ( const EGLImageWithDisplay value)
inlinestatic

Definition at line 26 of file image.h.

26 {
27 return value != InvalidValue();
28 }
int32_t value
static EGLImageWithDisplay InvalidValue()
Definition image.h:22

References InvalidValue(), and value.


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