Lines Matching refs:SkMallocPixelRef
8 #include "SkMallocPixelRef.h"
35 SkMallocPixelRef* SkMallocPixelRef::NewDirect(const SkImageInfo& info,
42 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, false));
45 SkMallocPixelRef* SkMallocPixelRef::NewAllocate(const SkImageInfo& info,
79 return SkNEW_ARGS(SkMallocPixelRef, (info, addr, rowBytes, ctable, true));
84 SkMallocPixelRef::SkMallocPixelRef(const SkImageInfo& info, void* storage,
105 SkMallocPixelRef::~SkMallocPixelRef() {
112 void* SkMallocPixelRef::onLockPixels(SkColorTable** ctable) {
117 void SkMallocPixelRef::onUnlockPixels() {
121 size_t SkMallocPixelRef::getAllocatedSizeInBytes() const {
125 void SkMallocPixelRef::flatten(SkFlattenableWriteBuffer& buffer) const {
140 SkMallocPixelRef::SkMallocPixelRef(SkFlattenableReadBuffer& buffer)