Home
last modified time | relevance | path

Searched refs:fRuns (Results 1 – 25 of 26) sorted by relevance

12

/external/skia/src/core/
DSkAlphaRuns.cpp16 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()
DSkScan_AAAPath.cpp316 SkAlphaRuns fRuns; member in RunBasedAdditiveBlitter
338 fRuns.fRuns = reinterpret_cast<int16_t*>( in advanceRuns()
340 fRuns.fAlpha = reinterpret_cast<SkAlpha*>(fRuns.fRuns + fWidth + 1); in advanceRuns()
341 fRuns.reset(fWidth); in advanceRuns()
352 for (int x = 0; fRuns.fRuns[x]; x += fRuns.fRuns[x]) { in flush()
354 fRuns.fAlpha[x] = snapAlpha(fRuns.fAlpha[x]); in flush()
356 if (!fRuns.empty()) { in flush()
358 fRealBlitter->blitAntiH(fLeft, fCurrY, fRuns.fAlpha, fRuns.fRuns); in flush()
430 fOffsetX = fRuns.add(x, 0, len, 0, 0, fOffsetX); // Break the run in blitAntiH()
431 for (int i = 0; i < len; i += fRuns.fRuns[x + i]) { in blitAntiH()
[all …]
DSkScan_AntiPath.cpp131 SkAlphaRuns fRuns; member in SuperBlitter
142 fRuns.fRuns = reinterpret_cast<int16_t*>( in advanceRuns()
144 fRuns.fAlpha = reinterpret_cast<SkAlpha*>(fRuns.fRuns + fWidth + 1); in advanceRuns()
145 fRuns.reset(fWidth); in advanceRuns()
168 if (!fRuns.empty()) { in flush()
170 fRealBlitter->blitAntiH(fLeft, fCurrIY, fRuns.fAlpha, fRuns.fRuns); in flush()
248 fOffsetX = fRuns.add(x >> SHIFT, coverage_to_partial_alpha(fb), in blitH()
254 fRuns.assertValid(y & MASK, (1 << (8 - SHIFT))); in blitH()
265 int16_t* run = runs.fRuns;
381 fRuns.reset(fWidth); in blitRect()
DSkAntiRun.h21 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()
DSkRegion.cpp1338 fRuns = nullptr; in reset()
1340 fRuns = rgn.fRunHead->readonly_runs(); in reset()
1341 fRect.set(fRuns[3], fRuns[0], fRuns[4], fRuns[1]); in reset()
1342 fRuns += 5; in reset()
1353 if (fRuns == nullptr) { // rect case in next()
1358 const RunType* runs = fRuns; in next()
1385 fRuns = runs; in next()
1445 fRuns = nullptr; // means we're a rect, not a rgn in Spanerator()
1461 fRuns = runs; in Spanerator()
1476 if (fRuns == nullptr) { // we're a rect in next()
[all …]
DSkAAClip.h125 int16_t* fRuns; variable
/external/skqp/src/core/
DSkAlphaRuns.cpp16 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()
DSkScan_AAAPath.cpp316 SkAlphaRuns fRuns; member in RunBasedAdditiveBlitter
338 fRuns.fRuns = reinterpret_cast<int16_t*>( in advanceRuns()
340 fRuns.fAlpha = reinterpret_cast<SkAlpha*>(fRuns.fRuns + fWidth + 1); in advanceRuns()
341 fRuns.reset(fWidth); in advanceRuns()
352 for (int x = 0; fRuns.fRuns[x]; x += fRuns.fRuns[x]) { in flush()
354 fRuns.fAlpha[x] = snapAlpha(fRuns.fAlpha[x]); in flush()
356 if (!fRuns.empty()) { in flush()
358 fRealBlitter->blitAntiH(fLeft, fCurrY, fRuns.fAlpha, fRuns.fRuns); in flush()
430 fOffsetX = fRuns.add(x, 0, len, 0, 0, fOffsetX); // Break the run in blitAntiH()
431 for (int i = 0; i < len; i += fRuns.fRuns[x + i]) { in blitAntiH()
[all …]
DSkScan_AntiPath.cpp131 SkAlphaRuns fRuns; member in SuperBlitter
142 fRuns.fRuns = reinterpret_cast<int16_t*>( in advanceRuns()
144 fRuns.fAlpha = reinterpret_cast<SkAlpha*>(fRuns.fRuns + fWidth + 1); in advanceRuns()
145 fRuns.reset(fWidth); in advanceRuns()
168 if (!fRuns.empty()) { in flush()
170 fRealBlitter->blitAntiH(fLeft, fCurrIY, fRuns.fAlpha, fRuns.fRuns); in flush()
248 fOffsetX = fRuns.add(x >> SHIFT, coverage_to_partial_alpha(fb), in blitH()
254 fRuns.assertValid(y & MASK, (1 << (8 - SHIFT))); in blitH()
265 int16_t* run = runs.fRuns;
381 fRuns.reset(fWidth); in blitRect()
DSkAntiRun.h21 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()
DSkRegion.cpp1338 fRuns = nullptr; in reset()
1340 fRuns = rgn.fRunHead->readonly_runs(); in reset()
1341 fRect.set(fRuns[3], fRuns[0], fRuns[4], fRuns[1]); in reset()
1342 fRuns += 5; in reset()
1353 if (fRuns == nullptr) { // rect case in next()
1358 const RunType* runs = fRuns; in next()
1385 fRuns = runs; in next()
1445 fRuns = nullptr; // means we're a rect, not a rgn in Spanerator()
1461 fRuns = runs; in Spanerator()
1476 if (fRuns == nullptr) { // we're a rect in next()
[all …]
DSkAAClip.h125 int16_t* fRuns; variable
DSkAAClip.cpp1930 fRuns = (int16_t*)fScanlineScratch; in ensureRunsAndAA()
1931 fAA = (SkAlpha*)(fRuns + count); in ensureRunsAndAA()
1956 expandToRuns(row, initialCount, width, fRuns, fAA); in blitH()
1958 fBlitter->blitAntiH(x, y, fAA, fRuns); in blitH()
2014 merge(row, initialCount, aa, runs, fAA, fRuns, fAAClipBounds.width()); in blitAntiH()
2015 fBlitter->blitAntiH(x, y, fAA, fRuns); in blitAntiH()
/external/skia/src/gpu/text/
DGrAtlasTextBlob.h138 Run::SubRunInfo& newRun = fRuns[currRun].fSubRunInfo.back(); in push_back_run()
139 Run::SubRunInfo& lastRun = fRuns[currRun - 1].fSubRunInfo.back(); in push_back_run()
146 Run& run = fRuns[runIndex]; in setSubRunHasDistanceFields()
155 fRuns[runIndex].fPaintFlags = paintFlags & Run::kPaintFlagsMask; in setRunPaintFlags()
167 Run& run = fRuns[runIndex]; in initOverride()
222 const Run& run = fRuns[runIndex]; in computeSubRunBounds()
275 fRuns[i].~Run(); in ~GrAtlasTextBlob()
309 fRuns[i].fSubRunInfo[0].init(fInitialViewMatrix, x, y); in setupViewMatrix()
532 Run* fRuns; variable
DGrAtlasTextBlob.cpp46 cacheBlob->fRuns = reinterpret_cast<GrAtlasTextBlob::Run*>(cacheBlob->fGlyphs + glyphCount); in Make()
50 new (&cacheBlob->fRuns[i]) GrAtlasTextBlob::Run; in Make()
62 GrAtlasTextBlob::Run* run = &fRuns[runIndex]; in setupCache()
101 Run& run = fRuns[runIndex]; in appendGlyph()
159 Run& run = fRuns[runIndex]; in appendPathGlyph()
316 Run& run = fRuns[runIndex]; in flush()
400 const GrAtlasTextBlob::Run::SubRunInfo& info = fRuns[run].fSubRunInfo[subRun]; in test_makeOp()
426 const Run& lRun = l.fRuns[i]; in AssertEqual()
427 const Run& rRun = r.fRuns[i]; in AssertEqual()
DGrAtlasTextBlobVertexRegenerator.cpp206 , fRun(&blob->fRuns[runIdx]) in VertexRegenerator()
207 , fSubRun(&blob->fRuns[runIdx].fSubRunInfo[subRunIdx]) in VertexRegenerator()
/external/skqp/src/gpu/text/
DGrAtlasTextBlob.h129 Run::SubRunInfo& newRun = fRuns[currRun].fSubRunInfo.back(); in push_back_run()
130 Run::SubRunInfo& lastRun = fRuns[currRun - 1].fSubRunInfo.back(); in push_back_run()
137 Run& run = fRuns[runIndex]; in setSubRunHasDistanceFields()
146 fRuns[runIndex].fTooBigForAtlas = true; in setRunTooBigForAtlas()
158 Run& run = fRuns[runIndex]; in initOverride()
217 const Run& run = fRuns[runIndex]; in computeSubRunBounds()
270 fRuns[i].~Run(); in ~GrAtlasTextBlob()
322 fRuns[i].fSubRunInfo[0].init(fInitialViewMatrix, x, y); in setupViewMatrix()
537 Run* fRuns; variable
DGrAtlasTextBlob.cpp40 cacheBlob->fRuns = reinterpret_cast<GrAtlasTextBlob::Run*>(cacheBlob->fGlyphs + glyphCount); in Make()
44 new (&cacheBlob->fRuns[i]) GrAtlasTextBlob::Run; in Make()
56 GrAtlasTextBlob::Run* run = &fRuns[runIndex]; in setupCache()
87 Run& run = fRuns[runIndex]; in appendGlyph()
286 int lastRun = SkTMin(fRuns[run].fSubRunInfo.count(), 1 << 16) - 1; in flushRun()
288 const Run::SubRunInfo& info = fRuns[run].fSubRunInfo[subRun]; in flushRun()
413 if (fRuns[run].fTooBigForAtlas) { in flushCached()
447 const GrAtlasTextBlob::Run::SubRunInfo& info = fRuns[run].fSubRunInfo[subRun]; in test_makeOp()
482 const Run& lRun = l.fRuns[i]; in AssertEqual()
483 const Run& rRun = r.fRuns[i]; in AssertEqual()
DGrAtlasTextBlobVertexRegenerator.cpp202 , fRun(&blob->fRuns[runIdx]) in VertexRegenerator()
203 , fSubRun(&blob->fRuns[runIdx].fSubRunInfo[subRunIdx]) in VertexRegenerator()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp1167 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()
1236fRuns[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()
/external/skia/tools/shape/
DSkShaper_harfbuzz.cpp398 : fRuns(&origRuns), fRunIndex(0), fGlyphIndex(0) in ShapedRunGlyphIterator()
404 return fRuns == that.fRuns && in operator ==()
409 return fRuns != that.fRuns || in operator !=()
415 const SkTArray<ShapedRun>& runs = *fRuns; in next()
431 const SkTArray<ShapedRun>& runs = *fRuns; in current()
438 const SkTArray<ShapedRun>* fRuns; member
/external/skqp/tools/shape/
DSkShaper_harfbuzz.cpp396 : fRuns(&origRuns), fRunIndex(0), fGlyphIndex(0) in ShapedRunGlyphIterator()
402 return fRuns == that.fRuns && in operator ==()
407 return fRuns != that.fRuns || in operator !=()
413 const SkTArray<ShapedRun>& runs = *fRuns; in next()
429 const SkTArray<ShapedRun>& runs = *fRuns; in current()
436 const SkTArray<ShapedRun>* fRuns; member
/external/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h180 VisualRun **fRuns; variable
666 : UObject(), fAscent(0), fDescent(0), fLeading(0), fRunCount(0), fRunCapacity(0), fRuns(NULL) in Line()
672 : UObject(), fAscent(0), fDescent(0), fLeading(0), fRunCount(0), fRunCapacity(0), fRuns(NULL) in Line()
/external/skia/include/core/
DSkRegion.h335 const RunType* fRuns; variable
368 const SkRegion::RunType* fRuns;
/external/skqp/include/core/
DSkRegion.h335 const RunType* fRuns; variable
368 const SkRegion::RunType* fRuns;

12