Flutter Engine
The Flutter Engine
Static Public Member Functions | List of all members
skresources::CachingResourceProvider Class Referencefinal

#include <SkResources.h>

Inheritance diagram for skresources::CachingResourceProvider:
skresources::ResourceProviderProxyBase skresources::ResourceProvider SkRefCnt SkRefCntBase

Static Public Member Functions

static sk_sp< CachingResourceProviderMake (sk_sp< ResourceProvider > rp)
 

Additional Inherited Members

virtual sk_sp< SkDataload (const char[], const char[]) const
 
virtual sk_sp< ImageAssetloadImageAsset (const char[], const char[], const char[]) const
 
virtual sk_sp< ExternalTrackAssetloadAudioAsset (const char[], const char[], const char[])
 
virtual sk_sp< SkDataloadFont (const char[], const char[]) const
 
virtual sk_sp< SkTypefaceloadTypeface (const char[], const char[]) const
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 
- Protected Member Functions inherited from skresources::ResourceProviderProxyBase
 ResourceProviderProxyBase (sk_sp< ResourceProvider >)
 
sk_sp< SkDataload (const char[], const char[]) const override
 
sk_sp< ImageAssetloadImageAsset (const char[], const char[], const char[]) const override
 
sk_sp< SkTypefaceloadTypeface (const char[], const char[]) const override
 
sk_sp< SkDataloadFont (const char[], const char[]) const override
 
sk_sp< ExternalTrackAssetloadAudioAsset (const char[], const char[], const char[]) override
 
- Protected Attributes inherited from skresources::ResourceProviderProxyBase
const sk_sp< ResourceProviderfProxy
 

Detailed Description

Definition at line 245 of file SkResources.h.

Member Function Documentation

◆ Make()

static sk_sp< CachingResourceProvider > skresources::CachingResourceProvider::Make ( sk_sp< ResourceProvider rp)
inlinestatic

Definition at line 247 of file SkResources.h.

247 {
248 return rp ? sk_sp<CachingResourceProvider>(new CachingResourceProvider(std::move(rp)))
249 : nullptr;
250 }

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