Searched refs:backImage (Results 1 – 2 of 2) sorted by relevance
1114 auto backImage = device->snapBackImage(devBounds); in internalSaveBehind() local1115 if (!backImage) { in internalSaveBehind()1122 fMCRec->fBackImage.reset(new BackImage{std::move(backImage), devBounds.topLeft()}); in internalSaveBehind()1138 auto backImage = std::move(fMCRec->fBackImage); in internalRestore() local1149 if (backImage) { in internalRestore()1152 const int x = backImage->fLoc.x(); in internalRestore()1153 const int y = backImage->fLoc.y(); in internalRestore()1154 this->getTopDevice()->drawSpecial(backImage->fImage.get(), x, y, paint, in internalRestore()
1174 auto backImage = device->snapSpecial(devBounds, /* copy */ true); in internalSaveBehind() local1175 if (!backImage) { in internalSaveBehind()1183 std::make_unique<BackImage>(BackImage{std::move(backImage), devBounds.topLeft()}); in internalSaveBehind()1195 std::unique_ptr<BackImage> backImage = std::move(fMCRec->fBackImage); in internalRestore() local1211 if (backImage) { in internalRestore()1214 this->topDevice()->drawSpecial(backImage->fImage.get(), in internalRestore()1215 SkMatrix::Translate(backImage->fLoc), in internalRestore()