Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkGraphics.cpp33 void SkGraphics::Init() { in Init()
41 void SkGraphics::DumpMemoryStatistics(SkTraceMemoryDump* dump) { in DumpMemoryStatistics()
46 void SkGraphics::PurgeAllCaches() { in PurgeAllCaches()
47 SkGraphics::PurgeFontCache(); in PurgeAllCaches()
48 SkGraphics::PurgeResourceCache(); in PurgeAllCaches()
62 { kFontCacheLimitStr, kFontCacheLimitLen, SkGraphics::SetFontCacheLimit }
66 void SkGraphics::SetFlags(const char* flags) { in SetFlags()
100 size_t SkGraphics::GetFontCacheLimit() { in GetFontCacheLimit()
104 size_t SkGraphics::SetFontCacheLimit(size_t bytes) { in SetFontCacheLimit()
108 size_t SkGraphics::GetFontCacheUsed() { in GetFontCacheUsed()
[all …]
DSkStrikeCache.cpp59 SkGraphics::GetFontCacheUsed(), SkGraphics::GetFontCacheLimit()); in Dump()
61 SkGraphics::GetFontCacheCountUsed(), SkGraphics::GetFontCacheCountLimit()); in Dump()
71 dump->dumpNumericValue(kGlyphCacheDumpName, "size", "bytes", SkGraphics::GetFontCacheUsed()); in DumpMemoryStatistics()
73 SkGraphics::GetFontCacheLimit()); in DumpMemoryStatistics()
75 SkGraphics::GetFontCacheCountUsed()); in DumpMemoryStatistics()
77 SkGraphics::GetFontCacheCountLimit()); in DumpMemoryStatistics()
DSkImageGenerator.cpp102 static SkGraphics::ImageGeneratorFromEncodedDataFactory gFactory;
104 SkGraphics::ImageGeneratorFromEncodedDataFactory
105 SkGraphics::SetImageGeneratorFromEncodedDataFactory(ImageGeneratorFromEncodedDataFactory factory) in SetImageGeneratorFromEncodedDataFactory()
DSkResourceCache.cpp556 size_t SkGraphics::GetResourceCacheTotalBytesUsed() { in GetResourceCacheTotalBytesUsed()
560 size_t SkGraphics::GetResourceCacheTotalByteLimit() { in GetResourceCacheTotalByteLimit()
564 size_t SkGraphics::SetResourceCacheTotalByteLimit(size_t newLimit) { in SetResourceCacheTotalByteLimit()
568 size_t SkGraphics::GetResourceCacheSingleAllocationByteLimit() { in GetResourceCacheSingleAllocationByteLimit()
572 size_t SkGraphics::SetResourceCacheSingleAllocationByteLimit(size_t newLimit) { in SetResourceCacheSingleAllocationByteLimit()
576 void SkGraphics::PurgeResourceCache() { in PurgeResourceCache()
DSkImageFilter_Base.h341 friend class SkGraphics; variable
DBUILD.bazel158 "SkGraphics.cpp",
/external/skia/tests/
DImageGeneratorTest.cpp54 auto prev = SkGraphics::SetImageGeneratorFromEncodedDataFactory(my_factory); in test_imagegenerator_factory()
61 SkGraphics::SetImageGeneratorFromEncodedDataFactory(SkImageGeneratorCG::MakeFromEncodedCG); in test_imagegenerator_factory()
63 SkGraphics::SetImageGeneratorFromEncodedDataFactory(SkImageGeneratorWIC::MakeFromEncodedWIC); in test_imagegenerator_factory()
66 SkGraphics::SetImageGeneratorFromEncodedDataFactory(prev); in test_imagegenerator_factory()
DFontHostStreamTest.cpp148 SkGraphics::PurgeFontCache(); in DEF_TEST()
DSkRemoteGlyphCacheTest.cpp582 SkGraphics::PurgeFontCache(); in DEF_TEST()
588 SkGraphics::PurgeFontCache(); in DEF_TEST()
/external/skia/bench/
DSkGlyphCacheBench.cpp58 size_t oldCacheLimitSize = SkGraphics::GetFontCacheLimit(); in onDraw()
59 SkGraphics::SetFontCacheLimit(fCacheSize); in onDraw()
68 SkGraphics::SetFontCacheLimit(oldCacheLimitSize); in onDraw()
92 size_t oldCacheLimitSize = SkGraphics::GetFontCacheLimit(); in onDraw()
93 SkGraphics::SetFontCacheLimit(fCacheSize); in onDraw()
107 SkGraphics::SetFontCacheLimit(oldCacheLimitSize); in onDraw()
Dnanobench.cpp1472 SkGraphics::PurgeAllCaches(); in main()
1659 SkGraphics::PurgeAllCaches(); in main()
/external/skia/include/core/
DSkGraphics.h20 class SK_API SkGraphics {
164 SkGraphics::Init(); in SkAutoGraphics()
DSkFlattenable.h91 friend class SkGraphics; variable
DBUILD.bazel57 "SkGraphics.h",
/external/skia/tools/
Dremote_demo.cpp174 SkGraphics::PurgeFontCache(); in final_draw()
175 SkASSERT(SkGraphics::GetFontCacheUsed() == 0u); in final_draw()
308 SkGraphics::Init(); in main()
321 SkGraphics::Init(); in main()
Dskottie2movie.cpp45 SkGraphics::Init(); in main()
/external/skia/experimental/filterfuzz/
Dfilterfuzz.cpp28 SkGraphics::Init(); in main()
/external/skia/tools/skiaserve/
Dskiaserve.cpp89 SkGraphics::Init(); in skiaserve_main()
/external/skia/example/
DHelloWorld.cpp44 SkGraphics::Init(); in HelloWorld()
/external/skia/gm/
Dfontmgr.cpp77 SkGraphics::SetFontCacheLimit(16 * 1024 * 1024); in onOnceBeforeDraw()
129 SkGraphics::SetFontCacheLimit(16 * 1024 * 1024); in onOnceBeforeDraw()
/external/skia/tools/skqp/src/
Dskqp.cpp137 SkGraphics::Init(); in init()
/external/skia/tools/fm/
Dfm.cpp385 SkGraphics::Init(); in main()
388 SkGraphics::SetOpenTypeSVGDecoderFactory(SkSVGOpenTypeSVGDecoder::Make); in main()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp575 if (!SkGraphics::GetOpenTypeSVGDecoderFactory() || in isSVGGlyph()
1228 SkGraphics::OpenTypeSVGDecoderFactory svgFactory = SkGraphics::GetOpenTypeSVGDecoderFactory(); in drawSVGGlyphImage()
/external/skia/gn/
Dcore.gni62 "$_include/core/SkGraphics.h",
374 "$_src/core/SkGraphics.cpp",
/external/skia/dm/
DDM.cpp1586 SkGraphics::SetOpenTypeSVGDecoderFactory(SkSVGOpenTypeSVGDecoder::Make); in main()
1668 SkGraphics::PurgeAllCaches(); in main()

12