Home
last modified time | relevance | path

Searched refs:fYCount (Results 1 – 15 of 15) sorted by relevance

/external/skia/src/core/
DSkLatticeIter.cpp35 bool zeroYDivs = lattice.fYCount <= 0 || (1 == lattice.fYCount && in Valid()
42 && valid_divs(lattice.fYDivs, lattice.fYCount, latticeBounds.fTop, latticeBounds.fBottom); in Valid()
118 const int origYCount = lattice.fYCount; in SkLatticeIter()
DSkRecorder.cpp240 int flagCount = lattice.fFlags ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0; in onDrawImageLattice()
244 lattice.fYCount, this->copy(lattice.fYDivs, lattice.fYCount), in onDrawImageLattice()
DSkPictureRecord.cpp543 int flagCount = (nullptr == lattice.fFlags) ? 0 : (lattice.fXCount + 1) * (lattice.fYCount + 1); in onDrawImageLattice()
544 size_t latticeSize = (1 + lattice.fXCount + 1 + lattice.fYCount + 1) * kUInt32Size + in onDrawImageLattice()
554 this->addInt(lattice.fYCount); in onDrawImageLattice()
555 fWriter.writePad(lattice.fYDivs, lattice.fYCount * kUInt32Size); in onDrawImageLattice()
DSkPicturePlayback.cpp363 lattice.fYCount = reader->readInt(); in handleOp()
364 lattice.fYDivs = (const int*) reader->skip(lattice.fYCount * sizeof(int32_t)); in handleOp()
DSkRecordDraw.cpp104 lattice.fYCount = r.yCount; in draw()
DSkLiteDL.cpp625 int xs = lattice.fXCount, ys = lattice.fYCount; in drawImageLattice()
/external/skia/gm/
Dlattice.cpp125 lattice.fYCount = 4; in onDrawHelper()
147 lattice.fYCount = 5; in onDrawHelper()
/external/skia/bench/
DDrawLatticeBench.cpp23 fLattice.fYCount = yCount; in DrawLatticeBench()
/external/skia/src/pipe/
DSkPipeCanvas.cpp553 if (lattice.fYCount >= kCount_DrawImageLatticeMask) { in onDrawImageLattice()
556 extra |= lattice.fYCount << kYCount_DrawImageLatticeShift; in onDrawImageLattice()
565 if (lattice.fYCount >= kCount_DrawImageLatticeMask) { in onDrawImageLattice()
566 writer.write32(lattice.fYCount); in onDrawImageLattice()
571 writer.write(lattice.fYDivs, lattice.fYCount * sizeof(int32_t)); in onDrawImageLattice()
573 int32_t count = (lattice.fXCount + 1) * (lattice.fYCount + 1); in onDrawImageLattice()
DSkPipeReader.cpp544 lattice.fYCount = (packedVerb >> kXCount_DrawImageLatticeShift) & kCount_DrawImageLatticeMask; in drawImageLattice_handler()
545 if (lattice.fYCount == kCount_DrawImageLatticeMask) { in drawImageLattice_handler()
546 lattice.fYCount = reader.read32(); in drawImageLattice_handler()
549 lattice.fYDivs = skip<int32_t>(reader, lattice.fYCount); in drawImageLattice_handler()
551 int32_t count = (lattice.fXCount + 1) * (lattice.fYCount + 1); in drawImageLattice_handler()
/external/skia/tools/debugger/
DSkObjectParser.cpp414 mLattice->appendS32(lattice.fYCount); in LatticeToString()
DSkDrawCommand.cpp1192 result[SKDEBUGCANVAS_ATTRIBUTE_LATTICEYCOUNT] = Json::Value(lattice.fYCount); in MakeJsonLattice()
1202 for (int i = 0; i < lattice.fYCount; i++) { in MakeJsonLattice()
1209 for (int row = 0; row < lattice.fYCount+1; row++) { in MakeJsonLattice()
/external/skia/fuzz/
DFuzzCanvas.cpp1568 fuzz->nextRange(&lattice.fYCount, 2, kMax); in fuzz_canvas()
1570 fuzz->nextN(yDivs, lattice.fYCount); in fuzz_canvas()
1586 fuzz->nextRange(&lattice.fYCount, 2, kMax); in fuzz_canvas()
1588 fuzz->nextN(yDivs, lattice.fYCount); in fuzz_canvas()
/external/skia/include/core/
DSkCanvas.h969 int fYCount; member
/external/skia/tests/
DPictureTest.cpp887 lattice.fXCount = lattice.fYCount = 2; in draw_bitmaps()