Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkDevice.cpp21 SkBaseDevice::SkBaseDevice() in SkBaseDevice() function in SkBaseDevice
31 SkBaseDevice::SkBaseDevice(const SkDeviceProperties& dp) in SkBaseDevice() function in SkBaseDevice
41 SkBaseDevice::~SkBaseDevice() { in ~SkBaseDevice()
46 SkMetaData& SkBaseDevice::getMetaData() { in getMetaData()
55 SkImageInfo SkBaseDevice::imageInfo() const { in imageInfo()
59 const SkBitmap& SkBaseDevice::accessBitmap(bool changePixels) { in accessBitmap()
67 SkPixelGeometry SkBaseDevice::CreateInfo::AdjustGeometry(const SkImageInfo& info, in AdjustGeometry()
85 void SkBaseDevice::initForRootLayer(SkPixelGeometry geo) { in initForRootLayer()
94 SkSurface* SkBaseDevice::newSurface(const SkImageInfo&, const SkSurfaceProps&) { return NULL; } in newSurface()
96 const void* SkBaseDevice::peekPixels(SkImageInfo*, size_t*) { return NULL; } in peekPixels()
[all …]
DSkDeviceImageFilterProxy.h18 SkDeviceImageFilterProxy(SkBaseDevice* device, const SkSurfaceProps& props) in SkDeviceImageFilterProxy()
23 SkBaseDevice* createDevice(int w, int h) override { in createDevice()
24 SkBaseDevice::CreateInfo cinfo(SkImageInfo::MakeN32Premul(w, h), in createDevice()
25 SkBaseDevice::kNever_TileUsage, in createDevice()
28 SkBaseDevice* dev = fDevice->onCreateDevice(cinfo, NULL); in createDevice()
48 SkBaseDevice* fDevice;
DSkCanvas.cpp113 SkBaseDevice* fDevice;
120 DeviceCM(SkBaseDevice* device, const SkPaint* paint, SkCanvas* canvas, in DeviceCM()
285 SkBaseDevice* getDevice() const { return fDevice; } in getDevice()
514 SkBaseDevice* SkCanvas::init(SkBaseDevice* device, InitFlags flags) { in init()
596 SkCanvas::SkCanvas(SkBaseDevice* device, const SkSurfaceProps* props, InitFlags flags) in SkCanvas()
605 SkCanvas::SkCanvas(SkBaseDevice* device) in SkCanvas()
620 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap))); in SkCanvas()
630 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap))); in SkCanvas()
667 SkBaseDevice* device = this->getDevice(); in flush()
674 SkBaseDevice* d = this->getTopDevice(); in getTopLayerSize()
[all …]
DSkBitmapDevice.cpp66 : SkBaseDevice(deviceProperties) in SkBitmapDevice()
118 SkBaseDevice* SkBitmapDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint*) { in onCreateDevice()
347 void SkBitmapDevice::drawDevice(const SkDraw& draw, SkBaseDevice* device, in drawDevice()
/external/skia/include/core/
DSkDevice.h27 class SK_API SkBaseDevice : public SkRefCnt {
29 SK_DECLARE_INST_COUNT(SkBaseDevice)
34 SkBaseDevice();
35 explicit SkBaseDevice(const SkDeviceProperties&);
36 virtual ~SkBaseDevice();
239 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y,
363 virtual SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) { in onCreateDevice()
DSkBitmapDevice.h15 class SK_API SkBitmapDevice : public SkBaseDevice {
101 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, const SkPaint&) override;
144 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
155 typedef SkBaseDevice INHERITED;
DSkCanvas.h22 class SkBaseDevice; variable
96 explicit SkCanvas(SkBaseDevice* device);
149 SkBaseDevice* getDevice() const;
168 SkBaseDevice* getTopDevice(bool updateMatrixClip = false) const;
1126 SkBaseDevice* device() const;
1304 SkCanvas(SkBaseDevice*, const SkSurfaceProps*, InitFlags);
1314 void setupDevice(SkBaseDevice*);
1316 SkBaseDevice* init(SkBaseDevice*, InitFlags);
1335 void internalDrawDevice(SkBaseDevice*, int x, int y, const SkPaint*, bool isBitmapDevice);
DSkDraw.h19 class SkBaseDevice; variable
149 SkBaseDevice* fDevice; // optional
DSkImageFilter.h19 class SkBaseDevice; variable
84 virtual SkBaseDevice* createDevice(int width, int height) = 0;
/external/skia/src/effects/
DSkTestImageFilters.cpp17 OwnDeviceCanvas(SkBaseDevice* device) : SkCanvas(device) { in OwnDeviceCanvas()
45 SkBaseDevice* dev = proxy->createDevice(dstW, dstH); in onFilterImage()
60 SkBaseDevice* dev = proxy->createDevice(src.width(), src.height()); in onFilterImage()
DSkPictureImageFilter.cpp112 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height())); in onFilterImage()
130 void SkPictureImageFilter::drawPictureAtDeviceResolution(Proxy* proxy, SkBaseDevice* device, in drawPictureAtDeviceResolution()
143 void SkPictureImageFilter::drawPictureAtLocalResolution(Proxy* proxy, SkBaseDevice* device, in drawPictureAtLocalResolution()
154 …SkAutoTUnref<SkBaseDevice> localDevice(proxy->createDevice(localIBounds.width(), localIBounds.heig… in drawPictureAtLocalResolution()
DSkRectShaderImageFilter.cpp61 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), in onFilterImage()
DSkColorFilterImageFilter.cpp73 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height())); in onFilterImage()
/external/skia/src/gpu/
DSkGpuDevice.h32 class SK_API SkGpuDevice : public SkBaseDevice {
61 SkBaseDevice* dev = this->onCreateDevice(CreateInfo(this->imageInfo(), kPossible_TileUsage, in cloneDevice()
116 virtual void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y,
162 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
227 typedef SkBaseDevice INHERITED;
/external/skia/src/svg/
DSkSVGDevice.h15 class SkSVGDevice : public SkBaseDevice {
17 static SkBaseDevice* Create(const SkISize& size, SkXMLWriter* writer);
56 void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y,
DSkSVGCanvas.cpp14 SkAutoTUnref<SkBaseDevice> device(SkSVGDevice::Create(size, writer)); in Create()
/external/skia/src/pdf/
DSkPDFDevice.h47 class SkPDFDevice : public SkBaseDevice {
114 void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y,
239 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
308 typedef SkBaseDevice INHERITED;
/external/skia/experimental/PdfViewer/
DSkNulCanvas.h24 explicit SkNulCanvas(SkBaseDevice* device) : SkCanvas(device) {} in SkNulCanvas()
52 virtual SkBaseDevice* setDevice(SkBaseDevice* device) {return NULL;} in setDevice()
Dpdf_viewer_main.cpp124 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap))); in render_page()
146 SkAutoTUnref<SkBaseDevice> device; in render_page()
/external/skia/include/effects/
DSkPictureImageFilter.h79 void drawPictureAtDeviceResolution(Proxy*, SkBaseDevice*, const SkIRect& deviceBounds,
81 void drawPictureAtLocalResolution(Proxy*, SkBaseDevice*, const SkIRect& deviceBounds,
/external/skia/include/utils/
DSkNoSaveLayerCanvas.h19 SkNoSaveLayerCanvas(SkBaseDevice* device) in SkNoSaveLayerCanvas()
/external/skia/include/device/xps/
DSkXPSDevice.h134 SkBaseDevice* device,
312 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
/external/skia/src/utils/
DSkDeferredCanvas.cpp159 class SkDeferredDevice : public SkBaseDevice {
167 SkBaseDevice* immediateDevice() const {return fImmediateCanvas->getTopDevice();} in immediateDevice()
184 SkBaseDevice* onCreateDevice(const CreateInfo&, const SkPaint*) override;
251 void drawDevice(const SkDraw&, SkBaseDevice*, int x, int y, in drawDevice() argument
485 SkBaseDevice* SkDeferredDevice::onCreateDevice(const CreateInfo& cinfo, const SkPaint* layerPaint) { in onCreateDevice()
/external/skia/tests/
DReadWriteAlphaTest.cpp86 SkAutoTUnref<SkBaseDevice> device(SkGpuDevice::Create(texture->asRenderTarget(), &props)); in DEF_GPUTEST()
/external/skia/experimental/PdfViewer/src/
DSkPdfDiffEncoder.cpp54 SkAutoTUnref<SkBaseDevice> device(SkNEW_ARGS(SkBitmapDevice, (bitmap))); in WriteToFile()

12