Lines Matching refs:RefCounted
497 class RefCounted : angle::NonCopyable
500 RefCounted() : mRefCount(0) {}
501 explicit RefCounted(T &&newObject) : mRefCount(0), mObject(std::move(newObject)) {}
502 ~RefCounted() { ASSERT(mRefCount == 0 && !mObject.valid()); }
504 RefCounted(RefCounted &©) : mRefCount(copy.mRefCount), mObject(std::move(copy.mObject))
510 RefCounted &operator=(RefCounted &&rhs)
555 void set(RefCounted<T> *refCounted)
578 RefCounted<T> *mRefCounted = nullptr;
599 void set(VkDevice device, RefCounted<T> *refCounted)
619 void setUnreferenced(RefCounted<T> *refCounted)
630 set(device, new RefCounted<T>(std::move(newObject)));
693 RefCounted<T> *mRefCounted;