Lines Matching defs:GrOp
31 * GrOp is the base class for all Ganesh deferred GPU operations. To facilitate reordering and to
33 * captures the arguments to the draw and then generates the geometry when flushing. This gives GrOp
70 class GrOp : private SkNoncopyable {
72 using Owner = std::unique_ptr<GrOp>;
91 virtual ~GrOp() = default;
120 CombineResult combineIfPossible(GrOp* that, SkArenaAlloc* alloc, const GrCaps& caps);
146 * Helper for safely down-casting to a GrOp subclass
206 * A helper for iterating over an op chain in a range for loop that also downcasts to a GrOp
212 template <typename OpSubclass = GrOp> class ChainRange {
238 void chainConcat(GrOp::Owner);
244 GrOp* nextInChain() const { return fNextInChain.get(); }
246 GrOp* prevInChain() const { return fPrevInChain; }
251 GrOp::Owner cutChain();
252 SkDEBUGCODE(void validateChain(GrOp* expectedTail = nullptr) const);
263 GrOp(uint32_t classID);
299 void joinBounds(const GrOp& that) {
309 virtual CombineResult onCombineIfPossible(GrOp*, SkArenaAlloc*, const GrCaps&) {
331 SK_ABORT("This should never wrap as it should only be called once for each GrOp "
354 GrOp* fPrevInChain = nullptr;