Searched refs:SkGraphics (Results 1 – 25 of 36) sorted by relevance
12
34 void SkGraphics::GetVersion(int32_t* major, int32_t* minor, int32_t* patch) { in GetVersion()46 void SkGraphics::Init() { in Init()54 void SkGraphics::DumpMemoryStatistics(SkTraceMemoryDump* dump) { in DumpMemoryStatistics()59 void SkGraphics::PurgeAllCaches() { in PurgeAllCaches()60 SkGraphics::PurgeFontCache(); in PurgeAllCaches()61 SkGraphics::PurgeResourceCache(); in PurgeAllCaches()75 { kFontCacheLimitStr, kFontCacheLimitLen, SkGraphics::SetFontCacheLimit }79 void SkGraphics::SetFlags(const char* flags) { in SetFlags()
566 SkGraphics::GetFontCacheUsed(), SkGraphics::GetFontCacheLimit()); in Dump()568 SkGraphics::GetFontCacheCountUsed(), SkGraphics::GetFontCacheCountLimit()); in Dump()598 dump->dumpNumericValue(gGlyphCacheDumpName, "size", "bytes", SkGraphics::GetFontCacheUsed()); in DumpMemoryStatistics()600 SkGraphics::GetFontCacheLimit()); in DumpMemoryStatistics()602 SkGraphics::GetFontCacheCountUsed()); in DumpMemoryStatistics()604 SkGraphics::GetFontCacheCountLimit()); in DumpMemoryStatistics()771 size_t SkGraphics::GetFontCacheLimit() { in GetFontCacheLimit()775 size_t SkGraphics::SetFontCacheLimit(size_t bytes) { in SetFontCacheLimit()779 size_t SkGraphics::GetFontCacheUsed() { in GetFontCacheUsed()783 int SkGraphics::GetFontCacheCountLimit() { in GetFontCacheCountLimit()[all …]
91 static SkGraphics::ImageGeneratorFromEncodedDataFactory gFactory;93 SkGraphics::ImageGeneratorFromEncodedDataFactory94 SkGraphics::SetImageGeneratorFromEncodedDataFactory(ImageGeneratorFromEncodedDataFactory factory) in SetImageGeneratorFromEncodedDataFactory()
536 size_t SkGraphics::GetResourceCacheTotalBytesUsed() { in GetResourceCacheTotalBytesUsed()540 size_t SkGraphics::GetResourceCacheTotalByteLimit() { in GetResourceCacheTotalByteLimit()544 size_t SkGraphics::SetResourceCacheTotalByteLimit(size_t newLimit) { in SetResourceCacheTotalByteLimit()548 size_t SkGraphics::GetResourceCacheSingleAllocationByteLimit() { in GetResourceCacheSingleAllocationByteLimit()552 size_t SkGraphics::SetResourceCacheSingleAllocationByteLimit(size_t newLimit) { in SetResourceCacheSingleAllocationByteLimit()556 void SkGraphics::PurgeResourceCache() { in PurgeResourceCache()
54 size_t oldCacheLimitSize = SkGraphics::GetFontCacheLimit(); in onDraw()55 SkGraphics::SetFontCacheLimit(fCacheSize); in onDraw()65 SkGraphics::SetFontCacheLimit(oldCacheLimitSize); in onDraw()89 size_t oldCacheLimitSize = SkGraphics::GetFontCacheLimit(); in onDraw()90 SkGraphics::SetFontCacheLimit(fCacheSize); in onDraw()106 SkGraphics::SetFontCacheLimit(oldCacheLimitSize); in onDraw()
36 SkGraphics::PurgeFontCache(); in onDraw()
17 class SK_API SkGraphics {201 SkGraphics::Init(); in SkAutoGraphics()
129 friend class SkGraphics; variable
12 #include "SkGraphics.h"40 SkGraphics::Init();
14 SkGraphics::Init(); in main()
12 #include "SkGraphics.h"59 SkGraphics::Init();
34 auto prev = SkGraphics::SetImageGeneratorFromEncodedDataFactory(my_factory); in test_imagegenerator_factory()38 SkGraphics::SetImageGeneratorFromEncodedDataFactory(prev); in test_imagegenerator_factory()
16 SkGraphics::SetTLSFontCacheLimit(1 * 1024 * 1024); in thread_main()
86 SkGraphics::SetTLSFontCacheLimit(1 * 1024 * 1024); in operator()
106 SkGraphics::PurgeFontCache(); in DEF_TEST()
27 SkGraphics::Init(); in main()
91 SkGraphics::Init(); in application_init()
10 #include "SkGraphics.h"
60 SkGraphics::SetFontCacheLimit(16 * 1024 * 1024); in FontMgrGM()132 SkGraphics::SetFontCacheLimit(16 * 1024 * 1024); in FontMgrMatchGM()
89 SkGraphics::Init(); in skiaserve_main()
21 SkGraphics::Init(); in application_init()
83 SkGraphics::Init(); in main()
9 #include "SkGraphics.h"238 SkGraphics::Init();
114 SkGraphics::PurgeFontCache(); in onDrawContent()
36 SkGraphics::Init(); in application_init()