Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPictureRecord.cpp81 uint32_t flatFlags = 0; in recordSaveLayer() local
84 flatFlags |= SAVELAYERREC_HAS_BOUNDS; in recordSaveLayer()
88 flatFlags |= SAVELAYERREC_HAS_PAINT; in recordSaveLayer()
92 flatFlags |= SAVELAYERREC_HAS_BACKDROP; in recordSaveLayer()
96 flatFlags |= SAVELAYERREC_HAS_FLAGS; in recordSaveLayer()
101 this->addInt(flatFlags); in recordSaveLayer()
102 if (flatFlags & SAVELAYERREC_HAS_BOUNDS) { in recordSaveLayer()
105 if (flatFlags & SAVELAYERREC_HAS_PAINT) { in recordSaveLayer()
108 if (flatFlags & SAVELAYERREC_HAS_BACKDROP) { in recordSaveLayer()
114 if (flatFlags & SAVELAYERREC_HAS_FLAGS) { in recordSaveLayer()
DSkPicturePlayback.cpp489 const uint32_t flatFlags = reader->readInt(); in handleOp() local
490 if (flatFlags & SAVELAYERREC_HAS_BOUNDS) { in handleOp()
493 if (flatFlags & SAVELAYERREC_HAS_PAINT) { in handleOp()
496 if (flatFlags & SAVELAYERREC_HAS_BACKDROP) { in handleOp()
500 if (flatFlags & SAVELAYERREC_HAS_FLAGS) { in handleOp()
DSkPaint.cpp1859 unsigned filter, unsigned flatFlags) { in pack_paint_flags() argument
1864 ASSERT_FITS_IN(flatFlags, kFlatFlags_BPF); in pack_paint_flags()
1868 return (flags << 16) | (hint << 14) | (align << 12) | (filter << 10) | flatFlags; in pack_paint_flags()
1889 uint8_t flatFlags = 0; in flatten() local
1891 flatFlags |= kHasTypeface_FlatFlag; in flatten()
1902 flatFlags |= kHasEffects_FlatFlag; in flatten()
1916 this->getFilterQuality(), flatFlags); in flatten()
1922 if (flatFlags & kHasTypeface_FlatFlag) { in flatten()
1925 if (flatFlags & kHasEffects_FlatFlag) { in flatten()
1960 unsigned flatFlags = unpack_paint_flags(this, *pod++); in unflatten() local
[all …]