Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPaint.cpp279 static uint32_t pack_v68(const SkPaint& paint, unsigned flatFlags) { in pack_v68() argument
288 packed |= shift_bits(flatFlags, 24, 8); in pack_v68()
313 uint8_t flatFlags = 0; in Flatten() local
321 flatFlags |= kHasEffects_FlatFlag; in Flatten()
328 buffer.write32(pack_v68(paint, flatFlags)); in Flatten()
330 if (flatFlags & kHasEffects_FlatFlag) { in Flatten()
364 unsigned flatFlags = unpack_paint_flags(paint, buffer.readUInt(), font); in Unflatten_PreV68() local
373 if (flatFlags & kHasTypeface_FlatFlag) { in Unflatten_PreV68()
380 if (flatFlags & kHasEffects_FlatFlag) { in Unflatten_PreV68()
419 unsigned flatFlags = unpack_v68(paint, buffer.readUInt(), safe); in Unflatten() local
[all …]
DSkPictureRecord.cpp101 uint32_t flatFlags = 0; in recordSaveLayer() local
104 flatFlags |= SAVELAYERREC_HAS_BOUNDS; in recordSaveLayer()
108 flatFlags |= SAVELAYERREC_HAS_PAINT; in recordSaveLayer()
112 flatFlags |= SAVELAYERREC_HAS_BACKDROP; in recordSaveLayer()
116 flatFlags |= SAVELAYERREC_HAS_FLAGS; in recordSaveLayer()
120 flatFlags |= SAVELAYERREC_HAS_CLIPMASK; in recordSaveLayer()
124 flatFlags |= SAVELAYERREC_HAS_CLIPMATRIX; in recordSaveLayer()
129 this->addInt(flatFlags); in recordSaveLayer()
130 if (flatFlags & SAVELAYERREC_HAS_BOUNDS) { in recordSaveLayer()
133 if (flatFlags & SAVELAYERREC_HAS_PAINT) { in recordSaveLayer()
[all …]
DSkPicturePlayback.cpp550 const uint32_t flatFlags = reader->readInt(); in handleOp() local
552 if (flatFlags & SAVELAYERREC_HAS_BOUNDS) { in handleOp()
556 if (flatFlags & SAVELAYERREC_HAS_PAINT) { in handleOp()
559 if (flatFlags & SAVELAYERREC_HAS_BACKDROP) { in handleOp()
564 if (flatFlags & SAVELAYERREC_HAS_FLAGS) { in handleOp()
567 if (flatFlags & SAVELAYERREC_HAS_CLIPMASK) { in handleOp()
570 if (flatFlags & SAVELAYERREC_HAS_CLIPMATRIX) { in handleOp()
/external/skqp/src/core/
DSkPaint.cpp345 static uint32_t pack_v68(const SkPaint& paint, unsigned flatFlags) { in pack_v68() argument
354 packed |= shift_bits(flatFlags, 24, 8); in pack_v68()
379 uint8_t flatFlags = 0; in Flatten() local
387 flatFlags |= kHasEffects_FlatFlag; in Flatten()
394 buffer.write32(pack_v68(paint, flatFlags)); in Flatten()
396 if (flatFlags & kHasEffects_FlatFlag) { in Flatten()
430 unsigned flatFlags = unpack_paint_flags(paint, buffer.readUInt(), font); in Unflatten_PreV68() local
439 if (flatFlags & kHasTypeface_FlatFlag) { in Unflatten_PreV68()
446 if (flatFlags & kHasEffects_FlatFlag) { in Unflatten_PreV68()
485 unsigned flatFlags = unpack_v68(paint, buffer.readUInt(), safe); in Unflatten() local
[all …]
DSkPictureRecord.cpp101 uint32_t flatFlags = 0; in recordSaveLayer() local
104 flatFlags |= SAVELAYERREC_HAS_BOUNDS; in recordSaveLayer()
108 flatFlags |= SAVELAYERREC_HAS_PAINT; in recordSaveLayer()
112 flatFlags |= SAVELAYERREC_HAS_BACKDROP; in recordSaveLayer()
116 flatFlags |= SAVELAYERREC_HAS_FLAGS; in recordSaveLayer()
120 flatFlags |= SAVELAYERREC_HAS_CLIPMASK; in recordSaveLayer()
124 flatFlags |= SAVELAYERREC_HAS_CLIPMATRIX; in recordSaveLayer()
129 this->addInt(flatFlags); in recordSaveLayer()
130 if (flatFlags & SAVELAYERREC_HAS_BOUNDS) { in recordSaveLayer()
133 if (flatFlags & SAVELAYERREC_HAS_PAINT) { in recordSaveLayer()
[all …]
DSkPicturePlayback.cpp542 const uint32_t flatFlags = reader->readInt(); in handleOp() local
544 if (flatFlags & SAVELAYERREC_HAS_BOUNDS) { in handleOp()
548 if (flatFlags & SAVELAYERREC_HAS_PAINT) { in handleOp()
551 if (flatFlags & SAVELAYERREC_HAS_BACKDROP) { in handleOp()
556 if (flatFlags & SAVELAYERREC_HAS_FLAGS) { in handleOp()
559 if (flatFlags & SAVELAYERREC_HAS_CLIPMASK) { in handleOp()
562 if (flatFlags & SAVELAYERREC_HAS_CLIPMATRIX) { in handleOp()