Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
SkBlendImageFilter.cpp File Reference
#include "include/effects/SkImageFilters.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkBlender.h"
#include "include/core/SkColor.h"
#include "include/core/SkFlattenable.h"
#include "include/core/SkImageFilter.h"
#include "include/core/SkM44.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkShader.h"
#include "include/core/SkTypes.h"
#include "include/effects/SkBlenders.h"
#include "include/private/base/SkSpan_impl.h"
#include "include/private/base/SkTo.h"
#include "src/core/SkBlendModePriv.h"
#include "src/core/SkBlenderBase.h"
#include "src/core/SkImageFilterTypes.h"
#include "src/core/SkImageFilter_Base.h"
#include "src/core/SkPicturePriv.h"
#include "src/core/SkReadBuffer.h"
#include "src/core/SkRectPriv.h"
#include "src/core/SkWriteBuffer.h"
#include <cstdint>
#include <optional>
#include <utility>

Go to the source code of this file.

Functions

void SkRegisterBlendImageFilterFlattenable ()
 

Function Documentation

◆ SkRegisterBlendImageFilterFlattenable()

void SkRegisterBlendImageFilterFlattenable ( )

All image filter implementations defined for the include/effects/SkImageFilters.h factories are entirely encapsulated within their own CPP files. SkFlattenable deserialization needs a hook into these types, so their registration functions are exposed here.

Definition at line 174 of file SkBlendImageFilter.cpp.

174 {
175 SK_REGISTER_FLATTENABLE(SkBlendImageFilter);
176 // TODO (michaelludwig) - Remove after grace period for SKPs to stop using old name
177 SkFlattenable::Register("SkXfermodeImageFilter_Base", SkBlendImageFilter::CreateProc);
178 SkFlattenable::Register("SkXfermodeImageFilterImpl", SkBlendImageFilter::CreateProc);
179 SkFlattenable::Register("ArithmeticImageFilterImpl",
180 SkBlendImageFilter::LegacyArithmeticCreateProc);
181 SkFlattenable::Register("SkArithmeticImageFilter",
182 SkBlendImageFilter::LegacyArithmeticCreateProc);
183}
#define SK_REGISTER_FLATTENABLE(type)
static void Register(const char name[], Factory)