Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPixelRef.cpp54 fLockCount = 0; in SkPixelRef()
63 SkASSERT(SKPIXELREF_PRELOCKED_LOCKCOUNT == fLockCount || 0 == fLockCount); in ~SkPixelRef()
110 fLockCount = SKPIXELREF_PRELOCKED_LOCKCOUNT; in setPreLocked()
118 if (1 == ++fLockCount) { in lockPixelsInsideMutex()
122 fLockCount -= 1; // we return fLockCount unchanged if we fail. in lockPixelsInsideMutex()
131 --fLockCount; in lockPixelsInsideMutex()
138 SkASSERT(!fPreLocked || SKPIXELREF_PRELOCKED_LOCKCOUNT == fLockCount); in lockPixels()
144 SkDEBUGCODE(int oldCount = fLockCount;) in lockPixels()
147 SkASSERT(oldCount + (int)success == fLockCount); in lockPixels()
152 fLockCount += 1; in lockPixels()
[all …]
/external/skia/include/core/
DSkPixelRef.h74 SkDEBUGCODE(bool isLocked() const { return fLockCount > 0; })
75 SkDEBUGCODE(int getLockCount() const { return fLockCount; })
282 int fLockCount; variable