Home
last modified time | relevance | path

Searched refs:SkMakeSpan (Results 1 – 25 of 45) sorted by relevance

12

/third_party/flutter/skia/tools/fonts/
Dcreate_test_font_color.cpp46 export_ttx(TestSVGTypeface::Default(), SkString(), SkMakeSpan(usual), SkMakeSpan(usual)); in main()
48 TestSVGTypeface::Planets(), SkString("planet"), SkMakeSpan(small), SkMakeSpan(usual)); in main()
Dcreate_test_font.cpp409 {"monospace", "Liberation Mono", "LiberationMono", SkMakeSpan(kMonoFonts)}, in main()
410 {"sans-serif", "Liberation Sans", "LiberationSans", SkMakeSpan(kSansFonts)}, in main()
411 {"serif", "Liberation Serif", "LiberationSerif", SkMakeSpan(kSerifFonts)}, in main()
414 static constexpr SkSpan<const FontFamilyDesc> kFamilies(SkMakeSpan(kFamiliesData)); in main()
/third_party/skia/tools/fonts/
Dcreate_test_font_color.cpp48 export_ttx(TestSVGTypeface::Default(), SkString(), SkMakeSpan(usual), SkMakeSpan(usual)); in main()
50 TestSVGTypeface::Planets(), SkString("planet"), SkMakeSpan(small), SkMakeSpan(usual)); in main()
Dcreate_test_font.cpp406 {"monospace", "Liberation Mono", "LiberationMono", SkMakeSpan(kMonoFonts)}, in main()
407 {"sans-serif", "Liberation Sans", "LiberationSans", SkMakeSpan(kSansFonts)}, in main()
408 {"serif", "Liberation Serif", "LiberationSerif", SkMakeSpan(kSerifFonts)}, in main()
411 static constexpr SkSpan<const FontFamilyDesc> kFamilies(SkMakeSpan(kFamiliesData)); in main()
/third_party/skia/src/core/
DSkGlyphRun.cpp186 return SkMakeSpan(buffer, glyphIDs.size()); in draw_text_positions()
236 positions = SkMakeSpan(positionCursor, runSize); in blobToGlyphRunList()
243 positions = SkMakeSpan(it.points(), runSize); in blobToGlyphRunList()
247 positions = SkMakeSpan(positionCursor, runSize); in blobToGlyphRunList()
248 scaledRotations = SkMakeSpan(scaledRotationsCursor, runSize); in blobToGlyphRunList()
249 for (const SkRSXform& xform : SkMakeSpan(it.xforms(), runSize)) { in blobToGlyphRunList()
273 auto positions = SkMakeSpan(fPositions.get(), count); in convertRSXForm()
274 auto scaledRotations = SkMakeSpan(fScaledRotations.get(), count); in convertRSXForm()
319 return SkMakeSpan(fScratchGlyphIDs); in textToGlyphIDs()
352 SkGlyphRunList{blob, bounds, origin, SkMakeSpan(fGlyphRunListStorage)}; in makeGlyphRunList()
DSkFont.cpp174 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, glyphCount)); in measureText()
212 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, count)); in getWidthsBounds()
233 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, count)); in getPos()
247 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, count)); in getXPos()
265 SkSpan<const SkGlyph*> glyphs = paths.glyphs(SkMakeSpan(glyphIDs, count)); in getPaths()
DSkRuntimeEffect.cpp653 SkMakeSpan(uniform), in Make()
815 SkMakeSpan(childFPs)); in make_effect_fp()
844 SkMakeSpan(fChildren), in asFragmentProcessor()
888 SkMakeSpan(uniform), /*device=*/zeroCoord, /*local=*/zeroCoord, in onProgram()
954 return effect->makeColorFilter(std::move(uniforms), SkMakeSpan(children)); in CreateProc()
990 SkMakeSpan(fChildren), in asFragmentProcessor()
1049 SkMakeSpan(uniform), device, local, paint, paint, sampleShader, in onProgram()
1111 return effect->makeShader(std::move(uniforms), SkMakeSpan(children), localMPtr, isOpaque); in CreateProc()
1161 SkMakeSpan(uniform), /*device=*/zeroCoord, /*local=*/zeroCoord, in onProgram()
1178 SkMakeSpan(fChildren), in asFragmentProcessor()
[all …]
DSkCanvas.cpp2330 SkMakeSpan(positions, count), in drawGlyphs()
2331 SkMakeSpan(glyphs, count), in drawGlyphs()
2332 SkMakeSpan(utf8text, textByteCount), in drawGlyphs()
2333 SkMakeSpan(clusters, count), in drawGlyphs()
2350 SkMakeSpan(positions, count), in drawGlyphs()
2351 SkMakeSpan(glyphs, count), in drawGlyphs()
2369 fScratchGlyphRunBuilder->convertRSXForm(SkMakeSpan(xforms, count)); in drawGlyphs()
2374 SkMakeSpan(glyphs, count), in drawGlyphs()
/third_party/skia/tests/
DUtilsTest.cpp182 auto s = SkMakeSpan(v); in DEF_TEST()
191 auto s = SkMakeSpan(v); in DEF_TEST()
201 auto s = SkMakeSpan(v); in DEF_TEST()
214 auto s = SkMakeSpan(v); in DEF_TEST()
224 auto s = SkMakeSpan(v); in DEF_TEST()
260 for (auto [i, v] : SkMakeEnumerate(SkMakeSpan(vec))) { in DEF_TEST()
267 auto e = SkMakeEnumerate(SkMakeSpan(vec)).first(2); in DEF_TEST()
275 auto e = SkMakeEnumerate(SkMakeSpan(vec)).last(2); in DEF_TEST()
283 auto e = SkMakeEnumerate(SkMakeSpan(vec)).subspan(1, 2); in DEF_TEST()
300 auto s = SkMakeSpan(is); in DEF_TEST()
[all …]
DSkShaperJSONWriterTest.cpp68 0, oneCase.utf8Len, SkMakeSpan(oneCase.clusters), checker); in DEF_TEST()
117 SkMakeSpan(oneCase.glyphIDs), in DEF_TEST()
118 SkMakeSpan(oneCase.clusters), in DEF_TEST()
/third_party/flutter/skia/tests/
DUtilsTest.cpp174 DEF_TEST(SkMakeSpan, reporter) { in DEF_TEST() argument
178 auto s = SkMakeSpan(v); in DEF_TEST()
187 auto s = SkMakeSpan(v); in DEF_TEST()
197 auto s = SkMakeSpan(v); in DEF_TEST()
206 auto s = SkMakeSpan(v); in DEF_TEST()
DSkShaperJSONWriterTest.cpp68 0, oneCase.utf8Len, SkMakeSpan(oneCase.clusters), checker); in DEF_TEST()
117 SkMakeSpan(oneCase.glyphIDs), in DEF_TEST()
118 SkMakeSpan(oneCase.clusters), in DEF_TEST()
/third_party/flutter/skia/src/core/
DSkSpan.h49 inline constexpr SkSpan<T> SkMakeSpan(T* p, S s) { return SkSpan<T>{p, SkTo<size_t>(s)}; } in SkMakeSpan() function
52 inline constexpr SkSpan<T> SkMakeSpan(T(&a)[N]) { return SkSpan<T>{a, N}; } in SkMakeSpan() function
55 inline auto SkMakeSpan(Container& c)
DSkFont.cpp227 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, glyphCount)); in measureText()
266 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, count)); in getWidthsBounds()
289 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, count)); in getPos()
303 SkSpan<const SkGlyph*> glyphs = metrics.glyphs(SkMakeSpan(glyphIDs, count)); in getXPos()
321 SkSpan<const SkGlyph*> glyphs = paths.glyphs(SkMakeSpan(glyphIDs, count)); in getPaths()
DSkGlyphRun.cpp296 return SkMakeSpan(fScratchGlyphIDs); in textToGlyphIDs()
328 paint, blob, origin, SkMakeSpan(fGlyphRunListStorage)}; in makeGlyphRunList()
/third_party/skia/include/core/
DSkSpan.h75 template <typename T, typename S> inline constexpr SkSpan<T> SkMakeSpan(T* p, S s) { in SkMakeSpan() function
79 template <size_t N, typename T> inline constexpr SkSpan<T> SkMakeSpan(T (&a)[N]) { in SkMakeSpan() function
84 inline auto SkMakeSpan(Container& c)
/third_party/skia/include/sksl/
DDSLType.h157 return Construct(type, SkMakeSpan(argArray)); in Construct()
163 return Construct(type, SkMakeSpan(argArray)); in Construct()
252 return Struct(name, SkMakeSpan(fieldTypes), PositionInfo()); in Struct()
/third_party/skia/src/gpu/gradients/
DGrGradientShader.cpp123 "scale", SkMakeSpan(scale), in make_dual_interval_colorizer()
124 "bias", SkMakeSpan(bias), in make_dual_interval_colorizer()
238 "scale", SkMakeSpan(scale, intervalCount), in make_unrolled_colorizer()
239 "bias", SkMakeSpan(bias, intervalCount)); in make_unrolled_colorizer()
328 "thresholds", SkMakeSpan((const SkV4*)thresholds, intervalChunks), in make_looping_colorizer()
329 "scale", SkMakeSpan(scale, intervalCount), in make_looping_colorizer()
330 "bias", SkMakeSpan(bias, intervalCount)); in make_looping_colorizer()
/third_party/skia/src/pdf/
DSkPDFMakeCIDGlyphWidthsArray.cpp114 auto glyphs = paths.glyphs(SkMakeSpan(glyphIDs)); in SkPDFMakeCIDGlyphWidthsArray()
123 int16_t modeAdvance = findMode(SkMakeSpan(advances)); in SkPDFMakeCIDGlyphWidthsArray()
/third_party/skia/src/gpu/
DGrRenderTask.h80 SkSpan<GrRenderTask*> dependencies() { return SkMakeSpan(fDependencies); } in dependencies()
81 SkSpan<GrRenderTask*> dependents() { return SkMakeSpan(fDependents); } in dependents()
DGrDrawingManager.cpp177 onFlushCBObject->preFlush(&onFlushProvider, SkMakeSpan(fFlushingRenderTaskIDs)); in flush()
246 SkMakeSpan(fFlushingRenderTaskIDs)); in flush()
408 bool clustered = GrClusterRenderTasks(SkMakeSpan(fDAG), &llist); in reorderTasks()
/third_party/skia/src/utils/
DSkShaperJSONWriter.cpp103 SkMakeSpan(fGlyphs), in commitRunBuffer()
104 SkMakeSpan(fClusters), in commitRunBuffer()
/third_party/flutter/skia/src/utils/
DSkShaperJSONWriter.cpp103 SkMakeSpan(fGlyphs), in commitRunBuffer()
104 SkMakeSpan(fClusters), in commitRunBuffer()
/third_party/skia/gm/
Ddrawglyphs.cpp35 auto positions = SkMakeSpan(fPositions.begin(), fGlyphCount); in onOnceBeforeDraw()
/third_party/skia/include/effects/
DSkRuntimeEffect.h217 SkSpan<const Uniform> uniforms() const { return SkMakeSpan(fUniforms); } in uniforms()
218 SkSpan<const Child> children() const { return SkMakeSpan(fChildren); } in children()

12