/external/skqp/src/core/ |
D | SkGlyphRun.h | 29 SkSpan<const SkPoint> positions, 30 SkSpan<const SkGlyphID> glyphIDs, 31 SkSpan<const char> text, 32 SkSpan<const uint32_t> clusters); 38 SkSpan<const SkPoint> positions() const { return fPositions.toConst(); } in positions() 39 SkSpan<const SkGlyphID> glyphsIDs() const { return fGlyphIDs; } in glyphsIDs() 41 SkSpan<const uint32_t> clusters() const { return fClusters; } in clusters() 42 SkSpan<const char> text() const { return fText; } in text() 46 const SkSpan<const SkPoint> fPositions; 48 const SkSpan<const SkGlyphID> fGlyphIDs; [all …]
|
D | SkGlyphRun.cpp | 23 SkSpan<const SkPoint> positions, in SkGlyphRun() 24 SkSpan<const SkGlyphID> glyphIDs, in SkGlyphRun() 25 SkSpan<const char> text, in SkGlyphRun() 26 SkSpan<const uint32_t> clusters) in SkGlyphRun() 51 SkSpan<const SkGlyphRun> glyphRunList) in SkGlyphRunList() 61 , fGlyphRuns{SkSpan<const SkGlyphRun>{&glyphRun, 1}} {} 109 SkSpan<const SkGlyphID> SkGlyphIDSet::uniquifyGlyphIDs( in uniquifyGlyphIDs() 111 SkSpan<const SkGlyphID> glyphIDs, in uniquifyGlyphIDs() 159 return SkSpan<const SkGlyphID>(uniqueGlyphIDs, uniqueSize); in uniquifyGlyphIDs() 192 auto text = SkSpan<const char>(it.text(), it.textSize()); in drawTextBlob() [all …]
|
D | SkSpan.h | 15 class SkSpan { 18 constexpr SkSpan(T(&t)[N]) : fPtr(t), fSize(N) {} in SkSpan() function 19 constexpr SkSpan() : fPtr{nullptr}, fSize{0} {} in SkSpan() function 20 constexpr SkSpan(T* ptr, size_t size) : fPtr{ptr}, fSize{size} {} in SkSpan() function 22 constexpr explicit SkSpan(std::vector<U>& v) : fPtr{v.data()}, fSize{v.size()} {} in SkSpan() function 23 constexpr SkSpan(const SkSpan& o) = default; 24 constexpr SkSpan& operator=( const SkSpan& other ) = default; 34 constexpr SkSpan<const T> toConst() const { return SkSpan<const T>{fPtr, fSize}; } in toConst()
|
D | SkGlyphRunPainter.h | 70 virtual void paintPaths(SkSpan<const PathAndPos> pathsAndPositions, 74 virtual void paintMasks(SkSpan<const SkMask> masks, const SkPaint& paint) const = 0; 92 SkSpan<const SkGlyphID> fallbackGlyphIDs, // Colored glyphs 93 SkSpan<const SkPoint> fallbackPositions, // Positions of above glyphs
|
D | SkGlyphRunPainter.cpp | 203 SkSpan<const PathAndPos>{pathsAndPositions.begin(), pathsAndPositions.size()}, in drawForBitmapDevice() 230 bitmapDevice->paintMasks(SkSpan<const SkMask>{masks.begin(), masks.size()}, runPaint); in drawForBitmapDevice() 271 auto glyphIDs = SkSpan<const SkGlyphID>{fARGBGlyphsIDs}; in processARGBFallback() 285 auto positions = SkSpan<const SkPoint>{fARGBPositions}; in processARGBFallback() 321 auto positions = SkSpan<const SkPoint>{fARGBPositions}; in processARGBFallback() 421 processEmpties(SkSpan<const SkGlyph*>{emptyGlyphs.data(), emptyGlyphs.size()}); in drawGlyphRunAsBMPWithPathFallback() 425 processMasks(SkSpan<const GlyphAndPos>{fMasks, SkTo<size_t>(glyphCount)}); in drawGlyphRunAsBMPWithPathFallback() 428 processPaths(SkSpan<const GlyphAndPos>{fPaths}); in drawGlyphRunAsBMPWithPathFallback() 697 SkSpan<const SkGlyphID> glyphIDs, in generateFromGlyphRunList() 698 SkSpan<const SkPoint> positions, SkScalar textScale, in generateFromGlyphRunList() [all …]
|
/external/skia/src/core/ |
D | SkGlyphRun.h | 32 SkSpan<const SkPoint> positions, 33 SkSpan<const SkGlyphID> glyphIDs, 34 SkSpan<const char> text, 35 SkSpan<const uint32_t> clusters, 36 SkSpan<const SkVector> scaledRotations); 41 SkSpan<const SkPoint> positions() const { return fSource.get<1>(); } in positions() 42 SkSpan<const SkGlyphID> glyphsIDs() const { return fSource.get<0>(); } in glyphsIDs() 45 SkSpan<const uint32_t> clusters() const { return fClusters; } in clusters() 46 SkSpan<const char> text() const { return fText; } in text() 47 SkSpan<const SkVector> scaledRotations() const { return fScaledRotations; } in scaledRotations() [all …]
|
D | SkGlyphRun.cpp | 25 SkSpan<const SkPoint> positions, in SkGlyphRun() 26 SkSpan<const SkGlyphID> glyphIDs, in SkGlyphRun() 27 SkSpan<const char> text, in SkGlyphRun() 28 SkSpan<const uint32_t> clusters, in SkGlyphRun() 29 SkSpan<const SkVector> scaledRotations) in SkGlyphRun() 51 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(this->glyphsIDs()); in sourceBounds() 113 SkSpan<const SkGlyphRun> glyphRunList) in SkGlyphRunList() 120 : fGlyphRuns{SkSpan<const SkGlyphRun>{&glyphRun, 1}} in SkGlyphRunList() 175 static SkSpan<const SkPoint> draw_text_positions( in draw_text_positions() 176 const SkFont& font, SkSpan<const SkGlyphID> glyphIDs, SkPoint origin, SkPoint* buffer) { in draw_text_positions() [all …]
|
D | SkScalerCache.h | 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( 90 SkSpan<const SkPackedGlyphID> glyphIDs, const SkGlyph* results[]) SK_EXCLUDES(fMu); 138 std::tuple<SkSpan<const SkGlyph*>, size_t> internalPrepare( 139 SkSpan<const SkGlyphID> glyphIDs,
|
D | SkStrikeSpec.h | 113 SkSpan<const SkGlyph*> glyphs(SkSpan<const SkGlyphID> glyphIDs); 126 SkSpan<const SkGlyph*> glyphs(SkSpan<const SkGlyphID> glyphIDs); 141 SkSpan<const SkGlyph*> glyphs(SkSpan<const SkPackedGlyphID> packedIDs);
|
D | SkStrikeSpec.cpp | 225 SkSpan<const SkGlyph*> SkBulkGlyphMetrics::glyphs(SkSpan<const SkGlyphID> glyphIDs) { in glyphs() 231 return this->glyphs(SkSpan<const SkGlyphID>{&glyphID, 1})[0]; in glyph() 240 SkSpan<const SkGlyph*> SkBulkGlyphMetricsAndPaths::glyphs(SkSpan<const SkGlyphID> glyphIDs) { in glyphs() 246 return this->glyphs(SkSpan<const SkGlyphID>{&glyphID, 1})[0]; in glyph() 263 SkSpan<const SkGlyph*> SkBulkGlyphMetricsAndImages::glyphs(SkSpan<const SkPackedGlyphID> glyphIDs) { in glyphs() 269 return this->glyphs(SkSpan<const SkPackedGlyphID>{&packedID, 1})[0]; in glyph()
|
D | SkScalerCache.cpp | 89 std::tuple<SkSpan<const SkGlyph*>, size_t> SkScalerCache::internalPrepare( in internalPrepare() 90 SkSpan<const SkGlyphID> glyphIDs, PathDetail pathDetail, const SkGlyph** results) { in internalPrepare() 133 std::tuple<SkSpan<const SkGlyph*>, size_t> SkScalerCache::metrics( in metrics() 134 SkSpan<const SkGlyphID> glyphIDs, const SkGlyph* results[]) { in metrics() 140 std::tuple<SkSpan<const SkGlyph*>, size_t> SkScalerCache::preparePaths( in preparePaths() 141 SkSpan<const SkGlyphID> glyphIDs, const SkGlyph* results[]) { in preparePaths() 147 std::tuple<SkSpan<const SkGlyph*>, size_t> SkScalerCache::prepareImages( in prepareImages() 148 SkSpan<const SkPackedGlyphID> glyphIDs, const SkGlyph* results[]) { in prepareImages()
|
D | SkStrikeCache.h | 77 SkSpan<const SkGlyph*> metrics(SkSpan<const SkGlyphID> glyphIDs, in metrics() 84 SkSpan<const SkGlyph*> preparePaths(SkSpan<const SkGlyphID> glyphIDs, in preparePaths() 91 SkSpan<const SkGlyph*> prepareImages(SkSpan<const SkPackedGlyphID> glyphIDs, in prepareImages()
|
/external/skia/include/core/ |
D | SkSpan.h | 26 class SkSpan { 28 constexpr SkSpan() : fPtr{nullptr}, fSize{0} {} in SkSpan() function 29 constexpr SkSpan(T* ptr, size_t size) : fPtr{ptr}, fSize{size} {} in SkSpan() function 31 constexpr SkSpan(const SkSpan<U>& that) : fPtr(that.data()), fSize{that.size()} {} in SkSpan() function 32 constexpr SkSpan(const SkSpan& o) = default; 34 constexpr SkSpan& operator=(const SkSpan& that) { 53 constexpr SkSpan<T> first(size_t prefixLen) const { in first() 55 return SkSpan{fPtr, prefixLen}; in first() 57 constexpr SkSpan<T> last(size_t postfixLen) const { in last() 59 return SkSpan{fPtr + (this->size() - postfixLen), postfixLen}; in last() [all …]
|
/external/skia/modules/skparagraph/src/ |
D | ParagraphImpl.h | 60 template <typename T> bool operator==(const SkSpan<T>& a, const SkSpan<T>& b) { 64 template <typename T> bool operator<=(const SkSpan<T>& a, const SkSpan<T>& b) { 132 SkSpan<const char> text() const { return SkSpan<const char>(fText.c_str(), fText.size()); } 134 SkSpan<Run> runs() { return SkSpan<Run>(fRuns.data(), fRuns.size()); } 135 SkSpan<Block> styles() { 136 return SkSpan<Block>(fTextStyles.data(), fTextStyles.size()); 138 SkSpan<Placeholder> placeholders() { 139 return SkSpan<Placeholder>(fPlaceholders.data(), fPlaceholders.size()); 141 SkSpan<TextLine> lines() { return SkSpan<TextLine>(fLines.data(), fLines.size()); } 143 SkSpan<Cluster> clusters() { return SkSpan<Cluster>(fClusters.begin(), fClusters.size()); } [all …]
|
D | Iterators.h | 16 LangIterator(SkSpan<const char> utf8, SkSpan<Block> styles, const TextStyle& defaultStyle) in LangIterator() 46 SkSpan<const char> fText; 47 SkSpan<Block> fTextStyles;
|
D | Run.h | 144 SkSpan<const SkGlyphID> glyphs() const { in glyphs() 145 return SkSpan<const SkGlyphID>(fGlyphs.begin(), fGlyphs.size()); in glyphs() 147 SkSpan<const SkPoint> positions() const { in positions() 148 return SkSpan<const SkPoint>(fPositions.begin(), fPositions.size()); in positions() 150 SkSpan<const uint32_t> clusterIndexes() const { in clusterIndexes() 151 return SkSpan<const uint32_t>(fClusterIndexes.begin(), fClusterIndexes.size()); in clusterIndexes() 153 …SkSpan<const SkScalar> shifts() const { return SkSpan<const SkScalar>(fShifts.begin(), fShifts.siz… in shifts() 276 SkSpan<const char> text,
|
/external/skia/src/utils/ |
D | SkShaperJSONWriter.h | 41 SkSpan<const uint32_t> clusters, 46 std::function<void(size_t, SkSpan<const char>, SkSpan<const SkGlyphID>)>; 51 SkSpan<const SkGlyphID> glyphIDs, 52 SkSpan<const uint32_t> clusters, 57 SkSpan<const char> utf8, 58 SkSpan<const SkGlyphID> glyphIDs);
|
D | SkShaperJSONWriter.cpp | 105 [this](size_t codePointCount, SkSpan<const char> utf1to1, in commitRunBuffer() 106 SkSpan<const SkGlyphID> glyph1to1) { in commitRunBuffer() 131 SkSpan<const uint32_t> clusters, in BreakupClusters() 169 SkSpan<const SkGlyphID> glyphIDs, in VisualizeClusters() 170 SkSpan<const uint32_t> clusters, in VisualizeClusters() 186 SkSpan<const char> utf8Span{&utf8[utf8RangeStart], utf8RangeEnd - utf8RangeStart}; in VisualizeClusters() 187 SkSpan<const SkGlyphID> glyphSpan{&glyphIDs[glyphRangeStart], glyphRangeCount}; in VisualizeClusters() 208 SkSpan<const char> utf8Span{&utf8[utf8StartIndex], utf8EndIndex - utf8StartIndex}; in VisualizeClusters() 209 SkSpan<const SkGlyphID> glyphSpan{&glyphIDs[glyphStartIndex], in VisualizeClusters() 222 SkSpan<const char> utf8, in displayMToN() [all …]
|
/external/skia/src/sksl/ir/ |
D | SkSLConstructor.h | 25 virtual SkSpan<std::unique_ptr<Expression>> argumentSpan() = 0; 26 virtual SkSpan<const std::unique_ptr<Expression>> argumentSpan() const = 0; 99 SkSpan<std::unique_ptr<Expression>> argumentSpan() final { in argumentSpan() 103 SkSpan<const std::unique_ptr<Expression>> argumentSpan() const final { in argumentSpan() 139 SkSpan<std::unique_ptr<Expression>> argumentSpan() final { in argumentSpan() 143 SkSpan<const std::unique_ptr<Expression>> argumentSpan() const final { in argumentSpan()
|
/external/skia/tools/fonts/ |
D | create_test_font_color.cpp | 19 SkSpan<unsigned> cbdtStrikeSizes, in export_ttx() 20 SkSpan<unsigned> sbixStrikeSizes) { in export_ttx()
|
D | TestSVGTypeface.h | 55 SkSpan<const SkSVGTestTypefaceGlyphData> data, 63 void exportTtxCbdt(SkWStream*, SkSpan<unsigned> strikeSizes) const; 64 void exportTtxSbix(SkWStream*, SkSpan<unsigned> strikeSizes) const;
|
/external/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 170 SkSpan<PathGlyph> paths, 198 const SkSpan<const PathGlyph> fPaths; 205 SkSpan<PathGlyph> paths, in PathSubRun() 282 SkSpan<PathGlyph> paths{pathData.get(), drawables.size()}; in Make() 309 GlyphVector(const SkStrikeSpec& spec, SkSpan<Variant> glyphs); 312 const SkStrikeSpec& spec, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc); 313 SkSpan<const GrGlyph*> glyphs() const; 332 SkSpan<Variant> fGlyphs; 338 GlyphVector::GlyphVector(const SkStrikeSpec& spec, SkSpan<Variant> glyphs) in GlyphVector() 343 const SkStrikeSpec &spec, SkSpan<SkGlyphVariant> glyphs, GrSubRunAllocator* alloc) { in Make() [all …]
|
/external/skia/src/gpu/ccpr/ |
D | GrCoverageCountingPathRenderer.h | 60 void preFlush(GrOnFlushResourceProvider*, SkSpan<const uint32_t> taskIDs) override; 61 void postFlush(GrDeferredUploadToken, SkSpan<const uint32_t> taskIDs) override;
|
/external/skia/src/sksl/codegen/ |
D | SkSLVMCodeGenerator.h | 29 SkSpan<skvm::Val> uniforms, 57 SkSpan<skvm::Val> uniforms,
|
/external/skia/experimental/ddlbench/ |
D | ddlbench.cpp | 136 explicit GrThreadPool(SkSpan<ThreadInfo> threadInfo) { in GrThreadPool() 206 explicit GrTaskGroup(SkSpan<ThreadInfo> threadInfo) in GrTaskGroup() 244 SkSpan<ThreadInfo> utilityThreads) { in create_contexts() 357 SkSpan<ThreadInfo>(utilityContexts.get(), FLAGS_numRecordingThreads))) { in main() 399 GrTaskGroup gpuTaskGroup(SkSpan<ThreadInfo>(mainContext.get(), 1)); in main() 400 GrTaskGroup recordingTaskGroup(SkSpan<ThreadInfo>(utilityContexts.get(), in main()
|