Home
last modified time | relevance | path

Searched refs:flatFlags (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/core/
DSkPaint.cpp250 static uint32_t pack_v68(const SkPaint& paint, unsigned flatFlags) { in pack_v68() argument
263 packed |= shift_bits(flatFlags, 24, 8); in pack_v68()
295 uint8_t flatFlags = 0; in Flatten() local
303 flatFlags |= kHasEffects_FlatFlag; in Flatten()
310 buffer.write32(pack_v68(paint, flatFlags)); in Flatten()
312 if (flatFlags & kHasEffects_FlatFlag) { in Flatten()
334 unsigned flatFlags = unpack_v68(&paint, buffer.readUInt(), safe); in Unflatten() local
336 if (!(flatFlags & kHasEffects_FlatFlag)) { in Unflatten()
DSkPictureRecord.cpp114 uint32_t flatFlags = 0; in recordSaveLayer() local
117 flatFlags |= SAVELAYERREC_HAS_BOUNDS; in recordSaveLayer()
121 flatFlags |= SAVELAYERREC_HAS_PAINT; in recordSaveLayer()
125 flatFlags |= SAVELAYERREC_HAS_BACKDROP; in recordSaveLayer()
129 flatFlags |= SAVELAYERREC_HAS_FLAGS; in recordSaveLayer()
133 flatFlags |= SAVELAYERREC_HAS_BACKDROP_SCALE; in recordSaveLayer()
138 this->addInt(flatFlags); in recordSaveLayer()
139 if (flatFlags & SAVELAYERREC_HAS_BOUNDS) { in recordSaveLayer()
142 if (flatFlags & SAVELAYERREC_HAS_PAINT) { in recordSaveLayer()
145 if (flatFlags & SAVELAYERREC_HAS_BACKDROP) { in recordSaveLayer()
[all …]
DSkPicturePlayback.cpp644 const uint32_t flatFlags = reader->readInt(); in handleOp() local
646 if (flatFlags & SAVELAYERREC_HAS_BOUNDS) { in handleOp()
650 if (flatFlags & SAVELAYERREC_HAS_PAINT) { in handleOp()
653 if (flatFlags & SAVELAYERREC_HAS_BACKDROP) { in handleOp()
657 if (flatFlags & SAVELAYERREC_HAS_FLAGS) { in handleOp()
660 if (flatFlags & SAVELAYERREC_HAS_CLIPMASK_OBSOLETE) { in handleOp()
663 if (flatFlags & SAVELAYERREC_HAS_CLIPMATRIX_OBSOLETE) { in handleOp()
668 (flatFlags & SAVELAYERREC_HAS_BACKDROP_SCALE)) { in handleOp()