Flutter Engine
The Flutter Engine
|
Public Member Functions | |
CustomXP (SkBlendMode mode, skgpu::BlendEquation hwBlendEquation) | |
CustomXP (SkBlendMode mode, GrProcessorAnalysisCoverage coverage) | |
const char * | name () const override |
std::unique_ptr< ProgramImpl > | makeProgramImpl () const override |
GrXferBarrierType | xferBarrierType (const GrCaps &) const override |
Public Member Functions inherited from GrXferProcessor | |
void | addToKey (const GrShaderCaps &, skgpu::KeyBuilder *, const GrSurfaceOrigin *originIfDstTexture, bool usesInputAttachmentForDstRead) const |
virtual std::unique_ptr< ProgramImpl > | makeProgramImpl () const =0 |
virtual GrXferBarrierType | xferBarrierType (const GrCaps &caps) const |
skgpu::BlendInfo | getBlendInfo () const |
bool | willReadDstColor () const |
bool | hasSecondaryOutput () const |
bool | isLCD () const |
bool | isEqual (const GrXferProcessor &that) 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 |
Public Member Functions inherited from GrNonAtomicRef< GrXferProcessor > | |
GrNonAtomicRef () | |
bool | unique () const |
int | refCnt () const |
void | ref () const |
void | unref () const |
Public Member Functions inherited from SkNoncopyable | |
SkNoncopyable ()=default | |
SkNoncopyable (SkNoncopyable &&)=default | |
SkNoncopyable & | operator= (SkNoncopyable &&)=default |
Definition at line 82 of file GrCustomXfermode.cpp.
|
inline |
Definition at line 84 of file GrCustomXfermode.cpp.
|
inline |
Definition at line 89 of file GrCustomXfermode.cpp.
|
overridevirtual |
Returns a new instance of the appropriate GL implementation class for the given GrXferProcessor; caller is responsible for deleting the object.
Implements GrXferProcessor.
Definition at line 127 of file GrCustomXfermode.cpp.
|
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 95 of file GrCustomXfermode.cpp.
|
overridevirtual |
Returns the barrier type, if any, that this XP will require. Note that the possibility that a kTexture type barrier is required is handled by the GrPipeline and need not be considered by subclass overrides of this function.
Reimplemented from GrXferProcessor.
Definition at line 190 of file GrCustomXfermode.cpp.