Lines Matching refs:SkBaseDevice
84 SkBaseDevice* base = this->getDevice();
85 SkBaseDevice* top = this->getTopDevice();
175 /* This is the record we keep for each SkBaseDevice that the user installs.
184 sk_sp<SkBaseDevice> fDevice;
191 DeviceCM(sk_sp<SkBaseDevice> device, const SkPaint* paint, const SkMatrix& stashed,
293 SkBaseDevice* fDevice;
304 SkBaseDevice* device = layer->fDevice.get(); \
550 void SkCanvas::init(sk_sp<SkBaseDevice> device) {
607 SkCanvas::SkCanvas(sk_sp<SkBaseDevice> device)
622 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps, nullptr, nullptr));
634 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps, hndl, nullptr));
650 sk_sp<SkBaseDevice> device(new SkBitmapDevice(tmp, fProps, nullptr, nullptr));
671 SkBaseDevice* device = this->getDevice();
678 SkBaseDevice* d = this->getDevice();
683 SkBaseDevice* d = this->getTopDevice();
690 SkBaseDevice* SkCanvas::getDevice() const {
697 SkBaseDevice* SkCanvas::getTopDevice() const {
702 SkBaseDevice* device = this->getDevice();
725 SkBaseDevice* device = this->getDevice();
929 void SkCanvas::DrawDeviceWithFilter(SkBaseDevice* src, const SkImageFilter* filter,
930 SkBaseDevice* dst, const SkIPoint& dstOrigin,
1054 SkBaseDevice* priorDevice = this->getTopDevice();
1062 sk_sp<SkBaseDevice> newDevice;
1065 const SkBaseDevice::TileUsage usage = SkBaseDevice::kNever_TileUsage;
1068 const SkBaseDevice::CreateInfo createInfo = SkBaseDevice::CreateInfo(info, usage, geo,
1128 SkBaseDevice* device = this->getTopDevice();
1217 SkBaseDevice* dev = this->getDevice();
1226 SkBaseDevice* dev = this->getDevice();
1239 SkBaseDevice* dev = this->getDevice();
1255 SkBaseDevice* dev = this->getDevice();
1277 SkBaseDevice* dev = this->getTopDevice();
1283 void SkCanvas::internalDrawDevice(SkBaseDevice* srcDev, int x, int y, const SkPaint* paint,
1293 SkBaseDevice* dstDev = iter.fDevice;
1497 const SkBaseDevice* device = this->getDevice();
1517 void accumulate(SkBaseDevice* device, SkRegion* rgn) {
1541 SkBaseDevice* dev = this->getTopDevice();
1543 return !dev || dev->onGetClipType() == SkBaseDevice::kEmpty_ClipType;
1548 SkBaseDevice* dev = this->getTopDevice();
1550 return dev && dev->onGetClipType() == SkBaseDevice::kRect_ClipType;
1657 SkBaseDevice* dev = this->getTopDevice();
1662 SkBaseDevice* device = this->getTopDevice();
2150 SkBaseDevice* dev = iter.fDevice;
2846 SkBaseDevice* SkCanvas::LayerIter::device() const {
2895 SkNoDrawCanvas::SkNoDrawCanvas(sk_sp<SkBaseDevice> device)