/third_party/skia/src/core/ |
D | SkAlphaRuns.cpp | 16 sk_memset16((uint16_t*)fRuns, (uint16_t)(-42), width); in reset() 18 fRuns[0] = SkToS16(width); in reset() 19 fRuns[width] = 0; in reset() 30 const int16_t* runs = fRuns; in assertValid() 41 const int16_t* runs = fRuns; in dump() 62 const int16_t* runs = fRuns; in validate()
|
D | SkScan_AAAPath.cpp | 326 SkAlphaRuns fRuns; member in RunBasedAdditiveBlitter 341 fRuns.fRuns = reinterpret_cast<int16_t*>(reinterpret_cast<uint8_t*>(fRunsBuffer) + in advanceRuns() 343 fRuns.fAlpha = reinterpret_cast<SkAlpha*>(fRuns.fRuns + fWidth + 1); in advanceRuns() 344 fRuns.reset(fWidth); in advanceRuns() 353 for (int x = 0; fRuns.fRuns[x]; x += fRuns.fRuns[x]) { in flush() 355 fRuns.fAlpha[x] = snapAlpha(fRuns.fAlpha[x]); in flush() 357 if (!fRuns.empty()) { in flush() 359 fRealBlitter->blitAntiH(fLeft, fCurrY, fRuns.fAlpha, fRuns.fRuns); in flush() 425 fOffsetX = fRuns.add(x, 0, len, 0, 0, fOffsetX); // Break the run in blitAntiH() 426 for (int i = 0; i < len; i += fRuns.fRuns[x + i]) { in blitAntiH() [all …]
|
D | SkAntiRun.h | 21 int16_t* fRuns; 33 SkASSERT(fRuns[0] > 0); in empty() 34 return fAlpha[0] == 0 && fRuns[fRuns[0]] == 0; in empty() 58 SkASSERT(fRuns[offsetX] >= 0); in add() 60 int16_t* runs = fRuns + offsetX; in add()
|
D | SkScan_AntiPath.cpp | 132 SkAlphaRuns fRuns; member in SuperBlitter 143 fRuns.fRuns = reinterpret_cast<int16_t*>( in advanceRuns() 145 fRuns.fAlpha = reinterpret_cast<SkAlpha*>(fRuns.fRuns + fWidth + 1); in advanceRuns() 146 fRuns.reset(fWidth); in advanceRuns() 169 if (!fRuns.empty()) { in flush() 171 fRealBlitter->blitAntiH(fLeft, fCurrIY, fRuns.fAlpha, fRuns.fRuns); in flush() 249 fOffsetX = fRuns.add(x >> SHIFT, coverage_to_partial_alpha(fb), in blitH() 255 fRuns.assertValid(y & MASK, (1 << (8 - SHIFT))); in blitH() 266 int16_t* run = runs.fRuns; 382 fRuns.reset(fWidth); in blitRect()
|
D | SkRegion.cpp | 1371 fRuns = nullptr; in reset() 1373 fRuns = rgn.fRunHead->readonly_runs(); in reset() 1374 fRect.setLTRB(fRuns[3], fRuns[0], fRuns[4], fRuns[1]); in reset() 1375 fRuns += 5; in reset() 1386 if (fRuns == nullptr) { // rect case in next() 1391 const RunType* runs = fRuns; in next() 1418 fRuns = runs; in next() 1478 fRuns = nullptr; // means we're a rect, not a rgn in Spanerator() 1494 fRuns = runs; in Spanerator() 1509 if (fRuns == nullptr) { // we're a rect in next() [all …]
|
/third_party/flutter/skia/src/core/ |
D | SkAlphaRuns.cpp | 16 sk_memset16((uint16_t*)fRuns, (uint16_t)(-42), width); in reset() 18 fRuns[0] = SkToS16(width); in reset() 19 fRuns[width] = 0; in reset() 30 const int16_t* runs = fRuns; in assertValid() 41 const int16_t* runs = fRuns; in dump() 62 const int16_t* runs = fRuns; in validate()
|
D | SkScan_AAAPath.cpp | 327 SkAlphaRuns fRuns; member in RunBasedAdditiveBlitter 342 fRuns.fRuns = reinterpret_cast<int16_t*>(reinterpret_cast<uint8_t*>(fRunsBuffer) + in advanceRuns() 344 fRuns.fAlpha = reinterpret_cast<SkAlpha*>(fRuns.fRuns + fWidth + 1); in advanceRuns() 345 fRuns.reset(fWidth); in advanceRuns() 354 for (int x = 0; fRuns.fRuns[x]; x += fRuns.fRuns[x]) { in flush() 356 fRuns.fAlpha[x] = snapAlpha(fRuns.fAlpha[x]); in flush() 358 if (!fRuns.empty()) { in flush() 360 fRealBlitter->blitAntiH(fLeft, fCurrY, fRuns.fAlpha, fRuns.fRuns); in flush() 426 fOffsetX = fRuns.add(x, 0, len, 0, 0, fOffsetX); // Break the run in blitAntiH() 427 for (int i = 0; i < len; i += fRuns.fRuns[x + i]) { in blitAntiH() [all …]
|
D | SkAntiRun.h | 21 int16_t* fRuns; 33 SkASSERT(fRuns[0] > 0); in empty() 34 return fAlpha[0] == 0 && fRuns[fRuns[0]] == 0; in empty() 58 SkASSERT(fRuns[offsetX] >= 0); in add() 60 int16_t* runs = fRuns + offsetX; in add()
|
D | SkScan_AntiPath.cpp | 133 SkAlphaRuns fRuns; member in SuperBlitter 144 fRuns.fRuns = reinterpret_cast<int16_t*>( in advanceRuns() 146 fRuns.fAlpha = reinterpret_cast<SkAlpha*>(fRuns.fRuns + fWidth + 1); in advanceRuns() 147 fRuns.reset(fWidth); in advanceRuns() 170 if (!fRuns.empty()) { in flush() 172 fRealBlitter->blitAntiH(fLeft, fCurrIY, fRuns.fAlpha, fRuns.fRuns); in flush() 250 fOffsetX = fRuns.add(x >> SHIFT, coverage_to_partial_alpha(fb), in blitH() 256 fRuns.assertValid(y & MASK, (1 << (8 - SHIFT))); in blitH() 267 int16_t* run = runs.fRuns; 383 fRuns.reset(fWidth); in blitRect()
|
D | SkRegion.cpp | 1373 fRuns = nullptr; in reset() 1375 fRuns = rgn.fRunHead->readonly_runs(); in reset() 1376 fRect.set(fRuns[3], fRuns[0], fRuns[4], fRuns[1]); in reset() 1377 fRuns += 5; in reset() 1388 if (fRuns == nullptr) { // rect case in next() 1393 const RunType* runs = fRuns; in next() 1420 fRuns = runs; in next() 1480 fRuns = nullptr; // means we're a rect, not a rgn in Spanerator() 1496 fRuns = runs; in Spanerator() 1511 if (fRuns == nullptr) { // we're a rect in next() [all …]
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | ParagraphCache.cpp | 27 , fRuns(paragraph->fRuns) in ParagraphCacheValue() 35 SkTArray<Run> fRuns; member in skia::textlayout::ParagraphCacheValue 142 for (size_t i = 0; i < paragraph->fRuns.size(); ++i) { in updateFrom() 143 auto& run = paragraph->fRuns[i]; in updateFrom() 145 entry->fValue->fRuns[i] = run; in updateFrom() 151 paragraph->fRuns.reset(); in updateTo() 152 paragraph->fRuns = entry->fValue->fRuns; in updateTo() 153 for (auto& run : paragraph->fRuns) { in updateTo()
|
D | ParagraphImpl.cpp | 135 this->fRuns.reset(); in layout() 224 for (RunIndex runIndex = 0; runIndex < fRuns.size(); ++runIndex) { in buildClusterTable() 225 auto& run = fRuns[runIndex]; in buildClusterTable() 227 fClusters.reserve(fClusters.size() + fRuns.size()); in buildClusterTable() 278 for (auto& run : fRuns) { in markLineBreaks() 338 auto& run = fParagraph->fRuns.emplace_back(fParagraph, in shapeTextIntoEndlessLine() 341 fParagraph->fRuns.count(), in shapeTextIntoEndlessLine() 347 auto& run = fParagraph->fRuns.back(); in shapeTextIntoEndlessLine() 349 fParagraph->fRuns.pop_back(); in shapeTextIntoEndlessLine() 393 fRunShifts.push_back_n(fRuns.size(), RunShifts()); in shapeTextIntoEndlessLine() [all …]
|
D | ParagraphImpl.h | 76 SkSpan<Run> runs() { return SkSpan<Run>(fRuns.data(), fRuns.size()); } in runs() 177 SkTArray<Run> fRuns; // kShaped variable
|
/third_party/skia/experimental/sktext/src/ |
D | VisualRun.h | 102 , fRuns(runs) in VisualLine() 110 for (auto& run : fRuns) { in VisualLine() 129 bool isFirst(VisualRun* run) { return &fRuns.front() == run; } in isFirst() 130 bool isLast(VisualRun* run) { return &fRuns.back() == run; } in isLast() 135 SkSpan<VisualRun> fRuns; variable
|
/third_party/skia/modules/skparagraph/src/ |
D | ParagraphCache.cpp | 44 , fRuns(paragraph->fRuns) in ParagraphCacheValue() 55 SkTArray<Run, false> fRuns; member in skia::textlayout::ParagraphCacheValue 213 paragraph->fRuns.reset(); in updateTo() 214 paragraph->fRuns = entry->fValue->fRuns; in updateTo() 220 for (auto& run : paragraph->fRuns) { in updateTo()
|
D | ParagraphImpl.h | 135 SkSpan<Run> runs() { return SkSpan<Run>(fRuns.data(), fRuns.size()); } 174 SkASSERT(runIndex < fRuns.size()); 175 return fRuns[runIndex]; 218 for (auto& run : fRuns) { 252 SkTArray<Run, false> fRuns; // kShaped
|
D | OneLineShaper.cpp | 191 resolvedBlock.fRun->fIndex = this->fParagraph->fRuns.size(); in finish() 192 this->fParagraph->fRuns.emplace_back(*resolvedBlock.fRun); in finish() 207 this->fParagraph->fRuns.emplace_back( in finish() 214 this->fParagraph->fRuns.count(), in finish() 217 auto piece = &this->fParagraph->fRuns.back(); in finish() 606 auto& run = fParagraph->fRuns.emplace_back(this->fParagraph, in iterateThroughShapingRegions() 612 fParagraph->fRuns.count(), in iterateThroughShapingRegions()
|
D | ParagraphImpl.cpp | 138 this->fRuns.reset(); in layout() 387 for (auto& run : fRuns) { in buildClusterTable() 393 for (auto& run : fRuns) { in buildClusterTable() 435 for (auto& run : fRuns) { in spaceGlyphs() 500 for (auto& run : fRuns) { in shapeTextIntoEndlessLine() 856 fRuns.reset(); in setState() 897 bool emptyParagraph = fRuns.empty(); in computeEmptyMetrics()
|
/third_party/flutter/skia/src/gpu/text/ |
D | GrTextBlob.h | 144 SubRun& newRun = fRuns[fRunCount].fSubRunInfo.back(); in pushBackRun() 145 SubRun& lastRun = fRuns[fRunCount - 1].fSubRunInfo.back(); in pushBackRun() 187 const Run& run = fRuns[runIndex]; in computeSubRunBounds() 243 fRuns[i].~Run(); in ~GrTextBlob() 272 fRuns[i].fSubRunInfo[0].init(fInitialViewMatrix, x, y); in setupViewMatrix() 556 Run* fRuns; variable
|
D | GrTextBlob.cpp | 52 blob->fRuns = SkTAddOffset<GrTextBlob::Run>(blob.get(), runs); in Make() 56 new (&blob->fRuns[i]) GrTextBlob::Run{blob.get(), color}; in Make() 230 Run& run = fRuns[runIndex]; in flush() 374 const GrTextBlob::SubRun& info = fRuns[run].fSubRunInfo[subRun]; in test_makeOp() 398 const Run& lRun = l.fRuns[i]; in AssertEqual() 399 const Run& rRun = r.fRuns[i]; in AssertEqual()
|
/third_party/icu/icu4c/source/layoutex/ |
D | ParagraphLayout.cpp | 1167 delete fRuns[i]; in ~Line() 1170 LE_DELETE_ARRAY(fRuns); in ~Line() 1220 return fRuns[runIndex]; in getVisualRun() 1229 fRuns = LE_NEW_ARRAY(ParagraphLayout::VisualRun *, fRunCapacity); in append() 1232 fRuns = (ParagraphLayout::VisualRun **) LE_GROW_ARRAY(fRuns, fRunCapacity); in append() 1236 …fRuns[fRunCount++] = new ParagraphLayout::VisualRun(font, direction, glyphCount, glyphs, positions… in append() 1244 le_int32 ascent = fRuns[i]->getAscent(); in computeMetrics() 1245 le_int32 descent = fRuns[i]->getDescent(); in computeMetrics() 1246 le_int32 leading = fRuns[i]->getLeading(); in computeMetrics()
|
/third_party/icu/icu4c/source/layoutex/layout/ |
D | ParagraphLayout.h | 178 VisualRun **fRuns; variable 664 : UObject(), fAscent(0), fDescent(0), fLeading(0), fRunCount(0), fRunCapacity(0), fRuns(NULL) in Line() 670 : UObject(), fAscent(0), fDescent(0), fLeading(0), fRunCount(0), fRunCapacity(0), fRuns(NULL) in Line()
|
/third_party/skia/modules/svg/src/ |
D | SkSVGText.cpp | 414 for (const auto& run : fRuns) { in flushChunk() 431 fRuns.clear(); in flushChunk() 437 fRuns.push_back({ in runBuffer() 452 fRuns.back().glyphs.get(), in runBuffer() 453 fRuns.back().glyphPos.get(), in runBuffer() 461 const auto& current_run = fRuns.back(); in commitRunBuffer()
|
/third_party/skia/include/core/ |
D | SkRegion.h | 504 const SkRegion::RunType* fRuns; variable 583 const SkRegion::RunType* fRuns;
|
/third_party/flutter/skia/include/core/ |
D | SkRegion.h | 513 const SkRegion::RunType* fRuns; variable 584 const SkRegion::RunType* fRuns;
|