Home
last modified time | relevance | path

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

123

/external/skqp/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(const SkImageInfo& info, in AdjustGeometry()
90 void SkBaseDevice::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion()
111 void SkBaseDevice::drawArc(const SkRect& oval, SkScalar startAngle, in drawArc()
120 void SkBaseDevice::drawDRRect(const SkRRect& outer, in drawDRRect()
131 void SkBaseDevice::drawEdgeAARect(const SkRect& r, SkCanvas::QuadAAFlags aa, SkColor color, in drawEdgeAARect()
141 void SkBaseDevice::drawPatch(const SkPoint cubics[12], const SkColor colors[4], in drawPatch()
[all …]
DSkDevice.h27 class SkBaseDevice : public SkRefCnt {
29 SkBaseDevice(const SkImageInfo&, const SkSurfaceProps&);
241 virtual void drawDevice(SkBaseDevice*, int x, int y, const SkPaint&) = 0;
328 virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) { in onCreateDevice()
385 class SkNoPixelsDevice : public SkBaseDevice {
388 : SkBaseDevice(SkImageInfo::MakeUnknown(bounds.width(), bounds.height()), props) in SkNoPixelsDevice()
427 void drawDevice(SkBaseDevice*, int, int, const SkPaint&) override {} in drawDevice() argument
433 typedef SkBaseDevice INHERITED;
438 SkAutoDeviceCTMRestore(SkBaseDevice* device, const SkMatrix& ctm) in SkAutoDeviceCTMRestore()
449 SkBaseDevice* fDevice;
DSkClipStackDevice.h14 class SkClipStackDevice : public SkBaseDevice {
17 : SkBaseDevice(info, props) in SkClipStackDevice()
45 typedef SkBaseDevice INHERITED;
DSkCanvas.cpp85 SkBaseDevice* base = this->getDevice(); in wouldOverwriteEntireSurface()
86 SkBaseDevice* top = this->getTopDevice(); in wouldOverwriteEntireSurface()
185 sk_sp<SkBaseDevice> fDevice;
192 DeviceCM(sk_sp<SkBaseDevice> device, const SkPaint* paint, const SkMatrix& stashed, in DeviceCM()
294 SkBaseDevice* fDevice;
305 SkBaseDevice* device = layer->fDevice.get(); \
551 void SkCanvas::init(sk_sp<SkBaseDevice> device) { in init()
609 SkCanvas::SkCanvas(sk_sp<SkBaseDevice> device) in SkCanvas()
624 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps, nullptr, nullptr)); in SkCanvas()
636 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps, hndl, nullptr)); in SkCanvas()
[all …]
DSkBitmapDevice.h35 class SkBitmapDevice : public SkBaseDevice {
105 void drawDevice(SkBaseDevice*, int x, int y, const SkPaint&) override;
155 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
168 typedef SkBaseDevice INHERITED;
DSkGlyphRun.h21 class SkBaseDevice; variable
121 void drawTextBlob(const SkPaint& paint, const SkTextBlob& blob, SkPoint origin, SkBaseDevice*);
128 const SkTextBlob& blob, SkPoint origin, SkBaseDevice* device);
DSkDraw.h23 class SkBaseDevice; variable
38 const SkPaint&, SkBaseDevice*) const;
/external/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(const SkImageInfo& info, in AdjustGeometry()
90 void SkBaseDevice::drawRegion(const SkRegion& region, const SkPaint& paint) { in drawRegion()
111 void SkBaseDevice::drawArc(const SkRect& oval, SkScalar startAngle, in drawArc()
120 void SkBaseDevice::drawDRRect(const SkRRect& outer, in drawDRRect()
131 void SkBaseDevice::drawEdgeAARect(const SkRect& r, SkCanvas::QuadAAFlags aa, SkColor color, in drawEdgeAARect()
141 void SkBaseDevice::drawPatch(const SkPoint cubics[12], const SkColor colors[4], in drawPatch()
[all …]
DSkDevice.h27 class SkBaseDevice : public SkRefCnt {
29 SkBaseDevice(const SkImageInfo&, const SkSurfaceProps&);
236 virtual void drawDevice(SkBaseDevice*, int x, int y, const SkPaint&) = 0;
323 virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) { in onCreateDevice()
382 class SkNoPixelsDevice : public SkBaseDevice {
386 : SkBaseDevice(SkImageInfo::Make(bounds.width(), bounds.height(), kUnknown_SkColorType,
425 void drawDevice(SkBaseDevice*, int, int, const SkPaint&) override {} in drawDevice() argument
431 typedef SkBaseDevice INHERITED;
436 SkAutoDeviceCTMRestore(SkBaseDevice* device, const SkMatrix& ctm) in SkAutoDeviceCTMRestore()
447 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()
184 sk_sp<SkBaseDevice> fDevice;
191 DeviceCM(sk_sp<SkBaseDevice> device, const SkPaint* paint, const SkMatrix& stashed, in DeviceCM()
293 SkBaseDevice* fDevice;
304 SkBaseDevice* device = layer->fDevice.get(); \
550 void SkCanvas::init(sk_sp<SkBaseDevice> device) { in init()
607 SkCanvas::SkCanvas(sk_sp<SkBaseDevice> device) in SkCanvas()
622 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps, nullptr, nullptr)); in SkCanvas()
634 sk_sp<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps, hndl, nullptr)); in SkCanvas()
[all …]
DSkBitmapDevice.h35 class SkBitmapDevice : public SkBaseDevice {
104 void drawDevice(SkBaseDevice*, int x, int y, const SkPaint&) override;
154 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
167 typedef SkBaseDevice INHERITED;
DSkGlyphRun.h21 class SkBaseDevice; variable
121 void drawTextBlob(const SkPaint& paint, const SkTextBlob& blob, SkPoint origin, SkBaseDevice*);
128 const SkTextBlob& blob, SkPoint origin, SkBaseDevice* device);
DSkDraw.h23 class SkBaseDevice; variable
38 const SkPaint&, SkBaseDevice*) const;
/external/skqp/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()
/external/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()
/external/skia/src/compute/sk/
DSkDevice_Compute.h111 void drawDevice(SkBaseDevice*, int, int, const SkPaint&) override;
115 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
160 class SkDevice_ComputeLayerGroup : public SkBaseDevice {
230 void drawDevice(SkBaseDevice*, int, int, const SkPaint&) override;
234 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
DSkDevice_Compute.cpp748 SkBaseDevice* SkDevice_Compute::onCreateDevice(const CreateInfo& cinfo, const SkPaint* paint) { in onCreateDevice()
757 void SkDevice_Compute::drawDevice(SkBaseDevice* device, int left, int top, const SkPaint& paint) { in drawDevice()
796 : SkBaseDevice(SkImageInfo::MakeN32Premul(cinfo.fInfo.width(), cinfo.fInfo.height()), in SkDevice_ComputeLayerGroup()
826 void SkDevice_ComputeLayerGroup::drawDevice(SkBaseDevice* device, int left, int top, in drawDevice()
831 SkBaseDevice* SkDevice_ComputeLayerGroup::onCreateDevice(const CreateInfo& cinfo, in onCreateDevice()
/external/skqp/src/compute/sk/
DSkDevice_Compute.h111 void drawDevice(SkBaseDevice*, int, int, const SkPaint&) override;
115 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
160 class SkDevice_ComputeLayerGroup : public SkBaseDevice {
230 void drawDevice(SkBaseDevice*, int, int, const SkPaint&) override;
234 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
DSkDevice_Compute.cpp748 SkBaseDevice* SkDevice_Compute::onCreateDevice(const CreateInfo& cinfo, const SkPaint* paint) { in onCreateDevice()
757 void SkDevice_Compute::drawDevice(SkBaseDevice* device, int left, int top, const SkPaint& paint) { in drawDevice()
796 : SkBaseDevice(SkImageInfo::MakeN32Premul(cinfo.fInfo.width(), cinfo.fInfo.height()), in SkDevice_ComputeLayerGroup()
826 void SkDevice_ComputeLayerGroup::drawDevice(SkBaseDevice* device, int left, int top, in drawDevice()
831 SkBaseDevice* SkDevice_ComputeLayerGroup::onCreateDevice(const CreateInfo& cinfo, in onCreateDevice()
/external/skia/src/svg/
DSkSVGDevice.h18 static sk_sp<SkBaseDevice> Make(const SkISize& size, std::unique_ptr<SkXMLWriter>);
41 void drawDevice(SkBaseDevice*, int x, int y,
/external/skqp/src/svg/
DSkSVGDevice.h18 static SkBaseDevice* Create(const SkISize& size, SkXMLWriter* writer);
42 void drawDevice(SkBaseDevice*, int x, int y,
DSkSVGCanvas.cpp16 sk_sp<SkBaseDevice> device(SkSVGDevice::Create(size, writer)); in Make()
/external/skqp/include/core/
DSkCanvas.h34 class SkBaseDevice; variable
169 explicit SkCanvas(sk_sp<SkBaseDevice> device);
2440 SkBaseDevice* getTopDevice() const;
2462 SkBaseDevice* device() const;
2483 static void DrawDeviceWithFilter(SkBaseDevice* src, const SkImageFilter* filter,
2484 SkBaseDevice* dst, const SkIPoint& dstOrigin,
2502 SkBaseDevice* getDevice() const;
2580 void setupDevice(SkBaseDevice*);
2582 void init(sk_sp<SkBaseDevice>);
2596 void internalDrawDevice(SkBaseDevice*, int x, int y, const SkPaint*, SkImage* clipImage,
/external/skia/include/core/
DSkCanvas.h34 class SkBaseDevice; variable
169 explicit SkCanvas(sk_sp<SkBaseDevice> device);
2460 SkBaseDevice* getTopDevice() const;
2482 SkBaseDevice* device() const;
2503 static void DrawDeviceWithFilter(SkBaseDevice* src, const SkImageFilter* filter,
2504 SkBaseDevice* dst, const SkIPoint& dstOrigin,
2522 SkBaseDevice* getDevice() const;
2605 void setupDevice(SkBaseDevice*);
2607 void init(sk_sp<SkBaseDevice>);
2621 void internalDrawDevice(SkBaseDevice*, int x, int y, const SkPaint*, SkImage* clipImage,

123