Home
last modified time | relevance | path

Searched refs:flagCount (Results 1 – 10 of 10) sorted by relevance

/external/skqp/src/core/
DSkCanvasPriv.cpp44 int flagCount = buffer.readInt(); in ReadLattice() local
47 if (flagCount) { in ReadLattice()
48 lattice->fRectTypes = buffer.skipT<SkCanvas::Lattice::RectType>(flagCount); in ReadLattice()
49 lattice->fColors = buffer.skipT<SkColor>(flagCount); in ReadLattice()
56 int flagCount = lattice.fRectTypes ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0; in WriteLattice() local
59 SkAlign4(flagCount * sizeof(SkCanvas::Lattice::RectType)) + in WriteLattice()
60 SkAlign4(flagCount * sizeof(SkColor)) + in WriteLattice()
69 writer.write32(flagCount); in WriteLattice()
70 writer.writePad(lattice.fRectTypes, flagCount * sizeof(uint8_t)); in WriteLattice()
71 writer.write(lattice.fColors, flagCount * sizeof(SkColor)); in WriteLattice()
DSkRecorder.cpp252 int flagCount = lattice.fRectTypes ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0; in onDrawImageLattice() local
257 flagCount, this->copy(lattice.fRectTypes, flagCount), in onDrawImageLattice()
258 this->copy(lattice.fColors, flagCount), *lattice.fBounds, dst); in onDrawImageLattice()
DSkRecordDraw.cpp110 lattice.fRectTypes = (0 == r.flagCount) ? nullptr : r.flags; in draw()
111 lattice.fColors = (0 == r.flagCount) ? nullptr : r.colors; in draw()
DSkRecords.h246 int flagCount;
/external/skia/src/core/
DSkCanvasPriv.cpp48 int flagCount = buffer.readInt(); in ReadLattice() local
51 if (flagCount) { in ReadLattice()
52 lattice->fRectTypes = buffer.skipT<SkCanvas::Lattice::RectType>(flagCount); in ReadLattice()
53 lattice->fColors = buffer.skipT<SkColor>(flagCount); in ReadLattice()
60 int flagCount = lattice.fRectTypes ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0; in WriteLattice() local
63 SkAlign4(flagCount * sizeof(SkCanvas::Lattice::RectType)) + in WriteLattice()
64 SkAlign4(flagCount * sizeof(SkColor)) + in WriteLattice()
73 writer.write32(flagCount); in WriteLattice()
74 writer.writePad(lattice.fRectTypes, flagCount * sizeof(uint8_t)); in WriteLattice()
75 writer.write(lattice.fColors, flagCount * sizeof(SkColor)); in WriteLattice()
DSkRecorder.cpp222 int flagCount = lattice.fRectTypes ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0; in onDrawImageLattice2() local
227 flagCount, this->copy(lattice.fRectTypes, flagCount), in onDrawImageLattice2()
228 this->copy(lattice.fColors, flagCount), *lattice.fBounds, dst, filter); in onDrawImageLattice2()
DSkRecordDraw.cpp118 lattice.fRectTypes = (0 == r.flagCount) ? nullptr : r.flags; in draw()
119 lattice.fColors = (0 == r.flagCount) ? nullptr : r.colors; in draw()
DSkRecords.h250 int flagCount;
/external/skqp/tools/debugger/
DSkDrawCommand.cpp1041 int flagCount = 0; in MakeJsonLattice() local
1045 writer.appendS32(lattice.fRectTypes[flagCount++]); in MakeJsonLattice()
/external/skia/tools/debugger/
DDrawCommand.cpp974 int flagCount = 0; in MakeJsonLattice() local
978 writer.appendS32(lattice.fRectTypes[flagCount++]); in MakeJsonLattice()