Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
SkLightingImageFilter.cpp File Reference
#include "include/effects/SkImageFilters.h"
#include "include/core/SkColor.h"
#include "include/core/SkFlattenable.h"
#include "include/core/SkImageFilter.h"
#include "include/core/SkM44.h"
#include "include/core/SkPoint.h"
#include "include/core/SkPoint3.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/SkRuntimeEffect.h"
#include "include/private/base/SkCPUTypes.h"
#include "include/private/base/SkFloatingPoint.h"
#include "include/private/base/SkSpan_impl.h"
#include "src/core/SkImageFilterTypes.h"
#include "src/core/SkImageFilter_Base.h"
#include "src/core/SkKnownRuntimeEffects.h"
#include "src/core/SkReadBuffer.h"
#include "src/core/SkRectPriv.h"
#include "src/core/SkWriteBuffer.h"
#include <optional>
#include <utility>

Go to the source code of this file.

Classes

class  skif::LayerSpace< ZValue >
 

Namespaces

namespace  skif
 

Functions

void SkRegisterLightingImageFilterFlattenables ()
 

Function Documentation

◆ SkRegisterLightingImageFilterFlattenables()

void SkRegisterLightingImageFilterFlattenables ( )

Definition at line 368 of file SkLightingImageFilter.cpp.

368 {
369 SK_REGISTER_FLATTENABLE(SkLightingImageFilter);
370 // TODO (michaelludwig): Remove after grace period for SKPs to stop using old name
371 SkFlattenable::Register("SkDiffuseLightingImageFilter",
372 SkLightingImageFilter::LegacyDiffuseCreateProc);
373 SkFlattenable::Register("SkSpecularLightingImageFilter",
374 SkLightingImageFilter::LegacySpecularCreateProc);
375}
#define SK_REGISTER_FLATTENABLE(type)
static void Register(const char name[], Factory)