Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/src/core/
DSkDevice.cpp35 SkBaseDevice::SkBaseDevice(const SkImageInfo& info, const SkSurfaceProps& surfaceProps) in SkBaseDevice() function in SkBaseDevice
43 void SkBaseDevice::setOrigin(const SkMatrix& globalCTM, int x, int y) { in setOrigin()
49 void SkBaseDevice::setGlobalCTM(const SkMatrix& ctm) { in setGlobalCTM()
56 bool SkBaseDevice::clipIsWideOpen() const { in clipIsWideOpen()
67 SkPixelGeometry SkBaseDevice::CreateInfo::AdjustGeometry(TileUsage tileUsage, SkPixelGeometry geo) { in AdjustGeometry()
85 void SkBaseDevice::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion()
106 void SkBaseDevice::drawArc(const SkRect& oval, SkScalar startAngle, in drawArc()
115 void SkBaseDevice::drawDRRect(const SkRRect& outer, in drawDRRect()
126 void SkBaseDevice::drawPatch(const SkPoint cubics[12], const SkColor colors[4], in drawPatch()
136 void SkBaseDevice::drawImageRect(const SkImage* image, const SkRect* src, in drawImageRect()
[all …]
DSkDevice.h28 class SkBaseDevice : public SkRefCnt {
30 SkBaseDevice(const SkImageInfo&, const SkSurfaceProps&);
240 virtual void drawDevice(SkBaseDevice*, int x, int y, const SkPaint&) = 0;
317 virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) { in onCreateDevice()
374 class SkNoPixelsDevice : public SkBaseDevice {
378 : SkBaseDevice(SkImageInfo::Make(bounds.width(), bounds.height(), kUnknown_SkColorType,
417 void drawDevice(SkBaseDevice*, int, int, const SkPaint&) override {} in drawDevice() argument
423 typedef SkBaseDevice INHERITED;
428 SkAutoDeviceCTMRestore(SkBaseDevice* device, const SkMatrix& ctm) in SkAutoDeviceCTMRestore()
439 SkBaseDevice* fDevice;
DSkClipStackDevice.h14 class SkClipStackDevice : public SkBaseDevice {
17 : SkBaseDevice(info, props) in SkClipStackDevice()
45 typedef SkBaseDevice INHERITED;
DSkCanvas.cpp84 SkBaseDevice* base = this->getDevice(); in wouldOverwriteEntireSurface()
85 SkBaseDevice* top = this->getTopDevice(); in wouldOverwriteEntireSurface()
183 sk_sp<SkBaseDevice> fDevice;
190 DeviceCM(sk_sp<SkBaseDevice> device, const SkPaint* paint, const SkMatrix& stashed, in DeviceCM()
292 SkBaseDevice* fDevice;
303 SkBaseDevice* device = layer->fDevice.get(); \
492 void SkCanvas::init(sk_sp<SkBaseDevice> device) { in init()
549 SkCanvas::SkCanvas(sk_sp<SkBaseDevice> device) in SkCanvas()
564 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps, nullptr, nullptr)); in SkCanvas()
576 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps, hndl, nullptr)); in SkCanvas()
[all …]
DSkBitmapDevice.h35 class SkBitmapDevice : public SkBaseDevice {
106 void drawDevice(SkBaseDevice*, int x, int y, const SkPaint&) override;
156 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
169 typedef SkBaseDevice INHERITED;
DSkDraw.h23 class SkBaseDevice; variable
38 const SkPaint&, SkBaseDevice*) const;
DSkGlyphRun.h21 class SkBaseDevice; variable
122 void drawTextBlob(const SkPaint& paint, const SkTextBlob& blob, SkPoint origin, SkBaseDevice*);
/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.h37 class SkBaseDevice : public SkRefCnt, public SkMatrixProvider {
39 SkBaseDevice(const SkImageInfo&, const SkSurfaceProps&);
139 SkMatrix getRelativeTransform(const SkBaseDevice&) const;
312 virtual void drawDevice(SkBaseDevice*, const SkSamplingOptions&, const SkPaint&);
400 virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) { in onCreateDevice()
469 class SkNoPixelsDevice : public SkBaseDevice {
473 : SkBaseDevice(SkImageInfo::Make(bounds.size(), kUnknown_SkColorType,
521 void drawDevice(SkBaseDevice*, const SkSamplingOptions&, const SkPaint&) override {} in drawDevice() argument
559 using INHERITED = SkBaseDevice;
564 SkAutoDeviceTransformRestore(SkBaseDevice* device, const SkMatrix& localToDevice) in SkAutoDeviceTransformRestore()
[all …]
DSkClipStackDevice.h14 class SkClipStackDevice : public SkBaseDevice {
17 : SkBaseDevice(info, props) in SkClipStackDevice()
46 using INHERITED = SkBaseDevice;
DSkBitmapDevice.h35 class SkBitmapDevice : public SkBaseDevice {
103 void drawDevice(SkBaseDevice*, const SkSamplingOptions&, const SkPaint&) override;
151 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
164 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 …]
DSkDraw.h22 class SkBaseDevice; variable
39 const SkPaint&, SkBaseDevice*) const;
/third_party/flutter/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));
87 sk_sp<SkBaseDevice> gpuDev(SkGpuDevice::Make(context, SkBudgeted::kNo, ii, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/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.h43 class SkBaseDevice; variable
185 explicit SkCanvas(sk_sp<SkBaseDevice> device);
2319 SkBaseDevice* baseDevice() const { in baseDevice()
2326 SkBaseDevice* topDevice() const;
2332 sk_sp<SkBaseDevice> fDevice;
2337 Layer(sk_sp<SkBaseDevice> device, sk_sp<SkImageFilter> imageFilter, const SkPaint& paint);
2355 SkBaseDevice* fDevice;
2361 MCRec(SkBaseDevice* device);
2365 void newLayer(sk_sp<SkBaseDevice> layerDevice,
2369 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
/third_party/flutter/skia/src/svg/
DSkSVGDevice.h18 static sk_sp<SkBaseDevice> Make(const SkISize& size, std::unique_ptr<SkXMLWriter>,
42 void drawDevice(SkBaseDevice*, int x, int y,
/third_party/skia/src/gpu/
DBaseDevice.h36 class BaseDevice : public SkBaseDevice {
106 using INHERITED = SkBaseDevice;
/third_party/flutter/skia/include/core/
DSkCanvas.h36 class SkBaseDevice; variable
170 explicit SkCanvas(sk_sp<SkBaseDevice> device);
2505 SkBaseDevice* getTopDevice() const;
2527 SkBaseDevice* device() const;
2548 static void DrawDeviceWithFilter(SkBaseDevice* src, const SkImageFilter* filter,
2549 SkBaseDevice* dst, const SkIPoint& dstOrigin,
2567 SkBaseDevice* getDevice() const;
2649 void setupDevice(SkBaseDevice*);
2651 void init(sk_sp<SkBaseDevice>);
2665 void internalDrawDevice(SkBaseDevice*, int x, int y, const SkPaint*, SkImage* clipImage,
/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/flutter/skia/src/pdf/
DSkPDFDevice.h93 void drawDevice(SkBaseDevice*, int x, int y,
145 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
/third_party/flutter/skia/src/xps/
DSkXPSDevice.h102 void drawDevice(SkBaseDevice*, int x, int y,
273 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;
/third_party/flutter/skia/src/android/
DSkAndroidFrameworkUtils.cpp33 SkBaseDevice* device = canvas->getDevice(); in clipWithStencil()

123