Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkDevice.cpp30 SkBaseDevice::SkBaseDevice(const SkImageInfo& info, const SkSurfaceProps& surfaceProps) in SkBaseDevice() function in SkBaseDevice
38 void SkBaseDevice::setOrigin(const SkMatrix& globalCTM, int x, int y) { in setOrigin()
44 void SkBaseDevice::setGlobalCTM(const SkMatrix& ctm) { in setGlobalCTM()
51 bool SkBaseDevice::clipIsWideOpen() const { in clipIsWideOpen()
62 SkPixelGeometry SkBaseDevice::CreateInfo::AdjustGeometry(const SkImageInfo& info, in AdjustGeometry()
85 void SkBaseDevice::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion()
105 void SkBaseDevice::drawArc(const SkRect& oval, SkScalar startAngle, in drawArc()
114 void SkBaseDevice::drawDRRect(const SkRRect& outer, in drawDRRect()
127 void SkBaseDevice::drawPatch(const SkPoint cubics[12], const SkColor colors[4], in drawPatch()
138 void SkBaseDevice::drawTextBlob(const SkTextBlob* blob, SkScalar x, SkScalar y, in drawTextBlob()
[all …]
DSkClipStackDevice.h14 class SK_API SkClipStackDevice : public SkBaseDevice {
17 : SkBaseDevice(info, props) in SkClipStackDevice()
45 typedef SkBaseDevice INHERITED;
DSkCanvas.cpp54 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(); \
[all …]
DSkBitmapDevice.h36 class SK_API SkBitmapDevice : public SkBaseDevice {
111 void drawDevice(SkBaseDevice*, int x, int y, const SkPaint&) override;
156 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
166 typedef SkBaseDevice INHERITED;
DSkDevice.h27 class SK_API SkBaseDevice : public SkRefCnt {
29 SkBaseDevice(const SkImageInfo&, const SkSurfaceProps&);
259 virtual void drawDevice(SkBaseDevice*, int x, int y,
341 virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) { in onCreateDevice()
396 SkAutoDeviceCTMRestore(SkBaseDevice* device, const SkMatrix& ctm) in SkAutoDeviceCTMRestore()
407 SkBaseDevice* fDevice;
DSkDraw.h22 class SkBaseDevice; variable
38 const SkPaint&, SkBaseDevice*) const;
DSkBitmapDevice.cpp131 SkBaseDevice* SkBitmapDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint*) { in onCreateDevice()
376 void SkBitmapDevice::drawDevice(SkBaseDevice* device, int x, int y, const SkPaint& paint) { in drawDevice()
387 SkAutoDeviceClipRestore(SkBaseDevice* device, const SkIRect& clip) in SkAutoDeviceClipRestore()
401 SkBaseDevice* fDevice;
598 SkBaseDevice::ClipType SkBitmapDevice::onGetClipType() const { in onGetClipType()
DSkThreadedBMPDevice.h63 void drawDevice(SkBaseDevice*, int x, int y, const SkPaint&) override;
DSkClipStackDevice.cpp91 SkBaseDevice::ClipType SkClipStackDevice::onGetClipType() const { in onGetClipType()
DSkSpecialSurface.cpp130 sk_sp<SkBaseDevice> device(SkGpuDevice::Make(context, fRenderTargetContext, width, height, in SkSpecialSurface_Gpu()
DSkThreadedBMPDevice.cpp368 void SkThreadedBMPDevice::drawDevice(SkBaseDevice* device, int x, int y, const SkPaint& paint) { in drawDevice()
DSkDraw.cpp475 SkBaseDevice* device) const { in drawPoints()
/external/skia/tests/
DDeviceTest.cpp20 static sk_sp<SkSpecialImage> MakeSpecial(SkBaseDevice* dev, const SkBitmap& bm) { in MakeSpecial()
24 static sk_sp<SkSpecialImage> MakeSpecial(SkBaseDevice* dev, SkImage* img) { in MakeSpecial()
28 static sk_sp<SkSpecialImage> SnapSpecial(SkBaseDevice* dev) { in SnapSpecial()
41 sk_sp<SkBaseDevice> bmDev(SkBitmapDevice::Create(ii));
83 sk_sp<SkBaseDevice> gpuDev(SkGpuDevice::Make(context, SkBudgeted::kNo, ii, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/include/core/
DSkCanvas.h20 class SkBaseDevice; variable
105 explicit SkCanvas(SkBaseDevice* device);
1381 SkBaseDevice* device() const;
1403 static void DrawDeviceWithFilter(SkBaseDevice* src, const SkImageFilter* filter,
1404 SkBaseDevice* dst, const SkIPoint& dstOrigin,
1422 SkBaseDevice* getDevice() const;
1423 SkBaseDevice* getTopDevice() const;
1476 SkCanvas(SkBaseDevice* device, InitFlags);
1488 void setupDevice(SkBaseDevice*);
1490 SkBaseDevice* init(SkBaseDevice*, InitFlags);
[all …]
/external/skia/src/svg/
DSkSVGDevice.h18 static SkBaseDevice* Create(const SkISize& size, SkXMLWriter* writer);
49 void drawDevice(SkBaseDevice*, int x, int y,
DSkSVGCanvas.cpp15 sk_sp<SkBaseDevice> device(SkSVGDevice::Create(size, writer)); in Make()
DSkSVGDevice.cpp573 SkBaseDevice* SkSVGDevice::Create(const SkISize& size, SkXMLWriter* writer) { in Create()
813 void SkSVGDevice::drawDevice(SkBaseDevice*, int x, int y, in drawDevice() argument
/external/skia/src/pdf/
DSkPDFDevice.h106 void drawDevice(SkBaseDevice*, int x, int y,
209 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
DSkPDFDevice.cpp107 SkBaseDevice* device) { in draw_points()
116 static SkIRect size(const SkBaseDevice& dev) { return {0, 0, dev.width(), dev.height()}; } in size()
446 SkBaseDevice* SkPDFDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) { in onCreateDevice()
1691 void SkPDFDevice::drawDevice(SkBaseDevice* device, int x, int y, const SkPaint& paint) { in drawDevice()
/external/skia/src/xps/
DSkXPSDevice.h106 void drawDevice(SkBaseDevice*, int x, int y,
277 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
DSkXPSDevice.cpp1189 static SkIRect size(const SkBaseDevice& dev) { return {0, 0, dev.width(), dev.height()}; } in size()
2205 void SkXPSDevice::drawDevice( SkBaseDevice* dev, in drawDevice()
2226 SkBaseDevice* SkXPSDevice::onCreateDevice(const CreateInfo& info, const SkPaint*) { in onCreateDevice()
2229 if (SkBaseDevice::kGeneral_Usage == info.fUsage) { in onCreateDevice()
/external/skia/src/gpu/
DSkGpuDevice.h98 void drawDevice(SkBaseDevice*, int x, int y, const SkPaint&) override;
149 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
DSkGpuDevice.cpp1308 void SkGpuDevice::drawDevice(SkBaseDevice* device, in drawDevice()
1754 SkBaseDevice* SkGpuDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint*) { in onCreateDevice()
/external/skia/src/utils/
DSkShadowUtils.cpp505 void SkBaseDevice::drawShadow(const SkPath& path, const SkDrawShadowRec& rec) { in drawShadow()