Home
last modified time | relevance | path

Searched refs:SkOnce (Results 1 – 10 of 10) sorted by relevance

/external/skia/include/core/
DSkOnce.h38 inline void SkOnce(SkOnceFlag* once, void (*f)());
41 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg);
45 inline void SkOnce(bool* done, Lock* lock, void (*f)());
48 inline void SkOnce(bool* done, Lock* lock, void (*f)(Arg), Arg arg);
93 inline void SkOnce(bool* done, Lock* lock, void (*f)(Arg), Arg arg) { in SkOnce() function
119 inline void SkOnce(SkOnceFlag* once, void (*f)(Arg), Arg arg) { in SkOnce() function
120 return SkOnce(once->mutableDone(), once, f, arg); in SkOnce()
130 inline void SkOnce(SkOnceFlag* once, void (*func)()) { in SkOnce() function
131 return SkOnce(once, sk_once_no_arg_adaptor, func); in SkOnce()
135 inline void SkOnce(bool* done, Lock* lock, void (*func)()) { in SkOnce() function
[all …]
/external/skia/tests/
DOnceTest.cpp22 SkOnce(&st_once, add_five, &x); in DEF_TEST()
23 SkOnce(&st_once, add_five, &x); in DEF_TEST()
24 SkOnce(&st_once, add_five, &x); in DEF_TEST()
25 SkOnce(&st_once, add_five, &x); in DEF_TEST()
26 SkOnce(&st_once, add_five, &x); in DEF_TEST()
43 SkOnce(once, add_six, ptr); in run()
77 SkOnce(&noarg_once, inc_gX); in DEF_TEST()
78 SkOnce(&noarg_once, inc_gX); in DEF_TEST()
79 SkOnce(&noarg_once, inc_gX); in DEF_TEST()
/external/skia/src/ports/
DSkGlobalInitialization_chromium.cpp125 SkOnce(&once, SkPrivateEffectInitializer::Init); in InitializeFlattenablesIfNeeded()
DSkGlobalInitialization_default.cpp125 SkOnce(&once, SkPrivateEffectInitializer::Init); in InitializeFlattenablesIfNeeded()
/external/skia/src/fonts/
DSkFontMgr_indirect.cpp158 SkOnce(&fFamilyNamesInited, &fFamilyNamesMutex, SkFontMgr_Indirect::set_up_family_names, this); in onCountFamilies()
163 SkOnce(&fFamilyNamesInited, &fFamilyNamesMutex, SkFontMgr_Indirect::set_up_family_names, this); in onGetFamilyName()
/external/skia/src/utils/win/
DSkDWrite.cpp46 SkOnce(&once, create_dwrite_factory, &gDWriteFactory); in sk_get_dwrite_factory()
/external/skia/include/gpu/
DGrResourceKey.h282 SkOnce(&name##_once, gr_init_static_unique_key_once, &name)
/external/skia/src/effects/
DSkColorCubeFilter.cpp77 SkOnce(&fLutsInited, &fLutsMutex, in getProcessingLuts()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp527 SkOnce(&fCache16Inited, &fCache16Mutex, SkGradientShaderBase::GradientShaderCache::initCache16, in getCache16()
560 SkOnce(&fCache32Inited, &fCache32Mutex, SkGradientShaderBase::GradientShaderCache::initCache32, in getCache32()
/external/skia/gyp/
Dcore.gypi290 '<(skia_include_path)/core/SkOnce.h',