Flutter Engine
The Flutter Engine
|
#include <GrModulateAtlasCoverageEffect.h>
Public Member Functions | |
GR_DECL_BITFIELD_CLASS_OPS_FRIENDS (Flags) | |
GrModulateAtlasCoverageEffect (Flags flags, std::unique_ptr< GrFragmentProcessor > inputFP, GrSurfaceProxyView atlasView, const SkMatrix &devToAtlasMatrix, const SkIRect &devIBounds) | |
GrModulateAtlasCoverageEffect (const GrModulateAtlasCoverageEffect &that) | |
const char * | name () const override |
std::unique_ptr< GrFragmentProcessor > | clone () const override |
Public Member Functions inherited from GrFragmentProcessor | |
virtual std::unique_ptr< GrFragmentProcessor > | clone () const =0 |
const GrFragmentProcessor * | parent () const |
std::unique_ptr< ProgramImpl > | makeProgramImpl () const |
void | addToKey (const GrShaderCaps &caps, skgpu::KeyBuilder *b) const |
int | numChildProcessors () const |
int | numNonNullChildProcessors () const |
GrFragmentProcessor * | childProcessor (int index) |
const GrFragmentProcessor * | childProcessor (int index) const |
SkDEBUGCODE (bool isInstantiated() const ;) bool willReadDstColor() const | |
bool | isBlendFunction () const |
bool | usesSampleCoordsDirectly () const |
bool | usesSampleCoords () const |
const SkSL::SampleUsage & | sampleUsage () const |
bool | compatibleWithCoverageAsAlpha () const |
bool | preservesOpaqueInput () const |
bool | hasConstantOutputForConstantInput (SkPMColor4f inputColor, SkPMColor4f *outputColor) const |
bool | hasConstantOutputForConstantInput () const |
void | clearConstantOutputForConstantInputFlag () |
bool | isEqual (const GrFragmentProcessor &that) const |
void | visitProxies (const GrVisitProxyFunc &) const |
void | visitTextureEffects (const std::function< void(const GrTextureEffect &)> &) const |
void | visitWithImpls (const std::function< void(const GrFragmentProcessor &, ProgramImpl &)> &, ProgramImpl &) const |
GrTextureEffect * | asTextureEffect () |
const GrTextureEffect * | asTextureEffect () const |
Public Member Functions inherited from GrProcessor | |
virtual | ~GrProcessor ()=default |
virtual const char * | name () const =0 |
void * | operator new (size_t size) |
void * | operator new (size_t object_size, size_t footer_size) |
void | operator delete (void *target) |
void * | operator new (size_t size, void *placement) |
void | operator delete (void *target, void *placement) |
template<typename T > | |
const T & | cast () const |
ClassID | classID () const |
Definition at line 23 of file GrModulateAtlasCoverageEffect.h.
|
strong |
Enumerator | |
---|---|
kNone | |
kInvertCoverage | |
kCheckBounds |
Definition at line 25 of file GrModulateAtlasCoverageEffect.h.
GrModulateAtlasCoverageEffect::GrModulateAtlasCoverageEffect | ( | Flags | flags, |
std::unique_ptr< GrFragmentProcessor > | inputFP, | ||
GrSurfaceProxyView | atlasView, | ||
const SkMatrix & | devToAtlasMatrix, | ||
const SkIRect & | devIBounds | ||
) |
Definition at line 29 of file GrModulateAtlasCoverageEffect.cpp.
GrModulateAtlasCoverageEffect::GrModulateAtlasCoverageEffect | ( | const GrModulateAtlasCoverageEffect & | that | ) |
Definition at line 45 of file GrModulateAtlasCoverageEffect.cpp.
|
inlineoverridevirtual |
Makes a copy of this fragment processor that draws equivalently to the original. If the processor has child processors they are cloned as well.
Implements GrFragmentProcessor.
Definition at line 43 of file GrModulateAtlasCoverageEffect.h.
GrModulateAtlasCoverageEffect::GR_DECL_BITFIELD_CLASS_OPS_FRIENDS | ( | Flags | ) |
|
inlineoverridevirtual |
Human-meaningful string to identify this processor; may be embedded in generated shader code and must be a legal SkSL identifier prefix.
Implements GrProcessor.
Definition at line 39 of file GrModulateAtlasCoverageEffect.h.