Lines Matching defs:ref
22 * Separated out as a base class to isolate the ref-cnting behavior and provide friendship without
25 * PRIOR to the last ref being removed DERIVED::notifyARefCntWillBeZero() will be called
26 * (static poly morphism using CRTP). It is legal for additional ref's to be added
27 * during this time. AFTER the ref count reaches zero DERIVED::notifyARefCntIsZero() will be
34 void ref() const {
35 // Only the cache should be able to add the first ref to a resource.
41 // This enum is used to notify the GrResourceCache which type of ref just dropped to zero.
78 // Privileged method that allows going from ref count = 0 to ref count = 1.
411 // This is not ref'ed but abandon() or release() will be called before the GrGpu object
434 /** Proxies are allowed to take a resource from no refs to one ref. */
435 void ref(GrResourceCache* cache);