Lines Matching refs:SkBaseDevice
54 class SkNoPixelsDevice : public SkBaseDevice {
57 : SkBaseDevice(SkImageInfo::MakeUnknown(bounds.width(), bounds.height()), props) in SkNoPixelsDevice()
99 void drawDevice(SkBaseDevice*, int, int, const SkPaint&) override {} in drawDevice() argument
103 typedef SkBaseDevice INHERITED;
133 SkBaseDevice* base = this->getDevice(); in wouldOverwriteEntireSurface()
134 SkBaseDevice* top = this->getTopDevice(); in wouldOverwriteEntireSurface()
249 sk_sp<SkBaseDevice> fDevice;
256 DeviceCM(sk_sp<SkBaseDevice> device, const SkPaint* paint, const SkMatrix& stashed, in DeviceCM()
353 SkBaseDevice* fDevice;
364 SkBaseDevice* device = layer->fDevice.get(); \
629 SkBaseDevice* SkCanvas::init(SkBaseDevice* device, InitFlags flags) { in init()
692 SkCanvas::SkCanvas(SkBaseDevice* device) in SkCanvas()
701 SkCanvas::SkCanvas(SkBaseDevice* device, InitFlags flags) in SkCanvas()
716 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps)); in SkCanvas()
728 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps, hndl)); in SkCanvas()
744 sk_sp<SkBaseDevice> device(new SkBitmapDevice(tmp, fProps, nullptr)); in SkCanvas()
788 SkBaseDevice* device = this->getDevice(); in onFlush()
795 SkBaseDevice* d = this->getDevice(); in getBaseLayerSize()
800 SkBaseDevice* d = this->getTopDevice(); in getTopLayerBounds()
807 SkBaseDevice* SkCanvas::getDevice() const { in getDevice()
814 SkBaseDevice* SkCanvas::getTopDevice() const { in getTopDevice()
819 SkBaseDevice* device = this->getDevice(); in readPixels()
846 SkBaseDevice* device = this->getDevice(); in writePixels()
1017 void SkCanvas::DrawDeviceWithFilter(SkBaseDevice* src, const SkImageFilter* filter, in DrawDeviceWithFilter()
1018 SkBaseDevice* dst, const SkIPoint& dstOrigin, in DrawDeviceWithFilter()
1123 SkBaseDevice* priorDevice = this->getTopDevice(); in internalSaveLayer()
1132 sk_sp<SkBaseDevice> newDevice; in internalSaveLayer()
1136 const SkBaseDevice::TileUsage usage = SkBaseDevice::kNever_TileUsage; in internalSaveLayer()
1137 const SkBaseDevice::CreateInfo createInfo = SkBaseDevice::CreateInfo(info, usage, geo, in internalSaveLayer()
1234 SkBaseDevice* dev = this->getDevice(); in onNewSurface()
1243 SkBaseDevice* dev = this->getDevice(); in onImageInfo()
1256 SkBaseDevice* dev = this->getDevice(); in onGetProps()
1272 SkBaseDevice* dev = this->getDevice(); in onPeekPixels()
1294 SkBaseDevice* dev = this->getTopDevice(); in onAccessTopLayerPixels()
1300 void SkCanvas::internalDrawDevice(SkBaseDevice* srcDev, int x, int y, const SkPaint* paint, in internalDrawDevice()
1310 SkBaseDevice* dstDev = iter.fDevice; in internalDrawDevice()
1511 const SkBaseDevice* device = this->getDevice(); in validateClip()
1531 void accumulate(SkBaseDevice* device, SkRegion* rgn) { in accumulate()
1555 SkBaseDevice* dev = this->getTopDevice(); in isClipEmpty()
1557 return !dev || dev->onGetClipType() == SkBaseDevice::kEmpty_ClipType; in isClipEmpty()
1562 SkBaseDevice* dev = this->getTopDevice(); in isClipRect()
1564 return dev && dev->onGetClipType() == SkBaseDevice::kRect_ClipType; in isClipRect()
1673 SkBaseDevice* dev = this->getTopDevice(); in internal_private_accessTopLayerRenderTargetContext()
1678 SkBaseDevice* device = this->getTopDevice(); in getGrContext()
2442 SkDeviceFilteredPaint(SkBaseDevice* device, const SkPaint& paint) { in SkDeviceFilteredPaint()
2845 SkBaseDevice* SkCanvas::LayerIter::device() const { in device()