Lines Matching refs:RefCounted
438 class RefCounted : angle::NonCopyable
441 RefCounted() : mRefCount(0) {}
442 explicit RefCounted(T &&newObject) : mRefCount(0), mObject(std::move(newObject)) {}
443 ~RefCounted() { ASSERT(mRefCount == 0 && !mObject.valid()); }
445 RefCounted(RefCounted &©) : mRefCount(copy.mRefCount), mObject(std::move(copy.mObject))
451 RefCounted &operator=(RefCounted &&rhs)
488 void set(RefCounted<T> *refCounted)
511 RefCounted<T> *mRefCounted;
532 void set(VkDevice device, RefCounted<T> *refCounted)
554 set(device, new RefCounted<T>(std::move(newObject)));
598 RefCounted<T> *mRefCounted;