![]() |
Flutter Engine
The Flutter Engine
|
#include <GrMeshDrawOp.h>
Classes | |
class | PatternHelper |
class | QuadHelper |
Static Public Member Functions | |
static bool | CanUpgradeAAOnMerge (GrAAType aa1, GrAAType aa2) |
![]() | |
template<typename Op , typename... Args> | |
static Owner | Make (GrRecordingContext *context, Args &&... args) |
template<typename Op , typename... Args> | |
static Owner | MakeWithProcessorSet (GrRecordingContext *context, const SkPMColor4f &color, GrPaint &&paint, Args &&... args) |
template<typename Op , typename... Args> | |
static Owner | MakeWithExtraMemory (GrRecordingContext *context, size_t extraSize, Args &&... args) |
static uint32_t | GenOpClassID () |
Protected Member Functions | |
GrMeshDrawOp (uint32_t classID) | |
void | createProgramInfo (const GrCaps *caps, SkArenaAlloc *arena, const GrSurfaceProxyView &writeView, bool usesMSAASurface, GrAppliedClip &&appliedClip, const GrDstProxyView &dstProxyView, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp) |
void | createProgramInfo (GrMeshDrawTarget *) |
virtual void | onPrePrepareDraws (GrRecordingContext *, const GrSurfaceProxyView &writeView, GrAppliedClip *, const GrDstProxyView &, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp) |
![]() | |
GR_DECL_BITFIELD_CLASS_OPS_FRIENDS (FixedFunctionFlags) | |
virtual FixedFunctionFlags | fixedFunctionFlags () const |
Static Protected Member Functions | |
static bool | CombinedQuadCountWillOverflow (GrAAType aaType, bool willBeUpgradedToAA, int combinedQuadCount) |
Private Member Functions | |
virtual GrProgramInfo * | programInfo ()=0 |
virtual void | onCreateProgramInfo (const GrCaps *, SkArenaAlloc *, const GrSurfaceProxyView &writeView, bool usesMSAASurface, GrAppliedClip &&, const GrDstProxyView &, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp)=0 |
virtual void | onPrepareDraws (GrMeshDrawTarget *)=0 |
Additional Inherited Members | |
![]() | |
enum class | ClipResult { kFail , kClippedGeometrically , kClippedInShader , kClippedOut } |
![]() | |
enum class | CombineResult { kMerged , kMayChain , kCannotCombine } |
enum class | HasAABloat : bool { kNo = false , kYes = true } |
enum class | IsHairline : bool { kNo = false , kYes = true } |
using | Owner = std::unique_ptr< GrOp > |
![]() | |
GrDrawOp (uint32_t classID) | |
virtual bool | usesMSAA () const |
virtual ClipResult | clipToShape (skgpu::ganesh::SurfaceDrawContext *, SkClipOp, const SkMatrix &, const GrShape &, GrAA) |
virtual GrProcessorSet::Analysis | finalize (const GrCaps &, const GrAppliedClip *, GrClampType)=0 |
virtual bool | usesStencil () const |
![]() | |
virtual | ~GrOp ()=default |
virtual const char * | name () const =0 |
virtual void | visitProxies (const GrVisitProxyFunc &) const |
CombineResult | combineIfPossible (GrOp *that, SkArenaAlloc *alloc, const GrCaps &caps) |
const SkRect & | bounds () const |
void | setClippedBounds (const SkRect &clippedBounds) |
bool | hasAABloat () const |
bool | hasZeroArea () const |
void | operator delete (void *p) |
template<typename T > | |
const T & | cast () const |
template<typename T > | |
T * | cast () |
uint32_t | classID () const |
uint32_t | uniqueID () const |
void | prePrepare (GrRecordingContext *context, const GrSurfaceProxyView &dstView, GrAppliedClip *clip, const GrDstProxyView &dstProxyView, GrXferBarrierFlags renderPassXferBarriers, GrLoadOp colorLoadOp) |
void | prepare (GrOpFlushState *state) |
void | execute (GrOpFlushState *state, const SkRect &chainBounds) |
void | chainConcat (GrOp::Owner) |
bool | isChainHead () const |
bool | isChainTail () const |
GrOp * | nextInChain () const |
GrOp * | prevInChain () const |
GrOp::Owner | cutChain () |
void | setBounds (const SkRect &newBounds, HasAABloat aabloat, IsHairline zeroArea) |
void | setTransformedBounds (const SkRect &srcBounds, const SkMatrix &m, HasAABloat aabloat, IsHairline zeroArea) |
void | makeFullScreen (GrSurfaceProxy *proxy) |
![]() | |
enum class | FixedFunctionFlags : uint32_t { kNone = 0x0 , kUsesHWAA = 0x1 , kUsesStencil = 0x2 } |
Base class for mesh-drawing GrDrawOps.
Definition at line 29 of file GrMeshDrawOp.h.
|
protected |
Definition at line 15 of file GrMeshDrawOp.cpp.
Definition at line 31 of file GrMeshDrawOp.h.
|
staticprotected |
Definition at line 30 of file GrMeshDrawOp.cpp.
|
inlineprotected |
Definition at line 39 of file GrMeshDrawOp.h.
|
protected |
Definition at line 19 of file GrMeshDrawOp.cpp.
|
privatepure virtual |
Implemented in skiagm::BezierTestOp.
|
privatepure virtual |
|
protectedvirtual |
Definition at line 41 of file GrMeshDrawOp.cpp.
|
privatepure virtual |
Implemented in skiagm::BezierTestOp.