Home
last modified time | relevance | path

Searched refs:Cluster (Results 1 – 25 of 56) sorted by relevance

123

/third_party/skia/modules/skparagraph/src/
DTextWrapper.h19 ClusterPos(Cluster* cluster, size_t pos) : fCluster(cluster), fPos(pos) {} in ClusterPos()
20 inline Cluster* cluster() const { return fCluster; } in cluster()
33 Cluster* fCluster;
39 TextStretch(Cluster* s, Cluster* e, bool forceStrut) in TextStretch()
54 inline Cluster* startCluster() const { return fStart.cluster(); } in startCluster()
55 inline Cluster* endCluster() const { return fEnd.cluster(); } in endCluster()
56 inline Cluster* breakCluster() const { return fBreak.cluster(); } in breakCluster()
78 void extend(Cluster* cluster) { in extend()
92 void extend(Cluster* cluster, size_t pos) { in extend()
99 void startFrom(Cluster* cluster, size_t pos) { in startFrom()
[all …]
DRun.cpp193 void Run::addSpacesAtTheEnd(SkScalar space, Cluster* cluster) { in addSpacesAtTheEnd()
218 SkScalar Run::addSpacesEvenly(SkScalar space, Cluster* cluster) { in addSpacesEvenly()
245 void Run::shift(const Cluster* cluster, SkScalar offset) { in shift()
317 SkScalar Cluster::sizeToChar(TextIndex ch) const { in sizeToChar()
327 SkScalar Cluster::sizeFromChar(TextIndex ch) const { in sizeFromChar()
337 size_t Cluster::roundPos(SkScalar s) const { in roundPos()
342 SkScalar Cluster::trimmedWidth(size_t pos) const { in trimmedWidth()
371 Run* Cluster::runOrNull() const { in runOrNull()
378 Run& Cluster::run() const { in run()
384 SkFont Cluster::font() const { in font()
[all …]
DRun.h28 class Cluster; variable
136 void addSpacesAtTheEnd(SkScalar space, Cluster* cluster);
137 SkScalar addSpacesEvenly(SkScalar space, Cluster* cluster);
139 void shift(const Cluster* cluster, SkScalar offset);
159 using ClusterVisitor = std::function<void(Cluster* cluster)>;
310 class Cluster {
319 Cluster() in Cluster() function
330 Cluster(ParagraphImpl* owner,
338 Cluster(TextRange textRange) : fTextRange(textRange), fGraphemeRange(EMPTY_RANGE) { } in Cluster() function
340 Cluster(const Cluster&) = default;
[all …]
DParagraphImpl.h150 SkSpan<Cluster> clusters() { return SkSpan<Cluster>(fClusters.begin(), fClusters.size()); } in clusters()
177 SkSpan<Cluster> clusters(ClusterRange clusterRange);
178 Cluster& cluster(ClusterIndex clusterIndex);
322 …SkTArray<Cluster, true> fClusters; // kClusterized (cached: text, word spacing, letter spacing, r…
DTextLine.h102 using ClustersVisitor = std::function<bool(const Cluster* cluster, bool ghost)>;
147 std::unique_ptr<Run> shapeEllipsis(const SkString& ellipsis, const Cluster* cluster);
184 void shiftCluster(const Cluster* cluster, SkScalar shift, SkScalar prevShift);
DTextWrapper.cpp56 void TextWrapper::lookAhead(SkScalar maxWidth, Cluster* endOfClusters, bool applyRoundingHack, Word… in lookAhead()
67 Cluster* nextNonBreakingSpace = nullptr; in lookAhead()
261 std::tuple<Cluster*, size_t, SkScalar> TextWrapper::trimStartSpaces(Cluster* endOfClusters) { in moveForward()
639 Cluster* startLine; in moveForward()
DParagraphImpl.cpp657 Cluster::Cluster(ParagraphImpl* owner, in GetLineFontMetrics() function in skia::textlayout::Cluster
742 run.iterateThroughClusters([this, &run, &shift, &style](Cluster* cluster) { in GetLineFontMetrics()
763 Cluster* lastSpaceCluster = nullptr; in GetLineFontMetrics()
764 …s, &run, &shift, &soFarWhitespacesOnly, &wordSpacingPending, &lastSpaceCluster](Cluster* cluster) { in GetLineFontMetrics()
1284 SkSpan<Cluster> ParagraphImpl::clusters(ClusterRange clusterRange) { in GetLineFontMetrics()
1287 return SkSpan<Cluster>(&fClusters[clusterRange.start], clusterRange.width()); in GetLineFontMetrics()
1290 Cluster& ParagraphImpl::cluster(ClusterIndex clusterIndex) { in GetLineFontMetrics()
DTextLine.cpp613 [&whitespacePatches, &textLen, &whitespacePatch](const Cluster* cluster, bool ghost) { in justify()
637 this->iterateThroughClustersInGlyphsOrder(false, true, [&](const Cluster* cluster, bool ghost) { in justify()
667 void TextLine::shiftCluster(const Cluster* cluster, SkScalar shift, SkScalar prevShift) { in shiftCluster()
821 std::unique_ptr<Run> TextLine::shapeEllipsis(const SkString& ellipsis, const Cluster* cluster) { in shapeEllipsis()
1012 Cluster* start = &fOwner->cluster(fOwner->clusterIndex(textRange.start)); in shapeEllipsis()
1013Cluster* end = &fOwner->cluster(fOwner->clusterIndex(textRange.end - (textRange.width() == 0 ? 0 :… in shapeEllipsis()
1111 directional_for_each(trailed, reversed != run.leftToRight(), [&](Cluster& cluster) { in shapeEllipsis()
/third_party/skia/src/pdf/
DSkClusterator.cpp42 SkClusterator::Cluster SkClusterator::next() { in next()
44 return Cluster{nullptr, 0, 0, 0}; in next()
47 return Cluster{nullptr, 0, fCurrentGlyphIndex++, 1}; in next()
63 return Cluster{fUtf8Text + cluster, clusterLen, clusterGlyphIndex, clusterGlyphCount}; in next()
DSkClusterator.h22 struct Cluster { struct
28 bool operator==(const SkClusterator::Cluster& o) { argument
35 Cluster next();
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_HUAWEI_cluster_culling_shader/
Dclusterculling.adoc6 = Cluster Culling Shading
18 == Cluster Culling Shader Input
25 == Cluster Culling Shader Output
35 Cluster culling shaders have the following built-in output variables:
62 == Cluster Culling Shader Cluster Ordering
79 // Cluster Culling Shader sample code:
110 == Cluster Culling Shader Primitive Ordering
Ddrawing.adoc6 == Programmable Cluster Culling Shading
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_HUAWEI_cluster_culling_shader.adoc23 === Cluster culling shader
24 This extension allowing application to use a new programmable shader type -- Cluster Culling Shader…
51 …d by a queue, it will produce work which executes according to the bound Cluster Culling Shader pi…
53 To Record a Cluster Culling Shader command:
68 To record an indirect Cluster Culling Shader command:
121 To query whether Cluster Culling Shader support per-cluster shading rate, include a `VkPhysicalDevi…
166 * `ClusterIdHUAWEI` is the index of cluster being rendered by this drawing command. Cluster Culling…
167 …lusterShadingRate` is enabled, ClusterShadingRateHUAWEI is settable from Cluster Culling Shader wh…
172 Any invocation in Cluster Culling Shader can execute this instruction more than once, after executi…
/third_party/skia/site/docs/dev/testing/
D_index.md19 Cluster Telemetry is a powerful framework that helps us capture and benchmark
Dskiaperf.md21 <img src=../Cluster.png style="margin-left:30px" align="left" width="400"/> <br clear="left">
/third_party/skia/infra/bots/recipe_modules/
DREADME.md10 * ct - Shared Cluster Telemetry utilities.
/third_party/skia/tests/
DPDFPrimitivesTest.cpp409 SkClusterator::Cluster expectations[] = { in DEF_TEST()
432 SkClusterator::Cluster expectations[] = { in DEF_TEST()
/third_party/skia/third_party/externals/icu/source/data/brkitr/rules/
Dchar.txt10 # These rules are based on the Extended Grapheme Cluster rules from
/third_party/icu/icu4c/source/data/brkitr/rules/
Dchar.txt10 # These rules are based on the Extended Grapheme Cluster rules from
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DScheduleDAG.h74 Cluster ///< Weak DAG edge linking a chain of clustered instrs. enumerator
207 return getKind() == Order && Contents.OrdKind == Cluster; in isCluster()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMacroFusion.cpp71 if (!DAG.addEdge(&SecondSU, SDep(&FirstSU, SDep::Cluster))) in fuseInstructionPair()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGSDNodes.cpp226 bool Cluster = false; in ClusterNeighboringLoads() local
254 Cluster = true; in ClusterNeighboringLoads()
259 if (!Cluster) in ClusterNeighboringLoads()
/third_party/cups-filters/utils/
Dcups-browsed.conf.in608 # This is done by the "Cluster" directive:
610 # Cluster <QUEUENAME>: <EXPRESSION1> <EXPRESSION2> ...
611 # Cluster <QUEUENAME>
658 # Cluster laserprinter
663 # Cluster LJ4050: HP_LaserJet_4050
669 # Cluster hrdep: oldlaser_@_hr-server1 newlaser_@_hr-server2
/third_party/skia/infra/bots/
DREADME.md95 Helpers for running Skia tasks in Cluster Telemetry.
/third_party/ffmpeg/libavfilter/
Dvf_minterpolate.c134 typedef struct Cluster { struct
137 } Cluster; argument
178 Cluster clusters[NB_CLUSTERS];
648 Cluster *cluster, *cluster_new; in cluster_mvs()

123