Home
last modified time | relevance | path

Searched refs:SkDevice (Results 1 – 25 of 47) sorted by relevance

12

/external/skia/src/core/
DSkDevice.cpp16 SkDevice::SkDevice(const SkBitmap& bitmap) : fBitmap(bitmap) { in SkDevice() function in SkDevice
21 SkDevice::SkDevice(SkBitmap::Config config, int width, int height, bool isOpaque) { in SkDevice() function in SkDevice
33 SkDevice::~SkDevice() { in ~SkDevice()
37 SkDevice* SkDevice::createCompatibleDevice(SkBitmap::Config config, in createCompatibleDevice()
44 SkDevice* SkDevice::createCompatibleDeviceForSaveLayer(SkBitmap::Config config, in createCompatibleDeviceForSaveLayer()
51 SkDevice* SkDevice::onCreateCompatibleDevice(SkBitmap::Config config, in onCreateCompatibleDevice()
55 return SkNEW_ARGS(SkDevice,(config, width, height, isOpaque)); in onCreateCompatibleDevice()
58 SkMetaData& SkDevice::getMetaData() { in getMetaData()
67 void SkDevice::lockPixels() { in lockPixels()
73 void SkDevice::unlockPixels() { in unlockPixels()
[all …]
DSkCanvas.cpp68 SkDevice* fDevice;
76 DeviceCM(SkDevice* device, int x, int y, const SkPaint* paint) in DeviceCM()
260 SkDevice* getDevice() const { return fDevice; } in getDevice()
368 AutoValidator(SkDevice* device) : fDevice(device) {} in AutoValidator()
384 SkDevice* fDevice;
400 SkDevice* SkCanvas::init(SkDevice* device) { in init()
431 SkCanvas::SkCanvas(SkDevice* device) in SkCanvas()
442 this->init(SkNEW_ARGS(SkDevice, (bitmap)))->unref(); in SkCanvas()
474 SkDevice* device = this->getDevice(); in flush()
481 SkDevice* d = this->getDevice(); in getDeviceSize()
[all …]
/external/skia/include/core/
DSkCanvas.h25 class SkDevice; variable
53 explicit SkCanvas(SkDevice* device);
80 SkDevice* getDevice() const;
86 virtual SkDevice* setDevice(SkDevice* device);
95 SkDevice* getTopDevice() const;
101 SkDevice* setBitmapDevice(const SkBitmap& bitmap);
107 SkDevice* createCompatibleDevice(SkBitmap::Config config,
918 SkDevice* device() const;
964 SkDevice* fLastDeviceToGainFocus;
967 void prepareForDeviceDraw(SkDevice*, const SkMatrix&, const SkRegion&,
[all …]
DSkDevice.h28 class SK_API SkDevice : public SkRefCnt {
35 SkDevice(const SkBitmap& bitmap);
50 SkDevice(SkBitmap::Config config, int width, int height, bool isOpaque = false);
52 virtual ~SkDevice();
65 SkDevice* createCompatibleDevice(SkBitmap::Config config,
246 virtual void drawDevice(const SkDraw&, SkDevice*, int x, int y,
348 SkDevice* createCompatibleDeviceForSaveLayer(SkBitmap::Config config,
355 virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config config,
DSkImageFilter.h14 class SkDevice; variable
43 virtual SkDevice* createDevice(int width, int height) = 0;
DSkDraw.h23 class SkDevice; variable
113 SkDevice* fDevice; // optional
/external/skia/include/utils/
DSkDeferredCanvas.h34 explicit SkDeferredCanvas(SkDevice* device);
42 explicit SkDeferredCanvas(SkDevice* device, DeviceContext* deviceContext);
53 virtual SkDevice* setDevice(SkDevice* device);
148 class DeferredDevice : public SkDevice {
157 DeferredDevice(SkDevice* immediateDevice,
181 SkDevice* immediateDevice() const {return fImmediateDevice;} in immediateDevice()
198 virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config config,
272 virtual void drawDevice(const SkDraw&, SkDevice*, int x, int y, in drawDevice() argument
279 SkDevice* fImmediateDevice;
/external/skia/include/gpu/
DSkGpuDevice.h28 class SK_API SkGpuDevice : public SkDevice {
39 SkDevice::Usage usage = SkDevice::kGeneral_Usage);
101 virtual void drawDevice(const SkDraw&, SkDevice*, int x, int y,
194 virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config config,
210 typedef SkDevice INHERITED;
/external/skia/src/utils/
DSkDeferredCanvas.cpp85 SkDeferredCanvas::SkDeferredCanvas(SkDevice* device) { in SkDeferredCanvas()
90 SkDeferredCanvas::SkDeferredCanvas(SkDevice* device, in SkDeferredCanvas()
137 SkDevice* SkDeferredCanvas::setDevice(SkDevice* device) { in setDevice()
443 SkDevice* immediateDevice, DeviceContext* deviceContext) : in DeferredDevice()
444 SkDevice(SkBitmap::kNo_Config, immediateDevice->width(), in DeferredDevice()
577 SkDevice* SkDeferredCanvas::DeferredDevice::onCreateCompatibleDevice( in onCreateCompatibleDevice()
584 SkDevice* compatibleDevice = in onCreateCompatibleDevice()
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DRasterRenderer.cpp86 SkDevice* device = new SkDevice(*g_bitmap); in setupCanvas()
DGaneshContext.h42 SkDevice* getDeviceForTile(const TileRenderInfo& renderInfo);
DGaneshRenderer.h35 class SkDevice; variable
DRasterRenderer.h36 class SkDevice; variable
DImageTexture.cpp115 SkDevice* device = new SkDevice(*img); in convertBitmap()
DBaseRenderer.h36 class SkDevice; variable
/external/skia/samplecode/
DSampleDrawBitmap.cpp57 SkRefPtr<SkDevice> primaryDevice(canvas->getDevice()); in onDrawContent()
58 SkRefPtr<SkDevice> secondDevice(canvas->createCompatibleDevice( in onDrawContent()
DSampleTextureDomain.cpp64 SkRefPtr<SkDevice> primaryDevice(canvas->getDevice()); in onDrawContent()
65 SkRefPtr<SkDevice> secondDevice(canvas->createCompatibleDevice( in onDrawContent()
DSampleNinePatch.cpp14 SkDevice* dev; in make_bitmap()
27 dev = new SkDevice(*bitmap); in make_bitmap()
/external/skia/src/effects/
DSkTestImageFilters.cpp7 OwnDeviceCanvas(SkDevice* device) : SkCanvas(device) { in OwnDeviceCanvas()
215 SkDevice* dst = proxy->createDevice(bounds.width(), bounds.height()); in onFilterImage()
307 SkDevice* dev = proxy->createDevice(src.width(), src.height()); in onFilterImage()
359 SkDevice* dev = proxy->createDevice(dstW, dstH); in onFilterImage()
374 SkDevice* dev = proxy->createDevice(src.width(), src.height()); in onFilterImage()
/external/skia/include/pdf/
DSkPDFDevice.h40 class SkPDFDevice : public SkDevice {
100 virtual void drawDevice(const SkDraw&, SkDevice*, int x, int y,
201 virtual SkDevice* onCreateCompatibleDevice(SkBitmap::Config config,
/external/skia/tests/
DDeferredCanvasTest.cpp27 SkDevice device(store); in TestDeferredCanvasBitmapAccess()
43 SkDevice device(store); in TestDeferredCanvasFlush()
63 SkDevice device(store); in TestDeferredCanvasFreshFrame()
DCanvasTest.cpp612 SkDevice playbackDevice(playbackStore); in TestPictureStateConsistency()
636 SkDevice deferredDevice(deferredStore); in TestDeferredCanvasStateConsistency()
664 SkDevice indirectDevice(indirectStore); in TestProxyCanvasStateConsistency()
686 SkDevice indirectDevice1(indirectStore1); in TestNWayCanvasStateConsistency()
691 SkDevice indirectDevice2(indirectStore2); in TestNWayCanvasStateConsistency()
724 SkDevice referenceDevice(referenceStore); in TestOverrideStateConsistency()
/external/skia/gm/
Dninepatchstretch.cpp13 SkDevice* dev; in make_bitmap()
26 dev = new SkDevice(*bitmap); in make_bitmap()
/external/skia/src/gpu/
DSkGpuCanvas.cpp37 SkDevice* device = this->getDevice(); in getViewport()
/external/skia/bench/
Dbenchmain.cpp235 static SkDevice* make_device(SkBitmap::Config config, const SkIPoint& size, in make_device()
237 SkDevice* device = NULL; in make_device()
245 device = new SkDevice(bitmap); in make_device()
561 SkDevice* device = make_device(outConfig, dim, backend, glHelper); in main()

12