Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
impeller::CompressedImage Class Referenceabstract

#include <compressed_image.h>

Inheritance diagram for impeller::CompressedImage:
impeller::CompressedImageSkia

Public Member Functions

virtual ~CompressedImage ()
 
virtual DecompressedImage Decode () const =0
 
bool IsValid () const
 

Protected Member Functions

 CompressedImage (std::shared_ptr< const fml::Mapping > allocation)
 

Protected Attributes

const std::shared_ptr< const fml::Mappingsource_
 

Detailed Description

Definition at line 19 of file compressed_image.h.

Constructor & Destructor Documentation

◆ ~CompressedImage()

impeller::CompressedImage::~CompressedImage ( )
virtualdefault

◆ CompressedImage()

impeller::CompressedImage::CompressedImage ( std::shared_ptr< const fml::Mapping allocation)
explicitprotected

Definition at line 9 of file compressed_image.cc.

10 : source_(std::move(allocation)) {}
const std::shared_ptr< const fml::Mapping > source_

Member Function Documentation

◆ Decode()

virtual DecompressedImage impeller::CompressedImage::Decode ( ) const
pure virtual

◆ IsValid()

bool impeller::CompressedImage::IsValid ( ) const

Definition at line 14 of file compressed_image.cc.

14 {
15 return static_cast<bool>(source_);
16}

Member Data Documentation

◆ source_

const std::shared_ptr<const fml::Mapping> impeller::CompressedImage::source_
protected

Definition at line 28 of file compressed_image.h.


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