Home
last modified time | relevance | path

Searched refs:kSizeInMemory (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/core/
DSkRRect.cpp459 SkASSERT(kSizeInMemory == sizeof(SkRect) + sizeof(fRadii)); in writeToMemory()
463 return kSizeInMemory; in writeToMemory()
467 if (length < kSizeInMemory) { in readFromMemory()
472 SkASSERT(sizeof(storage) == kSizeInMemory); in readFromMemory()
475 memcpy(storage, buffer, kSizeInMemory); in readFromMemory()
479 return kSizeInMemory; in readFromMemory()
DSkPictureRecord.cpp343 size_t size = 1 * kUInt32Size + SkRRect::kSizeInMemory + 1 * kUInt32Size; in recordClipRRect()
468 size_t size = 2 * kUInt32Size + SkRRect::kSizeInMemory; in onDrawRRect()
478 size_t size = 2 * kUInt32Size + SkRRect::kSizeInMemory * 2; in onDrawDRRect()
/external/skia/src/gpu/
DGrShape.cpp127 SkASSERT(0 == SkRRect::kSizeInMemory % sizeof(uint32_t)); in unstyledKeySize()
129 return SkRRect::kSizeInMemory / sizeof(uint32_t) + 1; in unstyledKeySize()
163 key += SkRRect::kSizeInMemory / sizeof(uint32_t); in writeUnstyledKey()
/external/skia/include/core/
DSkRRect.h293 kSizeInMemory = 12 * sizeof(SkScalar) enumerator
DSkWriter32.h130 rrect.writeToMemory(this->reserve(SkRRect::kSizeInMemory)); in writeRRect()
/external/skia/src/pipe/
DSkPipeReader.cpp107 rrect.readFromMemory(reader.skip(SkRRect::kSizeInMemory), SkRRect::kSizeInMemory); in read_rrect()
DSkPipeCanvas.cpp24 char tmp[SkRRect::kSizeInMemory]; in write_rrect()
26 writer->write(tmp, SkRRect::kSizeInMemory); in write_rrect()