|
void | visitProxies (const GrVisitProxyFunc &func) const override |
|
| GrDrawOp (uint32_t classID) |
|
virtual bool | usesMSAA () const |
|
virtual ClipResult | clipToShape (skgpu::ganesh::SurfaceDrawContext *, SkClipOp, const SkMatrix &, const GrShape &, GrAA) |
|
virtual bool | usesStencil () const |
|
virtual | ~GrOp ()=default |
|
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) |
|
|
static DEFINE_OP_CLASS_ID GrOp::Owner | Make (GrRecordingContext *rContext, GrProxyProvider *proxyProvider, int *testExecuteValue, bool shouldFailInstantiation) |
|
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 () |
|
Definition at line 378 of file LazyProxyTest.cpp.
◆ finalize()
|
inlineoverrideprivatevirtual |
This is called after the GrAppliedClip has been computed and just prior to recording the op or combining it with a previously recorded op. The op should convert any proxies or resources it owns to "pending io" status so that resource allocation can be more optimal. Additionally, at this time the op must report whether a copy of the destination (or destination texture itself) needs to be provided to the GrXferProcessor when this op executes.
Implements GrDrawOp.
Definition at line 445 of file LazyProxyTest.cpp.
445 {
447 }
static constexpr Analysis EmptySetAnalysis()
◆ fixedFunctionFlags()
|
inlineoverrideprivatevirtual |
◆ Make()
Definition at line 382 of file LazyProxyTest.cpp.
385 {
386 return GrOp::Make<LazyFailedInstantiationTestOp>(rContext,
388 proxyProvider,
389 testExecuteValue,
390 shouldFailInstantiation);
391 }
const GrCaps * caps() const
GrRecordingContextPriv priv()
◆ name()
const char * LazyFailedInstantiationTestOp::name |
( |
| ) |
const |
|
inlineoverrideprivatevirtual |
◆ onExecute()
void LazyFailedInstantiationTestOp::onExecute |
( |
GrOpFlushState * |
state, |
|
|
const SkRect & |
chainBounds |
|
) |
| |
|
inlineoverrideprivatevirtual |
◆ onPrepare()
|
inlineoverrideprivatevirtual |
◆ onPrePrepare()
|
inlineoverrideprivatevirtual |
◆ visitProxies()
void LazyFailedInstantiationTestOp::visitProxies |
( |
const GrVisitProxyFunc & |
func | ) |
const |
|
inlineoverridevirtual |
Reimplemented from GrOp.
Definition at line 393 of file LazyProxyTest.cpp.
393 {
394 func(fLazyProxy.
get(), skgpu::Mipmapped::kNo);
395 }
◆ GrOp
The documentation for this class was generated from the following file: