Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkDevice.cpp23 SkBaseDevice::SkBaseDevice(const SkSurfaceProps& surfaceProps) in SkBaseDevice() function in SkBaseDevice
33 SkBaseDevice::~SkBaseDevice() { delete fMetaData; } in ~SkBaseDevice()
35 SkMetaData& SkBaseDevice::getMetaData() { in getMetaData()
44 SkImageInfo SkBaseDevice::imageInfo() const { in imageInfo()
48 const SkBitmap& SkBaseDevice::accessBitmap(bool changePixels) { in accessBitmap()
56 SkPixelGeometry SkBaseDevice::CreateInfo::AdjustGeometry(const SkImageInfo& info, in AdjustGeometry()
75 void SkBaseDevice::drawDRRect(const SkDraw& draw, const SkRRect& outer, in drawDRRect()
87 void SkBaseDevice::drawPatch(const SkDraw& draw, const SkPoint cubics[12], const SkColor colors[4], in drawPatch()
102 void SkBaseDevice::drawTextBlob(const SkDraw& draw, const SkTextBlob* blob, SkScalar x, SkScalar y, in drawTextBlob()
146 void SkBaseDevice::drawImage(const SkDraw& draw, const SkImage* image, SkScalar x, SkScalar y, in drawImage()
[all …]
DSkCanvas.cpp193 SkBaseDevice* fDevice;
200 DeviceCM(SkBaseDevice* device, const SkPaint* paint, SkCanvas* canvas, in DeviceCM()
367 SkBaseDevice* getDevice() const { return fDevice; } in getDevice()
643 SkBaseDevice* SkCanvas::init(SkBaseDevice* device, InitFlags flags) { in init()
732 SkCanvas::SkCanvas(SkBaseDevice* device) in SkCanvas()
742 SkCanvas::SkCanvas(SkBaseDevice* device, InitFlags flags) in SkCanvas()
759 SkAutoTUnref<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps)); in SkCanvas()
770 SkAutoTUnref<SkBaseDevice> device(new SkBitmapDevice(bitmap, fProps)); in SkCanvas()
809 SkBaseDevice* device = this->getDevice(); in flush()
816 SkBaseDevice* d = this->getDevice(); in getBaseLayerSize()
[all …]
DSkImageFilter.cpp409 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds->width(), bounds->height())); in applyCropRectDeprecated()
665 SkBaseDevice* SkImageFilter::DeviceProxy::createDevice(int w, int h, TileUsage usage) { in createDevice()
666 SkBaseDevice::CreateInfo cinfo(SkImageInfo::MakeN32Premul(w, h), in createDevice()
667 kPossible_TileUsage == usage ? SkBaseDevice::kPossible_TileUsage in createDevice()
668 : SkBaseDevice::kNever_TileUsage, in createDevice()
672 SkBaseDevice* dev = fDevice->onCreateDevice(cinfo, nullptr); in createDevice()
DSkBitmapDevice.cpp134 SkBaseDevice* SkBitmapDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint*) { in onCreateDevice()
370 void SkBitmapDevice::drawDevice(const SkDraw& draw, SkBaseDevice* device, in drawDevice()
/external/skia/src/svg/
DSkSVGDevice.h15 class SkSVGDevice : public SkBaseDevice {
17 static SkBaseDevice* Create(const SkISize& size, SkXMLWriter* writer);
55 void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y,
73 typedef SkBaseDevice INHERITED;
DSkSVGCanvas.cpp14 SkAutoTUnref<SkBaseDevice> device(SkSVGDevice::Create(size, writer)); in Create()
/external/skia/src/effects/
DSkTestImageFilters.cpp23 OwnDeviceCanvas(SkBaseDevice* device) : SkCanvas(device) { in OwnDeviceCanvas()
51 SkBaseDevice* dev = proxy->createDevice(dstW, dstH); in onFilterImageDeprecated()
66 SkBaseDevice* dev = proxy->createDevice(src.width(), src.height()); in onFilterImageDeprecated()
DSkPictureImageFilter.cpp107 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height())); in onFilterImageDeprecated()
125 void SkPictureImageFilter::drawPictureAtDeviceResolution(SkBaseDevice* device, in drawPictureAtDeviceResolution()
135 void SkPictureImageFilter::drawPictureAtLocalResolution(Proxy* proxy, SkBaseDevice* device, in drawPictureAtLocalResolution()
149 …SkAutoTUnref<SkBaseDevice> localDevice(proxy->createDevice(localIBounds.width(), localIBounds.heig… in drawPictureAtLocalResolution()
DSkTileImageFilter.cpp78 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(srcIRect.width(), in onFilterImageDeprecated()
92 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(w, h)); in onFilterImageDeprecated()
DSkPaintImageFilter.cpp46 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), in onFilterImageDeprecated()
DSkBlurImageFilter.cpp118 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(dstBounds.width(), dstBounds.height())); in onFilterImageDeprecated()
125 SkAutoTUnref<SkBaseDevice> tempDevice(proxy->createDevice(dst->width(), dst->height())); in onFilterImageDeprecated()
DSkColorFilterImageFilter.cpp75 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height())); in onFilterImageDeprecated()
DSkOffsetImageFilter.cpp46 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height())); in onFilterImageDeprecated()
/external/skia/include/core/
DSkBitmapDevice.h36 class SK_API SkBitmapDevice : public SkBaseDevice {
122 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, const SkPaint&) override;
161 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
171 typedef SkBaseDevice INHERITED;
DSkImageFilter.h22 class SkBaseDevice; variable
112 virtual SkBaseDevice* createDevice(int width, int height,
124 DeviceProxy(SkBaseDevice* device) : fDevice(device) {} in DeviceProxy()
126 SkBaseDevice* createDevice(int width, int height,
135 SkBaseDevice* fDevice;
DSkCanvas.h22 class SkBaseDevice; variable
99 explicit SkCanvas(SkBaseDevice* device);
154 SkBaseDevice* getDevice() const;
156 SkBaseDevice* getDevice_just_for_deprecated_compatibility_testing() const { in getDevice_just_for_deprecated_compatibility_testing()
176 SkBaseDevice* getTopDevice(bool updateMatrixClip = false) const;
1162 SkBaseDevice* device() const;
1369 SkCanvas(SkBaseDevice* device, InitFlags);
1379 void setupDevice(SkBaseDevice*);
1381 SkBaseDevice* init(SkBaseDevice*, InitFlags);
1394 void internalDrawDevice(SkBaseDevice*, int x, int y, const SkPaint*, bool isBitmapDevice);
DSkDevice.h27 class SK_API SkBaseDevice : public SkRefCnt {
32 explicit SkBaseDevice(const SkSurfaceProps&);
33 virtual ~SkBaseDevice();
258 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y,
375 virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) { in onCreateDevice()
DSkDraw.h19 class SkBaseDevice; variable
152 SkBaseDevice* fDevice; // optional
/external/skia/src/gpu/
DSkGpuDevice.h31 class SK_API SkGpuDevice : public SkBaseDevice {
62 SkBaseDevice* dev = this->onCreateDevice(CreateInfo(this->imageInfo(), kPossible_TileUsage, in cloneDevice()
116 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y,
181 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
267 typedef SkBaseDevice INHERITED;
/external/skia/tests/
DPremulAlphaRoundTripTest.cpp66 static void test_premul_alpha_roundtrip(skiatest::Reporter* reporter, SkBaseDevice* device) { in test_premul_alpha_roundtrip()
104 SkAutoTUnref<SkBaseDevice> device(SkBitmapDevice::Create(info, props)); in DEF_TEST()
111 SkAutoTUnref<SkBaseDevice> device( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/pdf/
DSkPDFDevice.h47 class SkPDFDevice final : public SkBaseDevice {
123 void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y,
250 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
311 typedef SkBaseDevice INHERITED;
/external/skia/include/effects/
DSkPictureImageFilter.h72 void drawPictureAtDeviceResolution(SkBaseDevice*, const SkIRect& deviceBounds,
74 void drawPictureAtLocalResolution(Proxy*, SkBaseDevice*, const SkIRect& deviceBounds,
/external/skia/include/utils/
DSkNoSaveLayerCanvas.h19 SkNoSaveLayerCanvas(SkBaseDevice* device) in SkNoSaveLayerCanvas()
/external/skia/include/device/xps/
DSkXPSDevice.h136 SkBaseDevice* device,
314 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
/external/skia/samplecode/
DSampleAnimatedText.cpp106 SkBaseDevice* device = canvas->getDevice_just_for_deprecated_compatibility_testing(); in onDrawContent()

12