Flutter Impeller
impeller::egl::Config Class Reference

#include <config.h>

Public Member Functions

 Config (ConfigDescriptor descriptor, EGLConfig config)
 
 ~Config ()
 
bool IsValid () const
 
const ConfigDescriptorGetDescriptor () const
 
const EGLConfig & GetHandle () const
 

Detailed Description

Definition at line 55 of file config.h.

Constructor & Destructor Documentation

◆ Config()

impeller::egl::Config::Config ( ConfigDescriptor  descriptor,
EGLConfig  config 
)

Definition at line 12 of file config.cc.

13  : desc_(descriptor), config_(config) {}

◆ ~Config()

impeller::egl::Config::~Config ( )
default

Member Function Documentation

◆ GetDescriptor()

const ConfigDescriptor & impeller::egl::Config::GetDescriptor ( ) const

Definition at line 17 of file config.cc.

17  {
18  return desc_;
19 }

Referenced by impeller::egl::Display::CreateContext().

◆ GetHandle()

const EGLConfig & impeller::egl::Config::GetHandle ( ) const

◆ IsValid()

bool impeller::egl::Config::IsValid ( ) const

Definition at line 25 of file config.cc.

25  {
26  return config_ != nullptr;
27 }

The documentation for this class was generated from the following files: