Searched refs:fLockCount (Results 1 – 5 of 5) sorted by relevance
63 fLockCount = 0; in SkPixelRef()73 fLockCount = 0; in SkPixelRef()84 fLockCount = SKPIXELREF_PRELOCKED_LOCKCOUNT; in setPreLocked()93 SkASSERT(!fPreLocked || SKPIXELREF_PRELOCKED_LOCKCOUNT == fLockCount); in lockPixels()98 if (1 == ++fLockCount) { in lockPixels()105 SkASSERT(!fPreLocked || SKPIXELREF_PRELOCKED_LOCKCOUNT == fLockCount); in unlockPixels()110 SkASSERT(fLockCount > 0); in unlockPixels()111 if (0 == --fLockCount) { in unlockPixels()
141 bool isLocked() const { return fLockCount != 0; } in isLocked()142 void lock() { ++fLockCount; } in lock()144 GrAssert(fLockCount > 0); in unlock()145 --fLockCount; in unlock()153 int fLockCount; variable
16 fLockCount = 0; in GrResourceEntry()29 GrAssert(fLockCount >= 0); in validate()
216 int fLockCount; member226 theMutex->fLockCount = 0; in myMutexInit()239 TEST_ASSERT(This->fLockCount == 0); in myMutexDestroy()242 This->fLockCount = 0; in myMutexDestroy()250 This->fLockCount++; in myMutexLock()258 This->fLockCount--; in myMutexUnlock()259 TEST_ASSERT(This->fLockCount >= 0); in myMutexUnlock()
69 bool isLocked() const { return fLockCount > 0; } in isLocked()229 int fLockCount; variable