/external/skia/src/core/ |
D | SkGlyphBuffer.h | 93 SkZip<SkPackedGlyphID, SkPoint> input() { in input() 96 return SkZip<SkPackedGlyphID, SkPoint>{ in input() 100 void accept(SkPackedGlyphID glyphID, SkPoint position, SkMask::Format format) { in accept() 108 void accept(SkPackedGlyphID glyphID, SkPoint position) { in accept() 116 SkZip<SkPackedGlyphID, SkPoint> accepted() { in accepted() 119 return SkZip<SkPackedGlyphID, SkPoint>{ in accepted() 123 SkZip<SkPackedGlyphID, SkPoint, SkMask::Format> acceptedWithMaskFormat() { in acceptedWithMaskFormat() 126 return SkZip<SkPackedGlyphID, SkPoint, SkMask::Format>{ in acceptedWithMaskFormat() 148 skia_private::AutoTArray<SkPackedGlyphID> fPackedGlyphIDs;
|
D | SkGlyph.h | 41 struct SkPackedGlyphID { struct 65 1.f / (1u << (SkPackedGlyphID::kSubPixelPosLen + 1)); argument 71 uint32_t operator() (SkPackedGlyphID packedID) const { in operator() argument 76 constexpr explicit SkPackedGlyphID(SkGlyphID glyphID) in SkPackedGlyphID() function 79 constexpr SkPackedGlyphID(SkGlyphID glyphID, SkFixed x, SkFixed y) in SkPackedGlyphID() argument 82 constexpr SkPackedGlyphID(SkGlyphID glyphID, uint32_t x, uint32_t y) in SkPackedGlyphID() argument 85 SkPackedGlyphID(SkGlyphID glyphID, SkPoint pt, SkIPoint mask) in SkPackedGlyphID() function 88 constexpr explicit SkPackedGlyphID(uint32_t v) : fID{v & kMaskAll} { } in SkPackedGlyphID() function 89 constexpr SkPackedGlyphID() : fID{kImpossibleID} {} in SkPackedGlyphID() argument 91 bool operator==(const SkPackedGlyphID& that) const { [all …]
|
D | SkStrike.h | 51 SkGlyphDigest digestFor(skglyph::ActionType, SkPackedGlyphID) override SK_REQUIRES(fStrikeLock); 61 SkPackedGlyphID toID, const SkGlyph& fromGlyph) SK_EXCLUDES(fStrikeLock); 87 SkSpan<const SkGlyph*> prepareImages(SkSpan<const SkPackedGlyphID> glyphIDs, 133 SkGlyph* glyph(SkPackedGlyphID) SK_REQUIRES(fStrikeLock); 166 SkTHashMap<SkPackedGlyphID, SkGlyphDigest, SkPackedGlyphID::Hash>
|
D | SkStrike.cpp | 81 SkGlyph* SkStrike::mergeGlyphAndImage(SkPackedGlyphID toID, const SkGlyph& fromGlyph) { in mergeGlyphAndImage() 148 SkSpan<const SkPackedGlyphID> glyphIDs, const SkGlyph* results[]) { in prepareImages() 166 SkGlyph* glyph = this->glyph(SkPackedGlyphID{glyphID}); in prepareDrawables() 178 SkGlyph* glyph = this->glyph(SkPackedGlyphID{idOrPath.fGlyphID}); in glyphIDsToPaths() 187 SkGlyph* glyph = this->glyph(SkPackedGlyphID{idOrDrawable.fGlyphID}); in glyphIDsToDrawables() 243 SkGlyph* SkStrike::glyph(SkPackedGlyphID packedGlyphID) { in glyph() 248 SkGlyphDigest SkStrike::digestFor(ActionType actionType, SkPackedGlyphID packedGlyphID) { in digestFor() 303 SkGlyph* glyph = this->glyph(SkPackedGlyphID{glyphID}); in internalPrepare()
|
D | SkGlyphBuffer.cpp | 37 SkPackedGlyphID* packedIDCursor = fPackedGlyphIDs.get(); in startSource() 39 *packedIDCursor++ = SkPackedGlyphID{std::get<0>(t)}; in startSource() 49 : SkZip<SkPackedGlyphID, SkPoint>{ in dumpInput()
|
D | SkGlyph.cpp | 498 return {SkPackedGlyphID::kSubpixelRound, SK_ScalarHalf}; in HalfAxisSampleFreq() 500 return {SK_ScalarHalf, SkPackedGlyphID::kSubpixelRound}; in HalfAxisSampleFreq() 502 return {SkPackedGlyphID::kSubpixelRound, SkPackedGlyphID::kSubpixelRound}; in HalfAxisSampleFreq() 519 SkIPoint answer{ignoreMask.x() & SkPackedGlyphID::kXYFieldMask.x(), in IgnorePositionFieldMask() 520 ignoreMask.y() & SkPackedGlyphID::kXYFieldMask.y()}; in IgnorePositionFieldMask()
|
D | SkGlyphRunPainter.cpp | 58 const SkPackedGlyphID packedID{glyphID}; in prepare_for_path_drawing() 89 const SkPackedGlyphID packedID{glyphID}; in prepare_for_drawable_drawing() 129 const SkPackedGlyphID packedGlyphID = SkPackedGlyphID{glyphID, mappedPos, mask}; in prepare_for_direct_mask_drawing()
|
D | SkStrikeSpec.h | 168 SkSpan<const SkGlyph*> glyphs(SkSpan<const SkPackedGlyphID> packedIDs); 169 const SkGlyph* glyph(SkPackedGlyphID packedID);
|
D | SkStrikeSpec.cpp | 294 SkSpan<const SkGlyph*> SkBulkGlyphMetricsAndImages::glyphs(SkSpan<const SkPackedGlyphID> glyphIDs) { in glyphs() 299 const SkGlyph* SkBulkGlyphMetricsAndImages::glyph(SkPackedGlyphID packedID) { in glyph() 300 return this->glyphs(SkSpan<const SkPackedGlyphID>{&packedID, 1})[0]; in glyph()
|
D | SkChromeRemoteGlyphCache.cpp | 174 SkGlyphDigest digestFor(skglyph::ActionType, SkPackedGlyphID) override; 233 SkTHashMap<SkPackedGlyphID, SkGlyphDigest, SkPackedGlyphID::Hash> fSentGlyphs; 260 serializer->write<SkPackedGlyphID>(glyph.getPackedID()); in write_glyph() 376 SkGlyphDigest RemoteStrike::digestFor(ActionType actionType, SkPackedGlyphID packedGlyphID) { in digestFor() 849 SkPackedGlyphID glyphID; in ReadGlyph() 850 if (!deserializer->read<SkPackedGlyphID>(&glyphID)) return false; in ReadGlyph()
|
D | SkScalerContext.h | 289 SkGlyph makeGlyph(SkPackedGlyphID, SkArenaAlloc*); 437 SkGlyph internalMakeGlyph(SkPackedGlyphID, SkMask::Format, SkArenaAlloc*);
|
D | SkScalerContext.cpp | 182 SkGlyph SkScalerContext::makeGlyph(SkPackedGlyphID packedID, SkArenaAlloc* alloc) { in makeGlyph() 227 SkGlyph SkScalerContext::internalMakeGlyph(SkPackedGlyphID packedID, SkMask::Format format, SkArena… in internalMakeGlyph() 732 SkPackedGlyphID glyphID = glyph.getPackedID(); in internalGetPath()
|
/external/skia/tests/ |
D | SkGlyphBufferTest.cpp | 22 using PG = SkPackedGlyphID; in DEF_TEST() 39 SkPackedGlyphID packedID{3, roundedPos, mask}; in DEF_TEST() 42 SkPackedGlyphID correctID(3, subX, subY); in DEF_TEST() 56 SkPackedGlyphID packedID{3, roundedPos, mask}; in DEF_TEST() 59 SkPackedGlyphID correctID(3, subX, subY); in DEF_TEST() 73 SkPackedGlyphID packedID{3, roundedPos, mask}; in DEF_TEST() 76 SkPackedGlyphID correctID(3, subX, subY); in DEF_TEST() 95 SkPackedGlyphID packedID{3, roundedPos, mask}; in DEF_TEST() 98 SkPackedGlyphID correctID(3, subX, subY); in DEF_TEST()
|
D | GrGlyphVectorTest.cpp | 51 SkPackedGlyphID* glyphs = alloc.makePODArray<SkPackedGlyphID>(N); in DEF_TEST() 53 glyphs[i] = SkPackedGlyphID(SkGlyphID(i)); in DEF_TEST()
|
/external/skia/src/text/gpu/ |
D | StrikeCache.h | 28 Glyph* getGlyph(SkPackedGlyphID); 36 static const SkPackedGlyphID& GetKey(const Glyph* glyph); 37 static uint32_t Hash(SkPackedGlyphID key); 40 SkTHashTable<Glyph*, SkPackedGlyphID, HashTraits> fCache;
|
D | GlyphVector.h | 37 SkPackedGlyphID packedGlyphID; 41 Variant(SkPackedGlyphID id) : packedGlyphID{id} {} in Variant() 47 SkStrikePromise&& promise, SkSpan<SkPackedGlyphID> glyphs, SubRunAllocator* alloc); 84 static Variant* MakeGlyphs(SkSpan<SkPackedGlyphID> glyphs, SubRunAllocator* alloc);
|
D | StrikeCache.cpp | 46 Glyph* TextStrike::getGlyph(SkPackedGlyphID packedGlyphID) { in getGlyph() 55 const SkPackedGlyphID& TextStrike::HashTraits::GetKey(const Glyph* glyph) { in GetKey() 59 uint32_t TextStrike::HashTraits::Hash(SkPackedGlyphID key) { in Hash()
|
D | GlyphVector.cpp | 31 GlyphVector::MakeGlyphs(SkSpan<SkPackedGlyphID> glyphs, sktext::gpu::SubRunAllocator* alloc) { in MakeGlyphs() 40 SkStrikePromise&& promise, SkSpan<SkPackedGlyphID> glyphs, SubRunAllocator* alloc) { in Make() 75 variants[i].packedGlyphID = SkPackedGlyphID(buffer.readUInt()); in MakeFromBuffer()
|
D | Glyph.h | 37 Glyph(SkPackedGlyphID packedGlyphID) : fPackedID(packedGlyphID) {} in Glyph() 39 const SkPackedGlyphID fPackedID;
|
D | SubRunContainer.cpp | 151 const SkZip<SkPackedGlyphID, SkPoint>& accepted, in Make() argument 579 static PathOpSubmitter Make(const SkZip<SkPackedGlyphID, SkPoint>& accepted, 682 PathOpSubmitter PathOpSubmitter::Make(const SkZip<SkPackedGlyphID, SkPoint>& accepted, in Make() argument 773 static SubRunOwner Make(const SkZip<SkPackedGlyphID, SkPoint>& accepted, in Make() argument 862 static DrawableOpSubmitter Make(const SkZip<SkPackedGlyphID, SkPoint>& accepted, 939 DrawableOpSubmitter DrawableOpSubmitter::Make(const SkZip<SkPackedGlyphID, SkPoint>& accepted, in Make() argument 996 SubRunOwner make_drawable_sub_run(const SkZip<SkPackedGlyphID, SkPoint>& drawables, in make_drawable_sub_run() argument 1194 const SkZip<SkPackedGlyphID, SkPoint>& accepted, 1304 const SkZip<SkPackedGlyphID, SkPoint>& accepted, in Make() argument 1700 static SubRunOwner Make(const SkZip<SkPackedGlyphID, SkPoint>& accepted, in Make() argument [all …]
|
/external/skia/bench/ |
D | SkGlyphCacheBench.cpp | 30 SkPackedGlyphID glyphs['z']; in do_font_stuff() 32 glyphs[c] = SkPackedGlyphID{font->unicharToGlyph(c)}; in do_font_stuff() 35 SkSpan<const SkPackedGlyphID> glyphIDs{&glyphs[SkTo<int>(' ')], glyphCount}; in do_font_stuff()
|
/external/skia/src/text/ |
D | StrikeForGPU.h | 79 virtual SkGlyphDigest digestFor(skglyph::ActionType, SkPackedGlyphID) = 0;
|
/external/skia/include/private/chromium/ |
D | SkChromeRemoteGlyphCache.h | 18 struct SkPackedGlyphID;
|
/external/skia/tools/fonts/ |
D | RandomScalerContext.cpp | 41 SkTHashMap<SkPackedGlyphID, SkGlyph> fProxyGlyphs;
|
/external/skia/src/pdf/ |
D | SkPDFFont.cpp | 462 const SkGlyph* glyph = smallGlyphs->glyph(SkPackedGlyphID{gid}); in to_image()
|