Home | History | Annotate | Download | only in gpu

Lines Matching defs:ref

22  * class to isolate the ref-cnting behavior and provide friendship without exposing all of
26 * 1) Normal ref (+ by ref(), - by unref()): These are used by code that is issuing draw calls
34 * The latter two ref types are private and intended only for Gr core code.
36 * When all the ref/io counts reach zero DERIVED::notifyAllCntsAreZero() will be called (static poly
37 * morphism using CRTP). Similarly when the ref (but not necessarily pending read/write) count
39 * the ref cnt to reach zero and the other counts are zero, notifyRefCountIsZero() will be called
53 void ref() const {
132 friend class GrResourceCache; // to check IO ref counts.
221 * Takes a ref on data. Previously attached data, if any, is unrefed.
339 // This is not ref'ed but abandon() or release() will be called before the GrGpu object