Lines Matching refs:mOwnerThreadId
53 : mRoot(this), mOwnerThreadId(angle::InvalidThreadId()), mLockLevel(0), mRefCount(0), mRank(0) in ContextMutex()
243 if (ANGLE_UNLIKELY(mOwnerThreadId.load(std::memory_order_relaxed) == threadId)) in tryLockImpl()
252 ASSERT(mOwnerThreadId.load(std::memory_order_relaxed) == angle::InvalidThreadId()); in tryLockImpl()
261 mOwnerThreadId.store(threadId, std::memory_order_relaxed); in tryLockImpl()
271 if (ANGLE_UNLIKELY(mOwnerThreadId.load(std::memory_order_relaxed) == threadId)) in lockImpl()
280 ASSERT(mOwnerThreadId.load(std::memory_order_relaxed) == angle::InvalidThreadId()); in lockImpl()
291 mOwnerThreadId.store(threadId, std::memory_order_relaxed); in lockImpl()
298 ASSERT(mOwnerThreadId.load(std::memory_order_relaxed) == angle::GetCurrentThreadId()); in unlockImpl()
302 mOwnerThreadId.store(angle::InvalidThreadId(), std::memory_order_relaxed); in unlockImpl()
310 ASSERT(!CheckThreadIdCurrent(mOwnerThreadId, ¤tThreadId)); in tryLockImpl()
320 ASSERT(TryUpdateThreadId(&mOwnerThreadId, angle::InvalidThreadId(), currentThreadId)); in tryLockImpl()
329 ASSERT(!CheckThreadIdCurrent(mOwnerThreadId, ¤tThreadId)); in lockImpl()
340 ASSERT(TryUpdateThreadId(&mOwnerThreadId, angle::InvalidThreadId(), currentThreadId)); in lockImpl()
347 TryUpdateThreadId(&mOwnerThreadId, angle::GetCurrentThreadId(), angle::InvalidThreadId())); in unlockImpl()