Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkResourceCache.cpp75 class SkOneShotDiscardablePixelRef : public SkPixelRef { class
77 SK_DECLARE_INST_COUNT(SkOneShotDiscardablePixelRef)
79 SkOneShotDiscardablePixelRef(const SkImageInfo&, SkDiscardableMemory*, size_t rowBytes);
80 ~SkOneShotDiscardablePixelRef();
95 SkOneShotDiscardablePixelRef::SkOneShotDiscardablePixelRef(const SkImageInfo& info, in SkOneShotDiscardablePixelRef() function in SkOneShotDiscardablePixelRef
106 SkOneShotDiscardablePixelRef::~SkOneShotDiscardablePixelRef() { in ~SkOneShotDiscardablePixelRef()
110 bool SkOneShotDiscardablePixelRef::onNewLockPixels(LockRec* rec) { in onNewLockPixels()
137 void SkOneShotDiscardablePixelRef::onUnlockPixels() { in onUnlockPixels()
142 size_t SkOneShotDiscardablePixelRef::getAllocatedSizeInBytes() const { in getAllocatedSizeInBytes()
177 bitmap->setPixelRef(SkNEW_ARGS(SkOneShotDiscardablePixelRef, in allocPixelRef()