Home
last modified time | relevance | path

Searched refs:SkBaseDevice (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/src/core/
DSkDevice.cpp37 SkBaseDevice::SkBaseDevice(const SkImageInfo& info, const SkSurfaceProps& surfaceProps) in SkBaseDevice() function in SkBaseDevice
45 bool SkBaseDevice::setDeviceCoordinateSystem(const SkM44& deviceToGlobal, in setDeviceCoordinateSystem()
66 void SkBaseDevice::setGlobalCTM(const SkM44& ctm) { in setGlobalCTM()
74 bool SkBaseDevice::isPixelAlignedToGlobal() const { in isPixelAlignedToGlobal()
83 SkIPoint SkBaseDevice::getOrigin() const { in getOrigin()
95 SkMatrix SkBaseDevice::getRelativeTransform(const SkBaseDevice& dstDevice) const { in getRelativeTransform()
101 bool SkBaseDevice::getLocalToMarker(uint32_t id, SkM44* localToMarker) const { in getLocalToMarker()
120 void SkBaseDevice::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion()
141 void SkBaseDevice::drawArc(const SkRect& oval, SkScalar startAngle, in drawArc()
150 void SkBaseDevice::drawDRRect(const SkRRect& outer, in drawDRRect()
[all …]
DSkDevice.h38 class SkBaseDevice : public SkRefCnt, public SkMatrixProvider {
40 SkBaseDevice(const SkImageInfo&, const SkSurfaceProps&);
140 SkMatrix getRelativeTransform(const SkBaseDevice&) const;
313 virtual void drawDevice(SkBaseDevice*, const SkSamplingOptions&, const SkPaint&);
403 virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) { in onCreateDevice()
472 class SkNoPixelsDevice : public SkBaseDevice {
476 : SkBaseDevice(SkImageInfo::Make(bounds.size(), kUnknown_SkColorType,
524 void drawDevice(SkBaseDevice*, const SkSamplingOptions&, const SkPaint&) override {} in drawDevice() argument
564 using INHERITED = SkBaseDevice;
569 SkAutoDeviceTransformRestore(SkBaseDevice* device, const SkMatrix& localToDevice) in SkAutoDeviceTransformRestore()
[all …]
DSkClipStackDevice.h15 class SkClipStackDevice : public SkBaseDevice {
18 : SkBaseDevice(info, props) in SkClipStackDevice()
49 using INHERITED = SkBaseDevice;
DSkCanvas.cpp98 const SkBaseDevice* base = this->baseDevice(); in wouldOverwriteEntireSurface()
99 const SkBaseDevice* top = this->topDevice(); in wouldOverwriteEntireSurface()
192 SkCanvas::Layer::Layer(sk_sp<SkBaseDevice> device, in Layer()
205 SkCanvas::MCRec::MCRec(SkBaseDevice* device) : fDevice(device) { in MCRec()
217 void SkCanvas::MCRec::newLayer(sk_sp<SkBaseDevice> layerDevice, in newLayer()
225 void SkCanvas::MCRec::reset(SkBaseDevice* device) { in reset()
390 void SkCanvas::init(sk_sp<SkBaseDevice> device) { in init()
438 SkCanvas::SkCanvas(sk_sp<SkBaseDevice> device) in SkCanvas()
450 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps, nullptr, nullptr)); in SkCanvas()
461 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps, hndl, nullptr)); in SkCanvas()
[all …]
DSkBitmapDevice.h36 class SkBitmapDevice : public SkBaseDevice {
104 void drawDevice(SkBaseDevice*, const SkSamplingOptions&, const SkPaint&) override;
154 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
167 using INHERITED = SkBaseDevice;
DSkDraw.h22 class SkBaseDevice; variable
39 const SkPaint&, SkBaseDevice*) const;
DSkMatrixProvider.h39 friend class SkBaseDevice;
DSkBitmapDevice.cpp304 SkBaseDevice* SkBitmapDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) { in onCreateDevice()
567 void SkBitmapDevice::drawDevice(SkBaseDevice* device, const SkSamplingOptions& sampling, in drawDevice()
709 SkBaseDevice::ClipType SkBitmapDevice::onGetClipType() const { in onGetClipType()
DSkClipStackDevice.cpp107 SkBaseDevice::ClipType SkClipStackDevice::onGetClipType() const { in onGetClipType()
DSkGlyphRun.h23 class SkBaseDevice; variable
DSkRemoteGlyphCache.cpp795 SkBaseDevice* onCreateDevice(const CreateInfo& cinfo, const SkPaint*) override { in onCreateDevice()
840 sk_sp<SkBaseDevice> trackingDevice(new GlyphTrackingDevice(SkISize::Make(width, height), in makeAnalysisCanvas()
/third_party/skia/tests/
DDeviceTest.cpp26 static sk_sp<SkSpecialImage> MakeSpecial(SkBaseDevice* dev, const SkBitmap& bm) { in MakeSpecial()
30 static sk_sp<SkSpecialImage> MakeSpecial(SkBaseDevice* dev, SkImage* img) { in MakeSpecial()
34 static sk_sp<SkSpecialImage> SnapSpecial(SkBaseDevice* dev) { in SnapSpecial()
47 sk_sp<SkBaseDevice> bmDev(SkBitmapDevice::Create(ii));
/third_party/skia/include/core/
DSkCanvas.h44 class SkBaseDevice; variable
189 explicit SkCanvas(sk_sp<SkBaseDevice> device);
2361 SkBaseDevice* baseDevice() const { in baseDevice()
2368 SkBaseDevice* topDevice() const;
2374 sk_sp<SkBaseDevice> fDevice;
2379 Layer(sk_sp<SkBaseDevice> device, sk_sp<SkImageFilter> imageFilter, const SkPaint& paint);
2397 SkBaseDevice* fDevice;
2403 MCRec(SkBaseDevice* device);
2407 void newLayer(sk_sp<SkBaseDevice> layerDevice,
2411 void reset(SkBaseDevice* device);
[all …]
/third_party/skia/experimental/graphite/src/
DDevice.h29 class Device final : public SkBaseDevice {
65 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
107 void drawDevice(SkBaseDevice*, const SkSamplingOptions&, const SkPaint&) override {} in drawDevice() argument
DDevice.cpp67 : SkBaseDevice(dc->imageInfo(), SkSurfaceProps()) in Device()
79 SkBaseDevice* Device::onCreateDevice(const CreateInfo& info, const SkPaint*) { in onCreateDevice()
/third_party/skia/src/gpu/
DBaseDevice.h36 class BaseDevice : public SkBaseDevice {
106 using INHERITED = SkBaseDevice;
/third_party/skia/src/pdf/
DSkPDFDevice.h111 void drawDevice(SkBaseDevice*, const SkSamplingOptions&, const SkPaint&) override;
140 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
/third_party/skia/src/xps/
DSkXPSDevice.h99 void drawDevice(SkBaseDevice*, const SkSamplingOptions&, const SkPaint&) override;
271 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
DSkXPSDevice.cpp1177 static SkIRect size(const SkBaseDevice& dev) { return {0, 0, dev.width(), dev.height()}; } in size()
1965 void SkXPSDevice::drawDevice(SkBaseDevice* dev, const SkSamplingOptions&, const SkPaint&) { in drawDevice()
1983 SkBaseDevice* SkXPSDevice::onCreateDevice(const CreateInfo& info, const SkPaint*) { in onCreateDevice()
1986 if (SkBaseDevice::kGeneral_Usage == info.fUsage) { in onCreateDevice()
/third_party/skia/src/gpu/v1/
DDevice_v1.h130 void drawDevice(SkBaseDevice*, const SkSamplingOptions&, const SkPaint&) override;
195 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
DDevice.cpp307 SkBaseDevice::ClipType Device::onGetClipType() const { in onGetClipType()
739 void Device::drawDevice(SkBaseDevice* device, in drawDevice()
994 SkBaseDevice* Device::onCreateDevice(const CreateInfo& cinfo, const SkPaint*) { in onCreateDevice()
/third_party/skia/src/svg/
DSkSVGDevice.h20 static sk_sp<SkBaseDevice> Make(const SkISize& size, std::unique_ptr<SkXMLWriter>,
DSkSVGDevice.cpp685 sk_sp<SkBaseDevice> SkSVGDevice::Make(const SkISize& size, std::unique_ptr<SkXMLWriter> writer, in Make()
687 return writer ? sk_sp<SkBaseDevice>(new SkSVGDevice(size, std::move(writer), flags)) in Make()
/third_party/skia/include/utils/
DSkNoDrawCanvas.h30 explicit SkNoDrawCanvas(sk_sp<SkBaseDevice> device);
/third_party/skia/src/utils/
DSkCanvasStateUtils.cpp181 SkBaseDevice* device = canvas->topDevice(); in CaptureCanvasState()

12