Flutter Engine
 
Loading...
Searching...
No Matches
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 47 of file image.h.

Member Function Documentation

◆ Free()

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

Definition at line 56 of file image.h.

56 {
57 eglDestroyImageKHR(image.display, image.image);
58 }
FlutterVulkanImage * image
FlutterVulkanImageHandle image
Definition embedder.h:931

References FlutterVulkanImage::image, and image.

◆ InvalidValue()

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

Definition at line 48 of file image.h.

48 {
49 return {EGL_NO_IMAGE_KHR, EGL_NO_DISPLAY};
50 }

Referenced by IsValid().

◆ IsValid()

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

Definition at line 52 of file image.h.

52 {
53 return value != InvalidValue();
54 }
int32_t value
static EGLImageKHRWithDisplay InvalidValue()
Definition image.h:48

References InvalidValue(), and value.


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