Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DSkiaCanvas.h210 struct SaveRec { struct
215 SaveRec(int saveCount, SaveFlags::Flags saveFlags, size_t clipIndex) in SaveRec() argument
219 const SaveRec* currentSaveRec() const;
235 std::unique_ptr<std::deque<SaveRec>> mSaveStack; // Lazily allocated, tracks partial saves.
DSkiaCanvas.cpp189 const SaveRec* rec = this->currentSaveRec(); in restore()
257 const SkiaCanvas::SaveRec* SkiaCanvas::currentSaveRec() const { in currentSaveRec()
258 const SaveRec* rec = (mSaveStack && !mSaveStack->empty()) in currentSaveRec()
259 ? static_cast<const SaveRec*>(&mSaveStack->back()) in currentSaveRec()
292 mSaveStack.reset(new std::deque<SaveRec>()); in recordPartialSave()
304 const SaveRec* rec = this->currentSaveRec(); in recordClip()
328 const SaveRec* rec = this->currentSaveRec(); in applyPersistentClips()