Searched refs:flatFlags (Results 1 – 6 of 6) sorted by relevance
/third_party/flutter/skia/src/core/ |
D | SkPaint.cpp | 279 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 320 flatFlags |= kHasEffects_FlatFlag; in Flatten() 327 buffer.write32(pack_v68(paint, flatFlags)); in Flatten() 329 if (flatFlags & kHasEffects_FlatFlag) { in Flatten() 363 unsigned flatFlags = unpack_paint_flags(paint, buffer.readUInt(), font); in Unflatten_PreV68() local 372 if (flatFlags & kHasTypeface_FlatFlag) { in Unflatten_PreV68() 379 if (flatFlags & kHasEffects_FlatFlag) { in Unflatten_PreV68() 417 unsigned flatFlags = unpack_v68(paint, buffer.readUInt(), safe); in Unflatten() local [all …]
|
D | SkPictureRecord.cpp | 101 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 …]
|
D | SkPicturePlayback.cpp | 601 const uint32_t flatFlags = reader->readInt(); in handleOp() local 603 if (flatFlags & SAVELAYERREC_HAS_BOUNDS) { in handleOp() 607 if (flatFlags & SAVELAYERREC_HAS_PAINT) { in handleOp() 610 if (flatFlags & SAVELAYERREC_HAS_BACKDROP) { in handleOp() 615 if (flatFlags & SAVELAYERREC_HAS_FLAGS) { in handleOp() 618 if (flatFlags & SAVELAYERREC_HAS_CLIPMASK) { in handleOp() 621 if (flatFlags & SAVELAYERREC_HAS_CLIPMATRIX) { in handleOp()
|
/third_party/skia/src/core/ |
D | SkPaint.cpp | 250 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()
|
D | SkPictureRecord.cpp | 114 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 …]
|
D | SkPicturePlayback.cpp | 644 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()
|