Flutter Engine
The Flutter Engine
|
#include <display_list_deferred_image_gpu_skia.h>
Public Member Functions | |
~DlDeferredImageGPUSkia () override | |
sk_sp< SkImage > | skia_image () const override |
If this display list image is meant to be used by the Skia backend, an SkImage instance. Null otherwise. More... | |
std::shared_ptr< impeller::Texture > | impeller_texture () const override |
If this display list image is meant to be used by the Impeller backend, an Impeller texture instance. Null otherwise. More... | |
bool | isOpaque () const override |
If the pixel format of this image ignores alpha, this returns true. This method might conservatively return false when it cannot guarnatee an opaque image, for example when the pixel format of the image supports alpha but the image is made up of entirely opaque pixels. More... | |
bool | isTextureBacked () const override |
bool | isUIThreadSafe () const override |
If the underlying platform image held by this object has no threading requirements for the release of that image (or if arrangements have already been made to forward that image to the correct thread upon deletion), this method returns true. More... | |
SkISize | dimensions () const override |
virtual size_t | GetApproximateByteSize () const override |
std::optional< std::string > | get_error () const override |
OwningContext | owning_context () const override |
Public Member Functions inherited from flutter::DlImage | |
virtual | ~DlImage () |
virtual sk_sp< SkImage > | skia_image () const =0 |
If this display list image is meant to be used by the Skia backend, an SkImage instance. Null otherwise. More... | |
virtual std::shared_ptr< impeller::Texture > | impeller_texture () const =0 |
If this display list image is meant to be used by the Impeller backend, an Impeller texture instance. Null otherwise. More... | |
virtual bool | isOpaque () const =0 |
If the pixel format of this image ignores alpha, this returns true. This method might conservatively return false when it cannot guarnatee an opaque image, for example when the pixel format of the image supports alpha but the image is made up of entirely opaque pixels. More... | |
virtual bool | isTextureBacked () const =0 |
virtual bool | isUIThreadSafe () const =0 |
If the underlying platform image held by this object has no threading requirements for the release of that image (or if arrangements have already been made to forward that image to the correct thread upon deletion), this method returns true. More... | |
virtual SkISize | dimensions () const =0 |
virtual size_t | GetApproximateByteSize () const =0 |
int | width () const |
int | height () const |
SkIRect | bounds () const |
virtual OwningContext | owning_context () const |
virtual std::optional< std::string > | get_error () const |
bool | Equals (const DlImage *other) const |
bool | Equals (const DlImage &other) const |
bool | Equals (const sk_sp< const DlImage > &other) const |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Static Public Member Functions | |
static sk_sp< DlDeferredImageGPUSkia > | Make (const SkImageInfo &image_info, sk_sp< DisplayList > display_list, fml::TaskRunnerAffineWeakPtr< SnapshotDelegate > snapshot_delegate, const fml::RefPtr< fml::TaskRunner > &raster_task_runner, fml::RefPtr< SkiaUnrefQueue > unref_queue) |
static sk_sp< DlDeferredImageGPUSkia > | MakeFromLayerTree (const SkImageInfo &image_info, std::unique_ptr< LayerTree > layer_tree, fml::TaskRunnerAffineWeakPtr< SnapshotDelegate > snapshot_delegate, const fml::RefPtr< fml::TaskRunner > &raster_task_runner, fml::RefPtr< SkiaUnrefQueue > unref_queue) |
Static Public Member Functions inherited from flutter::DlImage | |
static sk_sp< DlImage > | Make (const SkImage *image) |
static sk_sp< DlImage > | Make (sk_sp< SkImage > image) |
Additional Inherited Members | |
Public Types inherited from flutter::DlImage | |
enum class | OwningContext { kRaster , kIO } |
Protected Member Functions inherited from flutter::DlImage | |
DlImage () | |
Definition at line 26 of file display_list_deferred_image_gpu_skia.h.
|
override |
Definition at line 49 of file display_list_deferred_image_gpu_skia.cc.
|
overridevirtual |
Implements flutter::DlImage.
Definition at line 87 of file display_list_deferred_image_gpu_skia.cc.
|
overridevirtual |
Reimplemented from flutter::DlImage.
Definition at line 99 of file display_list_deferred_image_gpu_skia.cc.
|
overridevirtual |
Implements flutter::DlImage.
Definition at line 93 of file display_list_deferred_image_gpu_skia.cc.
|
overridevirtual |
If this display list image is meant to be used by the Impeller backend, an Impeller texture instance. Null otherwise.
Implements flutter::DlImage.
Definition at line 66 of file display_list_deferred_image_gpu_skia.cc.
|
overridevirtual |
If the pixel format of this image ignores alpha, this returns true. This method might conservatively return false when it cannot guarnatee an opaque image, for example when the pixel format of the image supports alpha but the image is made up of entirely opaque pixels.
Implements flutter::DlImage.
Definition at line 72 of file display_list_deferred_image_gpu_skia.cc.
|
overridevirtual |
Implements flutter::DlImage.
Definition at line 77 of file display_list_deferred_image_gpu_skia.cc.
|
overridevirtual |
If the underlying platform image held by this object has no threading requirements for the release of that image (or if arrangements have already been made to forward that image to the correct thread upon deletion), this method returns true.
Implements flutter::DlImage.
Definition at line 82 of file display_list_deferred_image_gpu_skia.cc.
|
static |
Definition at line 16 of file display_list_deferred_image_gpu_skia.cc.
|
static |
Definition at line 29 of file display_list_deferred_image_gpu_skia.cc.
|
inlineoverridevirtual |
Reimplemented from flutter::DlImage.
Definition at line 75 of file display_list_deferred_image_gpu_skia.h.
If this display list image is meant to be used by the Skia backend, an SkImage instance. Null otherwise.
Implements flutter::DlImage.
Definition at line 61 of file display_list_deferred_image_gpu_skia.cc.