Home | History | Annotate | Download | only in core

Lines Matching defs:flagCount

44     int flagCount = buffer.readInt();
47 if (flagCount) {
48 lattice->fRectTypes = buffer.skipT<SkCanvas::Lattice::RectType>(flagCount);
49 lattice->fColors = buffer.skipT<SkColor>(flagCount);
56 int flagCount = lattice.fRectTypes ? (lattice.fXCount + 1) * (lattice.fYCount + 1) : 0;
59 SkAlign4(flagCount * sizeof(SkCanvas::Lattice::RectType)) +
60 SkAlign4(flagCount * sizeof(SkColor)) +
69 writer.write32(flagCount);
70 writer.writePad(lattice.fRectTypes, flagCount * sizeof(uint8_t));
71 writer.write(lattice.fColors, flagCount * sizeof(SkColor));