Home
last modified time | relevance | path

Searched refs:fRectTypes (Results 1 – 25 of 30) sorted by relevance

12

/external/skqp/src/core/
DSkLatticeIter.cpp168 if (lattice.fRectTypes) { in SkLatticeIter()
169 fRectTypes.push_back_n(fNumRectsInLattice); in SkLatticeIter()
172 const SkCanvas::Lattice::RectType* flags = lattice.fRectTypes; in SkLatticeIter()
193 fRectTypes[i] = *flags; in SkLatticeIter()
201 for (int j = 0; j < fRectTypes.count(); j++) { in SkLatticeIter()
202 if (SkCanvas::Lattice::kTransparent == fRectTypes[j]) { in SkLatticeIter()
272 if (fRectTypes.count() > 0 in next()
273 && SkToBool(SkCanvas::Lattice::kTransparent == fRectTypes[currRect])) { in next()
280 *isFixedColor = fRectTypes.count() > 0 in next()
281 && SkToBool(SkCanvas::Lattice::kFixedColor == fRectTypes[currRect]); in next()
DSkCanvasPriv.cpp45 lattice->fRectTypes = nullptr; in ReadLattice()
48 lattice->fRectTypes = buffer.skipT<SkCanvas::Lattice::RectType>(flagCount); in ReadLattice()
56 int flagCount = lattice.fRectTypes ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0; in WriteLattice()
70 writer.writePad(lattice.fRectTypes, flagCount * sizeof(uint8_t)); in WriteLattice()
DSkLatticeIter.h68 SkTArray<SkCanvas::Lattice::RectType> fRectTypes; variable
DSkColorSpaceXformer.cpp187 return {lattice.fXDivs, lattice.fYDivs, lattice.fRectTypes, in apply()
DSkRecorder.cpp252 int flagCount = lattice.fRectTypes ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0; in onDrawImageLattice()
257 flagCount, this->copy(lattice.fRectTypes, flagCount), in onDrawImageLattice()
DSkColorSpaceXformCanvas.cpp150 int count = lattice.fRectTypes && lattice.fColors ? in onDrawImageLattice()
227 int count = lattice.fRectTypes && lattice.fColors? in onDrawBitmapLattice()
DSkLiteDL.cpp583 int fs = lattice.fRectTypes ? (xs + 1) * (ys + 1) : 0; in drawImageLattice()
592 lattice.fRectTypes, fs); in drawImageLattice()
DSkRecordDraw.cpp110 lattice.fRectTypes = (0 == r.flagCount) ? nullptr : r.flags; in draw()
/external/skia/src/core/
DSkLatticeIter.cpp168 if (lattice.fRectTypes) { in SkLatticeIter()
169 fRectTypes.push_back_n(fNumRectsInLattice); in SkLatticeIter()
172 const SkCanvas::Lattice::RectType* flags = lattice.fRectTypes; in SkLatticeIter()
193 fRectTypes[i] = *flags; in SkLatticeIter()
201 for (int j = 0; j < fRectTypes.count(); j++) { in SkLatticeIter()
202 if (SkCanvas::Lattice::kTransparent == fRectTypes[j]) { in SkLatticeIter()
272 if (fRectTypes.count() > 0 in next()
273 && SkToBool(SkCanvas::Lattice::kTransparent == fRectTypes[currRect])) { in next()
280 *isFixedColor = fRectTypes.count() > 0 in next()
281 && SkToBool(SkCanvas::Lattice::kFixedColor == fRectTypes[currRect]); in next()
DSkCanvasPriv.cpp45 lattice->fRectTypes = nullptr; in ReadLattice()
48 lattice->fRectTypes = buffer.skipT<SkCanvas::Lattice::RectType>(flagCount); in ReadLattice()
56 int flagCount = lattice.fRectTypes ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0; in WriteLattice()
70 writer.writePad(lattice.fRectTypes, flagCount * sizeof(uint8_t)); in WriteLattice()
DSkLatticeIter.h68 SkTArray<SkCanvas::Lattice::RectType> fRectTypes; variable
DSkColorSpaceXformer.cpp187 return {lattice.fXDivs, lattice.fYDivs, lattice.fRectTypes, in apply()
DSkRecorder.cpp256 int flagCount = lattice.fRectTypes ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0; in onDrawImageLattice()
261 flagCount, this->copy(lattice.fRectTypes, flagCount), in onDrawImageLattice()
DSkColorSpaceXformCanvas.cpp150 int count = lattice.fRectTypes && lattice.fColors ? in onDrawImageLattice()
227 int count = lattice.fRectTypes && lattice.fColors? in onDrawBitmapLattice()
DSkLiteDL.cpp592 int fs = lattice.fRectTypes ? (xs + 1) * (ys + 1) : 0; in drawImageLattice()
601 lattice.fRectTypes, fs); in drawImageLattice()
DSkRecordDraw.cpp114 lattice.fRectTypes = (0 == r.flagCount) ? nullptr : r.flags; in draw()
/external/skqp/gm/
Dlattice.cpp123 lattice.fRectTypes = nullptr; in onDrawHelper()
171 lattice.fRectTypes = flags; in onDrawHelper()
298 lattice.fRectTypes = flags; in onDrawHelper()
354 lattice.fRectTypes = nullptr;
/external/skia/gm/
Dlattice.cpp123 lattice.fRectTypes = nullptr; in onDrawHelper()
171 lattice.fRectTypes = flags; in onDrawHelper()
298 lattice.fRectTypes = flags; in onDrawHelper()
354 lattice.fRectTypes = nullptr;
/external/skqp/bench/
DDrawLatticeBench.cpp25 fLattice.fRectTypes = nullptr; in DrawLatticeBench()
/external/skia/bench/
DDrawLatticeBench.cpp25 fLattice.fRectTypes = nullptr; in DrawLatticeBench()
/external/skqp/src/gpu/ops/
DGrLatticeOp.cpp434 lattice.fRectTypes = flags.get(); in GR_DRAW_OP_TEST_DEFINE()
437 lattice.fRectTypes = nullptr; in GR_DRAW_OP_TEST_DEFINE()
/external/skia/src/gpu/ops/
DGrLatticeOp.cpp440 lattice.fRectTypes = flags.get(); in GR_DRAW_OP_TEST_DEFINE()
443 lattice.fRectTypes = nullptr; in GR_DRAW_OP_TEST_DEFINE()
/external/skqp/include/core/
DSkCanvas.h1719 const RectType* fRectTypes; //!< array of fill types member
/external/skia/include/core/
DSkCanvas.h1738 const RectType* fRectTypes; //!< array of fill types member
/external/skqp/tools/debugger/
DSkDrawCommand.cpp1039 if (nullptr != lattice.fRectTypes) { in MakeJsonLattice()
1045 writer.appendS32(lattice.fRectTypes[flagCount++]); in MakeJsonLattice()

12