Home
last modified time | relevance | path

Searched refs:fLocked (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/lazy/
DSkDiscardableMemoryPool.cpp90 bool fLocked; member in __anon40a8347f0111::PoolDiscardableMemory
99 , fLocked(true) in PoolDiscardableMemory()
109 SkASSERT(!fLocked); // contract for SkDiscardableMemory in ~PoolDiscardableMemory()
115 SkASSERT(!fLocked); // contract for SkDiscardableMemory in lock()
120 SkASSERT(fLocked); // contract for SkDiscardableMemory in data()
125 SkASSERT(fLocked); // contract for SkDiscardableMemory in unlock()
159 if (!cur->fLocked) { in dumpDownTo()
213 dm->fLocked = true; in lock()
225 dm->fLocked = false; in unlock()
/external/skia/include/private/
DSkSpinlock.h22 if (sk_atomic_exchange(&fLocked, true, sk_memory_order_acquire)) { in acquire()
30 sk_atomic_store(&fLocked, false, sk_memory_order_release); in release()
35 bool fLocked; variable
/external/skia/src/gpu/
DGrLayerCache.h172 , fLocked(false) { in GrCachedLayer()
212 fLocked = false; in setTexture()
231 void setLocked(bool locked) { fLocked = locked; } in setLocked()
232 bool locked() const { return fLocked; } in locked()
289 bool fLocked; member
DGrLayerCache.cpp29 SkASSERT(!fLocked); // layers without a texture cannot be locked in validate()
41 if (fLocked) { in validate()
52 SkASSERT(fLocked); in validate()
DGrResourceCache.cpp641 int fLocked; in validate() member
658 ++fLocked; in validate()
/external/skia/src/core/
DSkSpinlock.cpp12 while(sk_atomic_exchange(&fLocked, true, sk_memory_order_acquire)) { /*spin*/ } in contendedAcquire()