Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkLatticeIter.cpp36 bool zeroYDivs = lattice.fYCount <= 0 || (1 == lattice.fYCount && in Valid()
43 && valid_divs(lattice.fYDivs, lattice.fYCount, latticeBounds.fTop, latticeBounds.fBottom); in Valid()
119 const int origYCount = lattice.fYCount; in SkLatticeIter()
DSkRecorder.cpp241 int flagCount = lattice.fFlags ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0; in onDrawImageLattice()
245 lattice.fYCount, this->copy(lattice.fYDivs, lattice.fYCount), 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()
557 this->addInt(lattice.fYCount); in onDrawImageLattice()
558 fWriter.writePad(lattice.fYDivs, lattice.fYCount * kUInt32Size); in onDrawImageLattice()
DSkPicturePlayback.cpp364 lattice.fYCount = reader->readInt(); in handleOp()
365 lattice.fYDivs = (const int*) reader->skip(lattice.fYCount * sizeof(int32_t)); in handleOp()
DSkRecordDraw.cpp101 lattice.fYCount = r.yCount; in draw()
DSkLiteDL.cpp609 int xs = lattice.fXCount, ys = lattice.fYCount; in drawImageLattice()
/external/skia/src/gpu/ops/
DGrLatticeOp.cpp256 lattice.fYCount = random->nextRangeU(1, subset.height()); in GR_DRAW_OP_TEST_DEFINE()
258 ydivs.reset(new int[lattice.fYCount]); in GR_DRAW_OP_TEST_DEFINE()
260 init_random_divs(ydivs.get(), lattice.fYCount, subset.fTop, subset.fBottom, 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.cpp125 lattice.fYCount = 4; in onDrawHelper()
147 lattice.fYCount = 5; in onDrawHelper()
/external/skia/bench/
DDrawLatticeBench.cpp24 fLattice.fYCount = yCount; in DrawLatticeBench()
/external/skia/src/pipe/
DSkPipeCanvas.cpp566 if (lattice.fYCount >= kCount_DrawImageLatticeMask) { in onDrawImageLattice()
569 extra |= lattice.fYCount << kYCount_DrawImageLatticeShift; in onDrawImageLattice()
578 if (lattice.fYCount >= kCount_DrawImageLatticeMask) { in onDrawImageLattice()
579 writer.write32(lattice.fYCount); in onDrawImageLattice()
584 writer.write(lattice.fYDivs, lattice.fYCount * sizeof(int32_t)); in onDrawImageLattice()
586 int32_t count = (lattice.fXCount + 1) * (lattice.fYCount + 1); in onDrawImageLattice()
DSkPipeReader.cpp554 lattice.fYCount = (packedVerb >> kXCount_DrawImageLatticeShift) & kCount_DrawImageLatticeMask; in drawImageLattice_handler()
555 if (lattice.fYCount == kCount_DrawImageLatticeMask) { in drawImageLattice_handler()
556 lattice.fYCount = reader.read32(); in drawImageLattice_handler()
559 lattice.fYDivs = skip<int32_t>(reader, lattice.fYCount); in drawImageLattice_handler()
561 int32_t count = (lattice.fXCount + 1) * (lattice.fYCount + 1); in drawImageLattice_handler()
/external/skia/tools/debugger/
DSkObjectParser.cpp415 mLattice->appendS32(lattice.fYCount); in LatticeToString()
DSkDrawCommand.cpp1261 result[SKDEBUGCANVAS_ATTRIBUTE_LATTICEYCOUNT] = Json::Value(lattice.fYCount); in MakeJsonLattice()
1271 for (int i = 0; i < lattice.fYCount; i++) { in MakeJsonLattice()
1278 for (int row = 0; row < lattice.fYCount+1; row++) { in MakeJsonLattice()
/external/skia/fuzz/
DFuzzCanvas.cpp1565 fuzz->nextRange(&lattice.fYCount, 2, kMax); in fuzz_canvas()
1567 fuzz->nextN(yDivs, lattice.fYCount); in fuzz_canvas()
1583 fuzz->nextRange(&lattice.fYCount, 2, kMax); in fuzz_canvas()
1585 fuzz->nextN(yDivs, lattice.fYCount); in fuzz_canvas()
/external/skia/include/core/
DSkCanvas.h921 int fYCount; member
/external/skia/tests/
DPictureTest.cpp887 lattice.fXCount = lattice.fYCount = 2; in draw_bitmaps()