/external/skqp/src/core/ |
D | SkStrike.h | 47 SkGlyph* getRawGlyphByID(SkPackedGlyphID); 52 const SkGlyph& getGlyphIDAdvance(SkGlyphID); 60 const SkGlyph& getGlyphIDMetrics(SkGlyphID); 66 const SkGlyph& getGlyphIDMetrics(uint16_t, SkFixed x, SkFixed y); 80 const void* findImage(const SkGlyph&); 84 void initializeImage(const volatile void* data, size_t size, SkGlyph*); 90 bool yAxis, SkGlyph* , SkScalar* array, int* count); 95 const SkPath* findPath(const SkGlyph&); 100 bool initializePath(SkGlyph*, const volatile void* data, size_t size); 104 bool belongsToCache(const SkGlyph* glyph) const; [all …]
|
D | SkStrike.cpp | 62 SkGlyph* SkStrike::getRawGlyphByID(SkPackedGlyphID id) { in getRawGlyphByID() 66 const SkGlyph& SkStrike::getGlyphIDAdvance(uint16_t glyphID) { in getGlyphIDAdvance() 72 const SkGlyph& SkStrike::getGlyphIDMetrics(uint16_t glyphID) { in getGlyphIDMetrics() 78 const SkGlyph& SkStrike::getGlyphIDMetrics(uint16_t glyphID, SkFixed x, SkFixed y) { in getGlyphIDMetrics() 91 SkGlyph* SkStrike::lookupByPackedGlyphID(SkPackedGlyphID packedGlyphID, MetricsType type) { in lookupByPackedGlyphID() 92 SkGlyph* glyphPtr = fGlyphMap.findOrNull(packedGlyphID); in lookupByPackedGlyphID() 105 SkGlyph* SkStrike::allocateNewGlyph(SkPackedGlyphID packedGlyphID, MetricsType mtype) { in allocateNewGlyph() 106 fMemoryUsed += sizeof(SkGlyph); in allocateNewGlyph() 108 SkGlyph* glyphPtr = fAlloc.make<SkGlyph>(packedGlyphID); in allocateNewGlyph() 124 const void* SkStrike::findImage(const SkGlyph& glyph) { in findImage() [all …]
|
D | SkGlyph.cpp | 14 void SkGlyph::toMask(SkMask* mask) const { in toMask() 23 void SkGlyph::zeroMetrics() { in zeroMetrics() 59 size_t SkGlyph::formatAlignment() const { in formatAlignment() 64 size_t SkGlyph::allocImage(SkArenaAlloc* alloc) { in allocImage() 72 size_t SkGlyph::rowBytes() const { in rowBytes() 76 size_t SkGlyph::rowBytesUsingFormat(SkMask::Format format) const { in rowBytesUsingFormat() 80 size_t SkGlyph::computeImageSize() const { in computeImageSize() 90 size_t SkGlyph::copyImageData(const SkGlyph& from, SkArenaAlloc* alloc) { in copyImageData() 109 SkPath* SkGlyph::addPath(SkScalerContext* scalerContext, SkArenaAlloc* alloc) { in addPath() 112 fPathData = alloc->make<SkGlyph::PathData>(); in addPath()
|
D | SkRemoteGlyphCacheImpl.h | 40 const SkGlyph& findGlyph(SkPackedGlyphID); 46 const SkGlyph& getGlyphMetrics(SkGlyphID glyphID, SkPoint position) override; 48 bool hasImage(const SkGlyph& glyph) override; 50 bool hasPath(const SkGlyph& glyph) override; 92 static SkPackedGlyphID GetKey(const SkGlyph* glyph) { in GetKey() 102 SkTHashTable<SkGlyph*, SkPackedGlyphID, GlyphMapHashTraits> fGlyphMap;
|
D | SkGlyphRunPainter.cpp | 39 static constexpr SkScalar kSubpixelRounding = SkFixedToScalar(SkGlyph::kSubpixelRound); in PixelRounding() 69 bool SkStrikeCommon::GlyphTooBigForAtlas(const SkGlyph& glyph) { in GlyphTooBigForAtlas() 131 static SkMask create_mask(const SkGlyph& glyph, SkPoint position, const void* image) { in create_mask() 187 const SkGlyph& glyph = pathCache->getGlyphMetrics(glyphID, {0, 0}); in drawForBitmapDevice() 223 const SkGlyph& glyph = cache->getGlyphMetrics(glyphID, position); in drawForBitmapDevice() 346 const SkGlyph& glyph = pathCache->getGlyphMetrics(glyphID, {0, 0}); in drawGlyphRunAsPathWithARGBFallback() 380 SkSTArray<4, const SkGlyph*> emptyGlyphs; in drawGlyphRunAsBMPWithPathFallback() 393 [glyphID](const SkGlyph* g) { return g->getGlyphID() == glyphID; })) { in drawGlyphRunAsBMPWithPathFallback() 398 const SkGlyph& glyph = cache->getGlyphMetrics(glyphID, mappedPt); in drawGlyphRunAsBMPWithPathFallback() 421 processEmpties(SkSpan<const SkGlyph*>{emptyGlyphs.data(), emptyGlyphs.size()}); in drawGlyphRunAsBMPWithPathFallback() [all …]
|
D | SkGlyphRunPainter.h | 26 virtual const SkGlyph& getGlyphMetrics(SkGlyphID glyphID, SkPoint position) = 0; 27 virtual bool hasImage(const SkGlyph& glyph) = 0; 28 virtual bool hasPath(const SkGlyph& glyph) = 0; 42 static bool GlyphTooBigForAtlas(const SkGlyph& glyph); 62 const SkGlyph* glyph;
|
D | SkRemoteGlyphCache.cpp | 166 bool read_path(Deserializer* deserializer, SkGlyph* glyph, SkStrike* cache) { in read_path() 442 static void writeGlyph(SkGlyph* glyph, Serializer* serializer) { in writeGlyph() 475 SkGlyph glyph{glyphID}; in writePendingGlyphs() 492 SkGlyph glyph{glyphID}; in writePendingGlyphs() 501 const SkGlyph& SkStrikeServer::SkGlyphCacheState::findGlyph(SkPackedGlyphID glyphID) { in findGlyph() 502 SkGlyph* glyphPtr = fGlyphMap.findOrNull(glyphID); in findGlyph() 504 glyphPtr = fAlloc.make<SkGlyph>(glyphID); in findGlyph() 535 const SkGlyph& SkStrikeServer::SkGlyphCacheState::getGlyphMetrics( in getGlyphMetrics() 544 bool SkStrikeServer::SkGlyphCacheState::hasImage(const SkGlyph& glyph) { in hasImage() 549 bool SkStrikeServer::SkGlyphCacheState::hasPath(const SkGlyph& glyph) { in hasPath() [all …]
|
/external/skia/src/ports/ |
D | SkScalerContext_win_dw.h | 19 class SkGlyph; variable 30 bool generateAdvance(SkGlyph* glyph) override; 31 void generateMetrics(SkGlyph* glyph) override; 32 void generateImage(const SkGlyph& glyph) override; 37 static void BilevelToBW(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph); 41 const SkGlyph& glyph, 46 const SkGlyph& glyph, 50 static void RGBToLcd16(const uint8_t* SK_RESTRICT src, const SkGlyph& glyph, 53 const void* drawDWMask(const SkGlyph& glyph, 57 HRESULT getBoundingBox(SkGlyph* glyph, [all …]
|
D | SkScalerContext_mac_ct.h | 34 class SkGlyph; variable 47 bool generateAdvance(SkGlyph* glyph) override; 48 void generateMetrics(SkGlyph* glyph) override; 49 void generateImage(const SkGlyph& glyph) override; 65 CGRGBPixel* getCG(const SkScalerContext_Mac& context, const SkGlyph& glyph,
|
/external/skqp/src/ports/ |
D | SkScalerContext_win_dw.h | 19 class SkGlyph; variable 32 bool generateAdvance(SkGlyph* glyph) override; 33 void generateMetrics(SkGlyph* glyph) override; 34 void generateImage(const SkGlyph& glyph) override; 39 const void* drawDWMask(const SkGlyph& glyph, 43 HRESULT getBoundingBox(SkGlyph* glyph, 48 bool isColorGlyph(const SkGlyph& glyph); 50 bool isPngGlyph(const SkGlyph& glyph); 56 bool getColorGlyphRun(const SkGlyph& glyph, IDWriteColorGlyphRunEnumerator** colorGlyph); 58 void generateColorMetrics(SkGlyph* glyph); [all …]
|
/external/skia/src/core/ |
D | SkScalerCache.h | 30 SkGlyphDigest(size_t i, const SkGlyph& glyph) in SkGlyphDigest() 63 std::tuple<SkGlyph*, size_t> mergeGlyphAndImage( 64 SkPackedGlyphID toID, const SkGlyph& from) SK_EXCLUDES(fMu); 68 SkGlyph* glyph, const SkPath* path) SK_EXCLUDES(fMu); 77 SkGlyph* , SkScalar* array, int* count) SK_EXCLUDES(fMu); 83 std::tuple<SkSpan<const SkGlyph*>, size_t> metrics( 84 SkSpan<const SkGlyphID> glyphIDs, const SkGlyph* results[]) SK_EXCLUDES(fMu); 86 std::tuple<SkSpan<const SkGlyph*>, size_t> preparePaths( 87 SkSpan<const SkGlyphID> glyphIDs, const SkGlyph* results[]) SK_EXCLUDES(fMu); 89 std::tuple<SkSpan<const SkGlyph*>, size_t> prepareImages( [all …]
|
D | SkScalerCache.cpp | 39 std::tuple<SkGlyph*, size_t> SkScalerCache::glyph(SkPackedGlyphID packedGlyphID) { in glyph() 51 SkGlyph* glyph = fAlloc.make<SkGlyph>(fScalerContext->makeGlyph(packedGlyphID)); in digest() 52 return {this->addGlyph(glyph), sizeof(SkGlyph)}; in digest() 55 SkGlyphDigest SkScalerCache::addGlyph(SkGlyph* glyph) { in addGlyph() 63 std::tuple<const SkPath*, size_t> SkScalerCache::preparePath(SkGlyph* glyph) { in preparePath() 71 std::tuple<const SkPath*, size_t> SkScalerCache::mergePath(SkGlyph* glyph, const SkPath* path) { in mergePath() 89 std::tuple<SkSpan<const SkGlyph*>, size_t> SkScalerCache::internalPrepare( in internalPrepare() 90 SkSpan<const SkGlyphID> glyphIDs, PathDetail pathDetail, const SkGlyph** results) { in internalPrepare() 91 const SkGlyph** cursor = results; in internalPrepare() 106 std::tuple<const void*, size_t> SkScalerCache::prepareImage(SkGlyph* glyph) { in prepareImage() [all …]
|
D | SkGlyph.cpp | 17 SkMask SkGlyph::mask() const { in mask() 26 SkMask SkGlyph::mask(SkPoint position) const { in mask() 32 void SkGlyph::zeroMetrics() { in zeroMetrics() 68 size_t SkGlyph::formatAlignment() const { in formatAlignment() 72 size_t SkGlyph::allocImage(SkArenaAlloc* alloc) { in allocImage() 80 bool SkGlyph::setImage(SkArenaAlloc* alloc, SkScalerContext* scalerContext) { in setImage() 93 bool SkGlyph::setImage(SkArenaAlloc* alloc, const void* image) { in setImage() 102 size_t SkGlyph::setMetricsAndImage(SkArenaAlloc* alloc, const SkGlyph& from) { in setMetricsAndImage() 126 size_t SkGlyph::rowBytes() const { in rowBytes() 130 size_t SkGlyph::rowBytesUsingFormat(SkMask::Format format) const { in rowBytesUsingFormat() [all …]
|
D | SkStrikeSpec.h | 113 SkSpan<const SkGlyph*> glyphs(SkSpan<const SkGlyphID> glyphIDs); 114 const SkGlyph* glyph(SkGlyphID glyphID); 118 SkAutoSTArray<kTypicalGlyphCount, const SkGlyph*> fGlyphs; 126 SkSpan<const SkGlyph*> glyphs(SkSpan<const SkGlyphID> glyphIDs); 127 const SkGlyph* glyph(SkGlyphID glyphID); 129 const SkGlyph* glyph, SkScalar* array, int* count); 133 SkAutoSTArray<kTypicalGlyphCount, const SkGlyph*> fGlyphs; 141 SkSpan<const SkGlyph*> glyphs(SkSpan<const SkPackedGlyphID> packedIDs); 142 const SkGlyph* glyph(SkPackedGlyphID packedID); 147 SkAutoSTArray<kTypicalGlyphCount, const SkGlyph*> fGlyphs;
|
D | SkStrikeForGPU.h | 21 class SkGlyph; variable 49 static bool CanDrawAsMask(const SkGlyph& glyph); 50 static bool CanDrawAsSDFT(const SkGlyph& glyph); 51 static bool CanDrawAsPath(const SkGlyph& glyph); 52 static bool FitsInAtlas(const SkGlyph& glyph);
|
D | SkStrikeCache.h | 52 SkGlyph* mergeGlyphAndImage(SkPackedGlyphID toID, const SkGlyph& from) { in mergeGlyphAndImage() 58 const SkPath* mergePath(SkGlyph* glyph, const SkPath* path) { in mergePath() 69 SkGlyph* glyph, SkScalar* array, int* count) { in findIntercepts() 77 SkSpan<const SkGlyph*> metrics(SkSpan<const SkGlyphID> glyphIDs, in metrics() 78 const SkGlyph* results[]) { in metrics() 84 SkSpan<const SkGlyph*> preparePaths(SkSpan<const SkGlyphID> glyphIDs, in preparePaths() 85 const SkGlyph* results[]) { in preparePaths() 91 SkSpan<const SkGlyph*> prepareImages(SkSpan<const SkPackedGlyphID> glyphIDs, in prepareImages() 92 const SkGlyph* results[]) { in prepareImages()
|
D | SkStrikeForGPU.cpp | 14 bool SkStrikeForGPU::CanDrawAsMask(const SkGlyph& glyph) { in CanDrawAsMask() 18 bool SkStrikeForGPU::CanDrawAsSDFT(const SkGlyph& glyph) { in CanDrawAsSDFT() 22 bool SkStrikeForGPU::CanDrawAsPath(const SkGlyph& glyph) { in CanDrawAsPath() 27 bool SkStrikeForGPU::FitsInAtlas(const SkGlyph& glyph) { in FitsInAtlas()
|
D | SkStrikeSpec.cpp | 225 SkSpan<const SkGlyph*> SkBulkGlyphMetrics::glyphs(SkSpan<const SkGlyphID> glyphIDs) { in glyphs() 230 const SkGlyph* SkBulkGlyphMetrics::glyph(SkGlyphID glyphID) { in glyph() 240 SkSpan<const SkGlyph*> SkBulkGlyphMetricsAndPaths::glyphs(SkSpan<const SkGlyphID> glyphIDs) { in glyphs() 245 const SkGlyph* SkBulkGlyphMetricsAndPaths::glyph(SkGlyphID glyphID) { in glyph() 251 const SkGlyph* glyph, SkScalar* array, int* count) { in findIntercepts() 254 fStrike->findIntercepts(bounds, scale, xPos, const_cast<SkGlyph*>(glyph), array, count); in findIntercepts() 263 SkSpan<const SkGlyph*> SkBulkGlyphMetricsAndImages::glyphs(SkSpan<const SkPackedGlyphID> glyphIDs) { in glyphs() 268 const SkGlyph* SkBulkGlyphMetricsAndImages::glyph(SkPackedGlyphID packedID) { in glyph()
|
D | SkGlyphBuffer.h | 93 SkGlyphVariant& operator= (SkGlyph* glyph) { 105 SkGlyph* glyph() const { in glyph() 119 operator SkGlyph*() const { return this->glyph(); } 124 SkGlyph* glyph; 186 void push_back(SkGlyph* glyph, size_t from) { in push_back()
|
D | SkScalerContext.h | 287 SkGlyph makeGlyph(SkPackedGlyphID); 288 void getImage(const SkGlyph&); 366 virtual bool generateAdvance(SkGlyph* glyph) = 0; 373 virtual void generateMetrics(SkGlyph* glyph) = 0; 384 virtual void generateImage(const SkGlyph& glyph) = 0; 418 SkGlyph internalMakeGlyph(SkPackedGlyphID packedID, SkMask::Format format);
|
D | SkTypeface_remote.cpp | 22 bool SkScalerContextProxy::generateAdvance(SkGlyph* glyph) { in generateAdvance() 26 void SkScalerContextProxy::generateMetrics(SkGlyph* glyph) { in generateMetrics() 38 void SkScalerContextProxy::generateImage(const SkGlyph& glyph) { in generateImage()
|
/external/skqp/src/gpu/text/ |
D | GrStrikeCache.h | 33 GrGlyph* getGlyph(const SkGlyph& skGlyph) { in getGlyph() 52 const SkGlyph& skGlyph = GrToSkGlyph(cache, packed); in getGlyph() 91 static const SkGlyph& GrToSkGlyph(SkStrike* cache, SkPackedGlyphID id) { in GrToSkGlyph() 95 GrGlyph* generateGlyph(const SkGlyph&);
|
/external/skia/tools/fonts/ |
D | RandomScalerContext.cpp | 26 bool generateAdvance(SkGlyph*) override; 27 void generateMetrics(SkGlyph*) override; 28 void generateImage(const SkGlyph&) override; 50 bool RandomScalerContext::generateAdvance(SkGlyph* glyph) { return fProxy->generateAdvance(glyph); } in generateAdvance() 52 void RandomScalerContext::generateMetrics(SkGlyph* glyph) { in generateMetrics() 87 void RandomScalerContext::generateImage(const SkGlyph& glyph) { in generateImage()
|
/external/skqp/tools/fonts/ |
D | SkRandomScalerContext.cpp | 27 bool generateAdvance(SkGlyph*) override; 28 void generateMetrics(SkGlyph*) override; 29 void generateImage(const SkGlyph&) override; 60 bool SkRandomScalerContext::generateAdvance(SkGlyph* glyph) { in generateAdvance() 64 void SkRandomScalerContext::generateMetrics(SkGlyph* glyph) { in generateMetrics() 99 void SkRandomScalerContext::generateImage(const SkGlyph& glyph) { in generateImage()
|
/external/skqp/src/gpu/ |
D | GrGlyph.h | 25 static GrMaskFormat FormatFromSkGlyph(const SkGlyph& glyph) { in FormatFromSkGlyph() 45 static GrIRect16 BoundsFromSkGlyph(const SkGlyph& glyph) { in BoundsFromSkGlyph() 52 static MaskStyle MaskStyleFromSkGlyph(const SkGlyph& skGlyph) { in MaskStyleFromSkGlyph() 58 GrGlyph(const SkGlyph& skGlyph) in GrGlyph()
|