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 |
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 |
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 |
Private Member Functions | |
void | onAddToKey (const GrShaderCaps &, skgpu::KeyBuilder *) const override |
void | onGetBlendInfo (skgpu::BlendInfo *) const override |
bool | onIsEqual (const GrXferProcessor &xpBase) const override |
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.
|
overrideprivatevirtual |
Adds a key on the skgpu::KeyBuilder that reflects any variety in the code that may be emitted by the xfer processor subclass.
Implements GrXferProcessor.
Definition at line 116 of file GrCustomXfermode.cpp.
|
overrideprivatevirtual |
If we are not performing a dst read, retrieves the fixed-function blend state required by the subclass. When using dst reads, the base class controls the fixed-function blend state and this method will not be called. The BlendInfo struct comes initialized to "no blending".
Reimplemented from GrXferProcessor.
Definition at line 197 of file GrCustomXfermode.cpp.
|
overrideprivatevirtual |
Implements GrXferProcessor.
Definition at line 185 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.