Lines Matching refs:GrProgramElement
23 * We track this using two types of refs on GrProgramElement. A regular ref is owned by any client
24 * that may continue to issue draws that use the GrProgramElement. The GrPipeline owns "pending
27 * While a GrProgramElement is ref'ed any resources it owns are also ref'ed. However, once it gets
33 * To make this work all GrGpuResource objects owned by a GrProgramElement or derived classes
35 * GrProgramElement using addGpuResource(). This allows the regular refs to be converted to pending
38 * Moreover, a GrProgramElement that in turn owns other GrProgramElements must convert its ownership
41 * ownership by pending IO. Any GrProgramElement hierarchy is managed by subclasses which must
44 class GrProgramElement : public SkNoncopyable {
46 virtual ~GrProgramElement() {
77 * Gets an id that is unique for this GrProgramElement object. This will never return 0.
90 GrProgramElement() : fRefCnt(1), fPendingExecutions(0), fUniqueID(CreateUniqueID()) {}