Home
last modified time | relevance | path

Searched refs:sk_atomic_inc (Results 1 – 25 of 38) sorted by relevance

12

/external/skia/tests/
Dskia_test.cpp45 const int done = 1 + sk_atomic_inc(&fDone); in endTest()
47 sk_atomic_inc(&fTestCount); in endTest()
63 void reportFailure() { sk_atomic_inc(&fFailCount); } in reportFailure()
DTLSTest.cpp58 sk_atomic_inc(&gCounter); in FakeCreateTLS()
/external/skia/include/core/
DSkAtomics.h77 inline int32_t sk_atomic_inc(int32_t* ptr) { return sk_atomic_fetch_add(ptr, +1); } in sk_atomic_inc() function
81 inline int64_t sk_atomic_inc(int64_t* ptr) { return sk_atomic_fetch_add<int64_t>(ptr, +1); } in sk_atomic_inc() function
DSkWeakRefCnt.h106 sk_atomic_inc(&fWeakCnt); // No barrier required. in weak_ref()
DSkInstCnt.h55 if (0 == sk_atomic_inc(&gCount) && sk_atomic_cas(&gRegistered, 0, 1)) { in Inc()
/external/skia/src/gpu/
DGrTracing.h81 sk_atomic_inc(&SK_MACRO_APPEND_LINE(name_counter));
115 sk_atomic_inc(&SK_MACRO_APPEND_LINE(name_counter));
DGrProgramElement.cpp15 id = static_cast<uint32_t>(sk_atomic_inc(&gUniqueID) + 1); in CreateUniqueID()
DGrBatch.h158 uint32_t id = static_cast<uint32_t>(sk_atomic_inc(&gCurrBatchClassID)) + 1; in GenClassID()
DGrGpuResource.cpp178 id = static_cast<uint32_t>(sk_atomic_inc(&gUniqueID) + 1); in CreateUniqueID()
DGrResourceCache.cpp25 int32_t type = sk_atomic_inc(&gType); in GenerateResourceType()
36 int32_t domain = sk_atomic_inc(&gDomain); in GenerateDomain()
/external/skia/bench/
DRefCntBench.cpp32 sk_atomic_inc(&fX); in onDraw()
56 sk_atomic_inc(&fX); in onDraw()
/external/skia/src/core/
DSkDrawable.cpp19 genID = sk_atomic_inc(&gCanvasDrawableGenerationID) + 1; in next_generation_id()
DSkTLS.cpp20 int n = sk_atomic_inc(&gTLSRecCount); in SkTLSRec()
DSkTypefaceCache.cpp81 return sk_atomic_inc(&gFontID) + 1; in NewFontID()
DSkCachedData.cpp18 int32_t oldCount = sk_atomic_inc(&gCachedDataCounter); in inc()
DSkPathRef.cpp27 SkDEBUGCODE(sk_atomic_inc(&fPathRef->fEditorsAttached);) in Editor()
432 fGenerationID = (sk_atomic_inc(&gPathRefGenerationID) + 1) & kMask; in genID()
DSkTaskGroup.cpp114 sk_atomic_inc(pending); // No barrier needed. in add()
DSkPixelRef.cpp54 int index = sk_atomic_inc(&gPixelRefMutexRingIndex); in get_default_mutex()
DSkRWBuffer.cpp79 sk_atomic_inc(&fRefCnt); in ref()
/external/skia/include/gpu/
DGrProcessor.h129 uint32_t id = static_cast<uint32_t>(sk_atomic_inc(&gCurrProcessorClassID)) + 1; in GenClassID()
DGrXferProcessor.h392 uint32_t id = static_cast<uint32_t>(sk_atomic_inc(&gCurrXPFClassID)) + 1; in GenClassID()
/external/skia/src/image/
DSkSurface.cpp114 return sk_atomic_inc(&gID) + 1; in newGenerationID()
DSkImage.cpp23 id = sk_atomic_inc(&gUniqueID) + 1; in NextUniqueID()
/external/skia/src/utils/ios/
DSkFontHost_iOS.mm73 : SkTypeface(style, sk_atomic_inc(&gUniqueFontID) + 1) {
/external/skia/src/gpu/effects/
DGrTextureStripAtlas.cpp73 : fCacheKey(sk_atomic_inc(&gCacheCount)) in GrTextureStripAtlas()

12