Flutter Engine
The Flutter Engine
|
Public Member Functions | |
const char * | name () const override |
std::unique_ptr< ProgramImpl > | makeProgramImpl () const override |
Public Member Functions inherited from GrXferProcessor | |
void | addToKey (const GrShaderCaps &, skgpu::KeyBuilder *, const GrSurfaceOrigin *originIfDstTexture, bool usesInputAttachmentForDstRead) const |
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 |
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 |
Static Public Member Functions | |
static sk_sp< const GrXferProcessor > | Make (SkBlendMode mode, const GrProcessorAnalysisColor &inputColor) |
Private Member Functions | |
void | onAddToKey (const GrShaderCaps &, skgpu::KeyBuilder *) const override |
void | onGetBlendInfo (skgpu::BlendInfo *blendInfo) const override |
bool | onIsEqual (const GrXferProcessor &xpBase) const override |
Definition at line 212 of file GrPorterDuffXferProcessor.cpp.
|
static |
Definition at line 253 of file GrPorterDuffXferProcessor.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 268 of file GrPorterDuffXferProcessor.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 217 of file GrPorterDuffXferProcessor.cpp.
|
inlineoverrideprivatevirtual |
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 224 of file GrPorterDuffXferProcessor.cpp.
|
inlineoverrideprivatevirtual |
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 226 of file GrPorterDuffXferProcessor.cpp.
|
inlineoverrideprivatevirtual |
Implements GrXferProcessor.
Definition at line 232 of file GrPorterDuffXferProcessor.cpp.