Lines Matching defs:saveLayer
145 int SkMatrixClipStateMgr::saveLayer(const SkRect* bounds, const SkPaint* paint,
153 // Since the saveLayer call draws something we need to potentially dump
165 fCurMCState->fExpectedDepth++; // 1 for saveLayer
171 // TODO: recycle these rather then new & deleting them on every saveLayer/
188 fPicRecord->recordRestore(); // Close the open block inside the saveLayer
197 // The saveLayer's don't carry any matrix or clip state in the
198 // new scheme so make sure the saveLayer's recordRestore doesn't
200 fPicRecord->recordRestore(false); // close of saveLayer
269 // Don't write a restore if the open state is one in which a saveLayer
270 // is nested. The save after the saveLayer's restore will close it.
301 // Loop back across the MC states until the last saveLayer. The MC
302 // state in front of the saveLayer has already been written out.
314 // There was no saveLayer in the MC stack so we need to output them all