Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrTRecorder.h60 fLastItem(nullptr) {} in GrTRecorder()
67 bool empty() { return !fLastItem; } in empty()
71 return *reinterpret_cast<TBase*>(fLastItem); in back()
157 void* fLastItem; // really a ptr to TBase variable
173 SkASSERT(fLastItem); in pop_back()
175 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue); in pop_back()
177 reinterpret_cast<TBase*>(fLastItem)->~TBase(); in pop_back()
184 fLastItem = nullptr; in pop_back()
193 fLastItem = &(*fTailBlock)[fTailBlock->fBack - lastItemLength + length_of<Header>::kValue]; in pop_back()
202 if (fLastItem) { in alloc_back()
[all …]
/external/skia/src/gpu/
DGrTRecorder.h60 fLastItem(nullptr) {} in GrTRecorder()
67 bool empty() { return !fLastItem; } in empty()
71 return *reinterpret_cast<TBase*>(fLastItem); in back()
157 void* fLastItem; // really a ptr to TBase variable
173 SkASSERT(fLastItem); in pop_back()
175 reinterpret_cast<TAlign*>(fLastItem) - length_of<Header>::kValue); in pop_back()
177 reinterpret_cast<TBase*>(fLastItem)->~TBase(); in pop_back()
184 fLastItem = nullptr; in pop_back()
193 fLastItem = &(*fTailBlock)[fTailBlock->fBack - lastItemLength + length_of<Header>::kValue]; in pop_back()
202 if (fLastItem) { in alloc_back()
[all …]