Flutter Engine
The Flutter Engine
|
Public Member Functions | |
SkRuntimeImageFilter (const SkRuntimeShaderBuilder &builder, float maxSampleRadius, std::string_view childShaderNames[], const sk_sp< SkImageFilter > inputs[], int inputCount) | |
SkRect | computeFastBounds (const SkRect &src) const override |
Public Member Functions inherited from SkImageFilter_Base | |
skif::FilterResult | filterImage (const skif::Context &context) const |
sk_sp< SkImage > | makeImageWithFilter (sk_sp< skif::Backend > backend, sk_sp< SkImage > src, const SkIRect &subset, const SkIRect &clipBounds, SkIRect *outSubset, SkIPoint *offset) const |
skif::LayerSpace< SkIRect > | getInputBounds (const skif::Mapping &mapping, const skif::DeviceSpace< SkIRect > &desiredOutput, std::optional< skif::ParameterSpace< SkRect > > knownContentBounds) const |
std::optional< skif::DeviceSpace< SkIRect > > | getOutputBounds (const skif::Mapping &mapping, const skif::ParameterSpace< SkRect > &contentBounds) const |
bool | affectsTransparentBlack () const |
bool | usesSource () const |
MatrixCapability | getCTMCapability () const |
uint32_t | uniqueID () const |
SkFlattenable::Type | getFlattenableType () const override |
Public Member Functions inherited from SkImageFilter | |
SkIRect | filterBounds (const SkIRect &src, const SkMatrix &ctm, MapDirection, const SkIRect *inputRect=nullptr) const |
bool | isColorFilterNode (SkColorFilter **filterPtr) const |
bool | asColorFilter (SkColorFilter **filterPtr) const |
bool | asAColorFilter (SkColorFilter **filterPtr) const |
int | countInputs () const |
const SkImageFilter * | getInput (int i) const |
virtual SkRect | computeFastBounds (const SkRect &bounds) const |
bool | canComputeFastBounds () const |
sk_sp< SkImageFilter > | makeWithLocalMatrix (const SkMatrix &matrix) const |
Public Member Functions inherited from SkFlattenable | |
SkFlattenable () | |
virtual Factory | getFactory () const =0 |
virtual const char * | getTypeName () const =0 |
virtual void | flatten (SkWriteBuffer &) const |
virtual Type | getFlattenableType () const =0 |
sk_sp< SkData > | serialize (const SkSerialProcs *=nullptr) const |
size_t | serialize (void *memory, size_t memory_size, const SkSerialProcs *=nullptr) const |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Protected Member Functions | |
void | flatten (SkWriteBuffer &) const override |
Protected Member Functions inherited from SkImageFilter_Base | |
SkImageFilter_Base (sk_sp< SkImageFilter > const *inputs, int inputCount, std::optional< bool > usesSrc={}) | |
~SkImageFilter_Base () override | |
void | flatten (SkWriteBuffer &) const override |
skif::LayerSpace< SkIRect > | getChildInputLayerBounds (int index, const skif::Mapping &mapping, const skif::LayerSpace< SkIRect > &desiredOutput, std::optional< skif::LayerSpace< SkIRect > > contentBounds) const |
std::optional< skif::LayerSpace< SkIRect > > | getChildOutputLayerBounds (int index, const skif::Mapping &mapping, std::optional< skif::LayerSpace< SkIRect > > contentBounds) const |
skif::FilterResult | getChildOutput (int index, const skif::Context &ctx) const |
Protected Member Functions inherited from SkImageFilter | |
sk_sp< SkImageFilter > | refMe () const |
Definition at line 41 of file SkRuntimeImageFilter.cpp.
|
inline |
Definition at line 43 of file SkRuntimeImageFilter.cpp.
Reimplemented from SkImageFilter.
Definition at line 300 of file SkRuntimeImageFilter.cpp.
|
overrideprotectedvirtual |
Override this if your subclass needs to record data that it will need to recreate itself from its CreateProc (returned by getFactory()).
DEPRECATED public : will move to protected ... use serialize() instead
Reimplemented from SkImageFilter_Base.
Definition at line 217 of file SkRuntimeImageFilter.cpp.