Lines Matching refs:SaveRecord

44 // A and B can be Element, SaveRecord, or Draw. Supported combinations are, order not mattering,
45 // (Element, Element), (Element, SaveRecord), (Element, Draw), and (SaveRecord, Draw).
420 bool contains(const SaveRecord& s) const { return false; }
451 void ClipStack::RawElement::markInvalid(const SaveRecord& current) {
456 void ClipStack::RawElement::restoreValid(const SaveRecord& current) {
474 bool ClipStack::RawElement::contains(const SaveRecord& s) const {
598 bool ClipStack::RawElement::combine(const RawElement& other, const SaveRecord& current) {
677 void ClipStack::RawElement::updateForElement(RawElement* added, const SaveRecord& current) {
742 ClipStack::Mask::Mask(const SaveRecord& current, const SkIRect& drawBounds)
761 bool ClipStack::Mask::appliesToDraw(const SaveRecord& current, const SkIRect& drawBounds) const {
777 // ClipStack::SaveRecord
779 ClipStack::SaveRecord::SaveRecord(const SkIRect& deviceBounds)
791 ClipStack::SaveRecord::SaveRecord(const SaveRecord& prior,
811 uint32_t ClipStack::SaveRecord::genID() const {
824 ClipStack::ClipState ClipStack::SaveRecord::state() const {
832 bool ClipStack::SaveRecord::contains(const ClipStack::Draw& draw) const {
836 bool ClipStack::SaveRecord::contains(const ClipStack::RawElement& element) const {
840 void ClipStack::SaveRecord::removeElements(RawElement::Stack* elements) {
846 void ClipStack::SaveRecord::restoreElements(RawElement::Stack* elements) {
847 // Presumably this SaveRecord is the new top of the stack, and so it owns the elements
861 void ClipStack::SaveRecord::invalidateMasks(GrProxyProvider* proxyProvider,
872 void ClipStack::SaveRecord::reset(const SkIRect& bounds) {
882 void ClipStack::SaveRecord::addShader(sk_sp<SkShader> shader) {
895 bool ClipStack::SaveRecord::addElement(RawElement&& toAdd, RawElement::Stack* elements) {
992 bool ClipStack::SaveRecord::appendElement(RawElement&& toAdd, RawElement::Stack* elements) {
1085 void ClipStack::SaveRecord::replaceWithElement(RawElement&& toAdd, RawElement::Stack* elements) {
1115 // SaveRecord::Stack (this conveniently keeps the size of ClipStack manageable). The max
1150 // to go through SaveRecord.
1166 SaveRecord& current = fSaves.back();
1185 const SaveRecord& current = this->currentSaveRecord();
1208 const SaveRecord& cs = this->currentSaveRecord();
1277 const SaveRecord& cs = this->currentSaveRecord();
1505 ClipStack::SaveRecord& ClipStack::writableSaveRecord(bool* wasDeferred) {
1506 SaveRecord& current = fSaves.back();
1532 SaveRecord& save = this->writableSaveRecord(&wasDeferred);
1569 SaveRecord& save = this->writableSaveRecord(&wasDeferred);
1594 const SaveRecord& current, const SkIRect& bounds,