Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
impeller::EGLImageKHRWithDisplayTraits Struct Reference

#include <image.h>

Static Public Member Functions

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

Detailed Description

Definition at line 58 of file image.h.

Member Function Documentation

◆ Free()

static void impeller::EGLImageKHRWithDisplayTraits::Free ( EGLImageKHRWithDisplay  image)
inlinestatic

Definition at line 67 of file image.h.

67 {
68 eglDestroyImageKHR(image.display, image.image);
69 }
sk_sp< const SkImage > image
Definition: SkRecords.h:269

◆ InvalidValue()

static EGLImageKHRWithDisplay impeller::EGLImageKHRWithDisplayTraits::InvalidValue ( )
inlinestatic

Definition at line 59 of file image.h.

59 {
60 return {EGL_NO_IMAGE_KHR, EGL_NO_DISPLAY};
61 }

◆ IsValid()

static bool impeller::EGLImageKHRWithDisplayTraits::IsValid ( const EGLImageKHRWithDisplay value)
inlinestatic

Definition at line 63 of file image.h.

63 {
64 return value != InvalidValue();
65 }
uint8_t value
static EGLImageKHRWithDisplay InvalidValue()
Definition: image.h:59

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