Home
last modified time | relevance | path

Searched refs:SafeRef (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/gpu/
DGrRefCnt.h19 static inline T* SafeRef(T* obj) { in SafeRef() function
42 gr_sp(const gr_sp<T, Ref, Unref>& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
45 gr_sp(const gr_sp<U, Ref, Unref>& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
47 gr_sp(const sk_sp<T>& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
61 gr_sp(sk_sp<T>&& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
88 this->reset(SafeRef(that.get()));
99 this->reset(SafeRef(that.get()));
119 this->reset(SafeRef(that.get()));