Home
last modified time | relevance | path

Searched refs:fXCount (Results 1 – 17 of 17) sorted by relevance

/external/skia/src/core/
DSkRegion_path.cpp36 … fCurrScanline->fXCount = (SkRegion::RunType)((int)(fCurrXPtr - fCurrScanline->firstX())); in done()
57 SkDebugf("SkRgnBuilder::Scanline: LastY=%d, fXCount=%d", line->fLastY, line->fXCount); in dump()
58 for (int i = 0; i < line->fXCount; i++) { in dump()
82 SkRegion::RunType fXCount; member
87 return (Scanline*)((SkRegion::RunType*)(this + 1) + fXCount + 1); in nextScanline()
102 fPrevScanline->fXCount == fCurrScanline->fXCount && in collapsWithPrev()
103 sk_memeq32(fPrevScanline->firstX(), fCurrScanline->firstX(), fCurrScanline->fXCount)) in collapsWithPrev()
168 … fCurrScanline->fXCount = (SkRegion::RunType)((int)(fCurrXPtr - fCurrScanline->firstX())); in blitH()
178 fCurrScanline->fXCount = 0; in blitH()
214 SkASSERT(line->fXCount == 2); in copyToRect()
[all …]
DSkLatticeIter.cpp34 bool zeroXDivs = lattice.fXCount <= 0 || (1 == lattice.fXCount && in Valid()
42 return valid_divs(lattice.fXDivs, lattice.fXCount, latticeBounds.fLeft, latticeBounds.fRight) in Valid()
117 const int origXCount = lattice.fXCount; in SkLatticeIter()
DSkRecorder.cpp241 int flagCount = lattice.fFlags ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0; in onDrawImageLattice()
244 lattice.fXCount, this->copy(lattice.fXDivs, lattice.fXCount), in onDrawImageLattice()
DSkPictureRecord.cpp546 int flagCount = (nullptr == lattice.fFlags) ? 0 : (lattice.fXCount + 1) * (lattice.fYCount + 1); in onDrawImageLattice()
547 size_t latticeSize = (1 + lattice.fXCount + 1 + lattice.fYCount + 1) * kUInt32Size + in onDrawImageLattice()
555 this->addInt(lattice.fXCount); in onDrawImageLattice()
556 fWriter.writePad(lattice.fXDivs, lattice.fXCount * kUInt32Size); in onDrawImageLattice()
DSkPicturePlayback.cpp362 lattice.fXCount = reader->readInt(); in handleOp()
363 lattice.fXDivs = (const int*) reader->skip(lattice.fXCount * sizeof(int32_t)); in handleOp()
DSkRecordDraw.cpp99 lattice.fXCount = r.xCount; in draw()
DSkLiteDL.cpp609 int xs = lattice.fXCount, ys = lattice.fYCount; in drawImageLattice()
/external/skia/src/gpu/ops/
DGrLatticeOp.cpp255 lattice.fXCount = random->nextRangeU(1, subset.width()); in GR_DRAW_OP_TEST_DEFINE()
257 xdivs.reset(new int[lattice.fXCount]); in GR_DRAW_OP_TEST_DEFINE()
259 init_random_divs(xdivs.get(), lattice.fXCount, subset.fLeft, subset.fRight, random); in GR_DRAW_OP_TEST_DEFINE()
265 int n = (lattice.fXCount + 1) * (lattice.fYCount + 1); in GR_DRAW_OP_TEST_DEFINE()
/external/skia/gm/
Dlattice.cpp123 lattice.fXCount = 4; in onDrawHelper()
145 lattice.fXCount = 5; in onDrawHelper()
/external/skia/bench/
DDrawLatticeBench.cpp22 fLattice.fXCount = xCount; in DrawLatticeBench()
/external/skia/src/pipe/
DSkPipeCanvas.cpp561 if (lattice.fXCount >= kCount_DrawImageLatticeMask) { in onDrawImageLattice()
564 extra |= lattice.fXCount << kXCount_DrawImageLatticeShift; in onDrawImageLattice()
575 if (lattice.fXCount >= kCount_DrawImageLatticeMask) { in onDrawImageLattice()
576 writer.write32(lattice.fXCount); in onDrawImageLattice()
583 writer.write(lattice.fXDivs, lattice.fXCount * sizeof(int32_t)); in onDrawImageLattice()
586 int32_t count = (lattice.fXCount + 1) * (lattice.fYCount + 1); in onDrawImageLattice()
DSkPipeReader.cpp550 lattice.fXCount = (packedVerb >> kXCount_DrawImageLatticeShift) & kCount_DrawImageLatticeMask; in drawImageLattice_handler()
551 if (lattice.fXCount == kCount_DrawImageLatticeMask) { in drawImageLattice_handler()
552 lattice.fXCount = reader.read32(); in drawImageLattice_handler()
558 lattice.fXDivs = skip<int32_t>(reader, lattice.fXCount); in drawImageLattice_handler()
561 int32_t count = (lattice.fXCount + 1) * (lattice.fYCount + 1); in drawImageLattice_handler()
/external/skia/tools/debugger/
DSkObjectParser.cpp413 mLattice->appendS32(lattice.fXCount); in LatticeToString()
DSkDrawCommand.cpp1260 result[SKDEBUGCANVAS_ATTRIBUTE_LATTICEXCOUNT] = Json::Value(lattice.fXCount); in MakeJsonLattice()
1266 for (int i = 0; i < lattice.fXCount; i++) { in MakeJsonLattice()
1280 for (int column = 0; column < lattice.fXCount+1; column++) { in MakeJsonLattice()
/external/skia/fuzz/
DFuzzCanvas.cpp1564 fuzz->nextRange(&lattice.fXCount, 2, kMax); in fuzz_canvas()
1566 fuzz->nextN(xDivs, lattice.fXCount); in fuzz_canvas()
1582 fuzz->nextRange(&lattice.fXCount, 2, kMax); in fuzz_canvas()
1584 fuzz->nextN(xDivs, lattice.fXCount); in fuzz_canvas()
/external/skia/include/core/
DSkCanvas.h918 int fXCount; member
/external/skia/tests/
DPictureTest.cpp887 lattice.fXCount = lattice.fYCount = 2; in draw_bitmaps()