Home | History | Annotate | Download | only in core

Lines Matching refs:fMCRec

334         fCurrLayer = canvas->fMCRec->fTopLayer;
636 fMCRec->reset(bounds);
640 static_cast<SkBitmapDevice*>(fMCRec->fLayer->fDevice)->setNewSize(bounds.size());
661 fMCRec = (MCRec*)fMCStack.push_back();
662 new (fMCRec) MCRec(fConservativeRasterClip);
665 fMCRec->fLayer = (DeviceCM*)fDeviceCMStorage;
668 fMCRec->fTopLayer = fMCRec->fLayer;
676 fMCRec->fLayer->fDevice = SkRef(device);
677 fMCRec->fRasterClip.setRect(device->getGlobalBounds());
787 return fMCRec->fFilter;
792 SkRefCnt_SafeAssign(fMCRec->fFilter, filter);
839 return fMCRec->fTopLayer->fDevice;
971 fMCRec->fRasterClip;
972 DeviceCM* layer = fMCRec->fTopLayer;
989 if (fMCRec->fDeferredSaveCount > 0) {
1012 fMCRec->fDeferredSaveCount += 1;
1019 SkASSERT(fMCRec->fDeferredSaveCount > 0);
1020 fMCRec->fDeferredSaveCount -= 1;
1025 if (fMCRec->fDeferredSaveCount > 0) {
1028 fMCRec->fDeferredSaveCount -= 1;
1055 new (newTop) MCRec(*fMCRec); // balanced in restore()
1056 fMCRec = newTop;
1076 const SkMatrix& ctm = fMCRec->fMatrix; // this->getTotalMatrix()
1094 fMCRec->fRasterClip.setEmpty();
1107 fMCRec->fRasterClip.setRect(ir);
1256 draw_filter_into_device(fMCRec->fTopLayer->fDevice, rec.fBackdrop, device, fMCRec->fMatrix);
1263 layer->fNext = fMCRec->fTopLayer;
1264 fMCRec->fLayer = layer;
1265 fMCRec->fTopLayer = layer; // this field is NOT an owner of layer
1287 DeviceCM* layer = fMCRec->fLayer; // may be null
1288 // now detach it from fMCRec so we can pop(). Gets freed after its drawn
1289 fMCRec->fLayer = nullptr;
1292 fMCRec->~MCRec(); // balanced in save()
1294 fMCRec = (MCRec*)fMCStack.back();
1453 fMCRec->fMatrix.preConcat(matrix);
1462 fMCRec->fMatrix = matrix;
1484 if (fMCRec->fRasterClip.isEmpty()) {
1493 return fMCRec->fRasterClip.setEmpty();
1502 const bool rectStaysRect = fMCRec->fMatrix.rectStaysRect();
1505 fMCRec->fMatrix.mapRect(&devR, rect);
1518 if (devR.round().contains(fMCRec->fRasterClip.getBounds())) {
1535 fMCRec->fRasterClip.op(devR, this->getTopLayerBounds(), op, isAA);
1560 if (rrect.transform(fMCRec->fMatrix, &transformedRRect)) {
1571 fMCRec->fRasterClip.op(transformedRRect, this->getTopLayerBounds(), op,
1586 if (!path.isInverseFillType() && fMCRec->fMatrix.rectStaysRect()) {
1610 if (fMCRec->fRasterClip.isEmpty()) {
1619 return fMCRec->fRasterClip.setEmpty();
1633 path.transform(fMCRec->fMatrix, &devPath);
1657 fMCRec->fRasterClip.op(devPath, this->getTopLayerBounds(), op, edgeStyle);
1675 fMCRec->fRasterClip.op(rgn, op);
1725 return fMCRec->fRasterClip.isEmpty();
1729 return fMCRec->fRasterClip.isRect();
1736 if (fMCRec->fRasterClip.isEmpty()) {
1740 if (fMCRec->fMatrix.hasPerspective()) {
1742 fMCRec->fMatrix.mapRect(&dst, rect);
1743 return !SkIRect::Intersects(dst.roundOut(), fMCRec->fRasterClip.getBounds());
1771 if (!fMCRec->fMatrix.invert(&inverse)) {
1791 const SkRasterClip& clip = fMCRec->fRasterClip;
1806 return fMCRec->fMatrix;
1810 return fMCRec->fRasterClip.forceGetBW();
2199 return ir.contains(fMCRec->fRasterClip.getBounds());
2590 SkDrawFilter* drawFilter = fMCRec->fFilter;
2591 fMCRec->fFilter = nullptr;
2602 fMCRec->fFilter = drawFilter;