Home
last modified time | relevance | path

Searched refs:SkGraphics (Results 1 – 25 of 50) sorted by relevance

12

/external/skqp/src/core/
DSkGraphics.cpp33 void SkGraphics::GetVersion(int32_t* major, int32_t* minor, int32_t* patch) { in GetVersion()
45 void SkGraphics::Init() { in Init()
53 void SkGraphics::DumpMemoryStatistics(SkTraceMemoryDump* dump) { in DumpMemoryStatistics()
58 void SkGraphics::PurgeAllCaches() { in PurgeAllCaches()
59 SkGraphics::PurgeFontCache(); in PurgeAllCaches()
60 SkGraphics::PurgeResourceCache(); in PurgeAllCaches()
74 { kFontCacheLimitStr, kFontCacheLimitLen, SkGraphics::SetFontCacheLimit }
78 void SkGraphics::SetFlags(const char* flags) { in SetFlags()
112 size_t SkGraphics::GetFontCacheLimit() { in GetFontCacheLimit()
116 size_t SkGraphics::SetFontCacheLimit(size_t bytes) { in SetFontCacheLimit()
[all …]
DSkImageGenerator.cpp88 static SkGraphics::ImageGeneratorFromEncodedDataFactory gFactory;
90 SkGraphics::ImageGeneratorFromEncodedDataFactory
91 SkGraphics::SetImageGeneratorFromEncodedDataFactory(ImageGeneratorFromEncodedDataFactory factory) in SetImageGeneratorFromEncodedDataFactory()
DSkStrikeCache.cpp220 SkGraphics::GetFontCacheUsed(), SkGraphics::GetFontCacheLimit()); in Dump()
222 SkGraphics::GetFontCacheCountUsed(), SkGraphics::GetFontCacheCountLimit()); in Dump()
242 dump->dumpNumericValue(gGlyphCacheDumpName, "size", "bytes", SkGraphics::GetFontCacheUsed()); in DumpMemoryStatistics()
244 SkGraphics::GetFontCacheLimit()); in DumpMemoryStatistics()
246 SkGraphics::GetFontCacheCountUsed()); in DumpMemoryStatistics()
248 SkGraphics::GetFontCacheCountLimit()); in DumpMemoryStatistics()
DSkResourceCache.cpp545 size_t SkGraphics::GetResourceCacheTotalBytesUsed() { in GetResourceCacheTotalBytesUsed()
549 size_t SkGraphics::GetResourceCacheTotalByteLimit() { in GetResourceCacheTotalByteLimit()
553 size_t SkGraphics::SetResourceCacheTotalByteLimit(size_t newLimit) { in SetResourceCacheTotalByteLimit()
557 size_t SkGraphics::GetResourceCacheSingleAllocationByteLimit() { in GetResourceCacheSingleAllocationByteLimit()
561 size_t SkGraphics::SetResourceCacheSingleAllocationByteLimit(size_t newLimit) { in SetResourceCacheSingleAllocationByteLimit()
565 void SkGraphics::PurgeResourceCache() { in PurgeResourceCache()
DSkFontPriv.cpp33 const int limit = SkMin32(SkGraphics::GetFontCachePointSizeLimit(), maxLimit); in MaxCacheSize2()
/external/skia/src/core/
DSkGraphics.cpp32 void SkGraphics::Init() { in Init()
40 void SkGraphics::DumpMemoryStatistics(SkTraceMemoryDump* dump) { in DumpMemoryStatistics()
45 void SkGraphics::PurgeAllCaches() { in PurgeAllCaches()
46 SkGraphics::PurgeFontCache(); in PurgeAllCaches()
47 SkGraphics::PurgeResourceCache(); in PurgeAllCaches()
61 { kFontCacheLimitStr, kFontCacheLimitLen, SkGraphics::SetFontCacheLimit }
65 void SkGraphics::SetFlags(const char* flags) { in SetFlags()
99 size_t SkGraphics::GetFontCacheLimit() { in GetFontCacheLimit()
103 size_t SkGraphics::SetFontCacheLimit(size_t bytes) { in SetFontCacheLimit()
107 size_t SkGraphics::GetFontCacheUsed() { in GetFontCacheUsed()
[all …]
DSkStrikeCache.cpp121 SkGraphics::GetFontCacheUsed(), SkGraphics::GetFontCacheLimit()); in Dump()
123 SkGraphics::GetFontCacheCountUsed(), SkGraphics::GetFontCacheCountLimit()); in Dump()
143 dump->dumpNumericValue(gGlyphCacheDumpName, "size", "bytes", SkGraphics::GetFontCacheUsed()); in DumpMemoryStatistics()
145 SkGraphics::GetFontCacheLimit()); in DumpMemoryStatistics()
147 SkGraphics::GetFontCacheCountUsed()); in DumpMemoryStatistics()
149 SkGraphics::GetFontCacheCountLimit()); in DumpMemoryStatistics()
DSkImageGenerator.cpp90 static SkGraphics::ImageGeneratorFromEncodedDataFactory gFactory;
92 SkGraphics::ImageGeneratorFromEncodedDataFactory
93 SkGraphics::SetImageGeneratorFromEncodedDataFactory(ImageGeneratorFromEncodedDataFactory factory) in SetImageGeneratorFromEncodedDataFactory()
DSkResourceCache.cpp549 size_t SkGraphics::GetResourceCacheTotalBytesUsed() { in GetResourceCacheTotalBytesUsed()
553 size_t SkGraphics::GetResourceCacheTotalByteLimit() { in GetResourceCacheTotalByteLimit()
557 size_t SkGraphics::SetResourceCacheTotalByteLimit(size_t newLimit) { in SetResourceCacheTotalByteLimit()
561 size_t SkGraphics::GetResourceCacheSingleAllocationByteLimit() { in GetResourceCacheSingleAllocationByteLimit()
565 size_t SkGraphics::SetResourceCacheSingleAllocationByteLimit(size_t newLimit) { in SetResourceCacheSingleAllocationByteLimit()
569 void SkGraphics::PurgeResourceCache() { in PurgeResourceCache()
/external/skqp/bench/
DSkGlyphCacheBench.cpp56 size_t oldCacheLimitSize = SkGraphics::GetFontCacheLimit(); in onDraw()
57 SkGraphics::SetFontCacheLimit(fCacheSize); in onDraw()
66 SkGraphics::SetFontCacheLimit(oldCacheLimitSize); in onDraw()
90 size_t oldCacheLimitSize = SkGraphics::GetFontCacheLimit(); in onDraw()
91 SkGraphics::SetFontCacheLimit(fCacheSize); in onDraw()
105 SkGraphics::SetFontCacheLimit(oldCacheLimitSize); in onDraw()
/external/skia/bench/
DSkGlyphCacheBench.cpp57 size_t oldCacheLimitSize = SkGraphics::GetFontCacheLimit(); in onDraw()
58 SkGraphics::SetFontCacheLimit(fCacheSize); in onDraw()
67 SkGraphics::SetFontCacheLimit(oldCacheLimitSize); in onDraw()
91 size_t oldCacheLimitSize = SkGraphics::GetFontCacheLimit(); in onDraw()
92 SkGraphics::SetFontCacheLimit(fCacheSize); in onDraw()
106 SkGraphics::SetFontCacheLimit(oldCacheLimitSize); in onDraw()
/external/skqp/tests/
DImageGeneratorTest.cpp43 auto prev = SkGraphics::SetImageGeneratorFromEncodedDataFactory(my_factory); in test_imagegenerator_factory()
50 SkGraphics::SetImageGeneratorFromEncodedDataFactory(SkImageGeneratorCG::MakeFromEncodedCG); in test_imagegenerator_factory()
52 SkGraphics::SetImageGeneratorFromEncodedDataFactory(SkImageGeneratorWIC::MakeFromEncodedWIC); in test_imagegenerator_factory()
55 SkGraphics::SetImageGeneratorFromEncodedDataFactory(prev); in test_imagegenerator_factory()
DFontHostStreamTest.cpp113 SkGraphics::PurgeFontCache(); in DEF_TEST()
/external/skia/tests/
DImageGeneratorTest.cpp43 auto prev = SkGraphics::SetImageGeneratorFromEncodedDataFactory(my_factory); in test_imagegenerator_factory()
50 SkGraphics::SetImageGeneratorFromEncodedDataFactory(SkImageGeneratorCG::MakeFromEncodedCG); in test_imagegenerator_factory()
52 SkGraphics::SetImageGeneratorFromEncodedDataFactory(SkImageGeneratorWIC::MakeFromEncodedWIC); in test_imagegenerator_factory()
55 SkGraphics::SetImageGeneratorFromEncodedDataFactory(prev); in test_imagegenerator_factory()
DFontHostStreamTest.cpp113 SkGraphics::PurgeFontCache(); in DEF_TEST()
/external/skia/include/core/
DSkGraphics.h17 class SK_API SkGraphics {
175 SkGraphics::Init(); in SkAutoGraphics()
DSkFlattenable.h93 friend class SkGraphics; variable
/external/skqp/include/core/
DSkGraphics.h17 class SK_API SkGraphics {
181 SkGraphics::Init(); in SkAutoGraphics()
DSkFlattenable.h93 friend class SkGraphics; variable
/external/skqp/tools/
Dremote_demo.cpp172 SkGraphics::PurgeFontCache(); in final_draw()
173 SkASSERT(SkGraphics::GetFontCacheUsed() == 0u); in final_draw()
305 SkGraphics::Init(); in main()
318 SkGraphics::Init(); in main()
/external/skia/tools/
Dremote_demo.cpp172 SkGraphics::PurgeFontCache(); in final_draw()
173 SkASSERT(SkGraphics::GetFontCacheUsed() == 0u); in final_draw()
306 SkGraphics::Init(); in main()
319 SkGraphics::Init(); in main()
/external/skia/example/
DHelloWorld.cpp25 SkGraphics::Init(); in HelloWorld()
/external/skqp/example/
DHelloWorld.cpp25 SkGraphics::Init(); in HelloWorld()
/external/skqp/tools/skiaserve/
Dskiaserve.cpp89 SkGraphics::Init(); in skiaserve_main()
/external/skia/tools/skiaserve/
Dskiaserve.cpp89 SkGraphics::Init(); in skiaserve_main()

12