Home
last modified time | relevance | path

Searched refs:SkiaCanvas (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/hwui/
DSkiaCanvas.cpp46 return new SkiaCanvas(bitmap); in create_canvas()
50 return new SkiaCanvas(skiaCanvas, xformToSRGB); in create_canvas()
53 SkiaCanvas::SkiaCanvas() {} in SkiaCanvas() function in android::SkiaCanvas
55 SkiaCanvas::SkiaCanvas(SkCanvas* canvas, XformToSRGB xformToSRGB) in SkiaCanvas() function in android::SkiaCanvas
61 SkiaCanvas::SkiaCanvas(const SkBitmap& bitmap) { in SkiaCanvas() function in android::SkiaCanvas
70 SkiaCanvas::~SkiaCanvas() {} in ~SkiaCanvas()
72 void SkiaCanvas::reset(SkCanvas* skiaCanvas) { in reset()
85 void SkiaCanvas::setBitmap(const SkBitmap& bitmap) { in setBitmap()
105 bool SkiaCanvas::isOpaque() { in isOpaque()
109 int SkiaCanvas::width() { in width()
[all …]
DSkiaCanvas.h30 class SkiaCanvas : public Canvas {
32 explicit SkiaCanvas(const SkBitmap& bitmap);
45 explicit SkiaCanvas(SkCanvas* canvas, XformToSRGB xformToSRGB);
47 virtual ~SkiaCanvas();
158 SkiaCanvas();
DAndroid.mk111 SkiaCanvas.cpp \
/frameworks/base/libs/hwui/tests/unit/
DSkiaCanvasTests.cpp66 TEST(SkiaCanvas, drawShadowLayer) { in TEST() argument
68 SkiaCanvas canvas(surface->getCanvas(), Canvas::XformToSRGB::kDefer); in TEST()
84 TEST(SkiaCanvas, colorSpaceXform) { in TEST() argument
101 SkiaCanvas canvas(skBitmap); in TEST()
108 SkiaCanvas adobeSkCanvas(adobeSkBitmap); in TEST()
116 SkiaCanvas deferCanvas(&skCanvas, Canvas::XformToSRGB::kDefer); in TEST()
126 SkiaCanvas picCanvas(skPicCanvas, Canvas::XformToSRGB::kDefer); in TEST()
139 TEST(SkiaCanvas, captureCanvasState) { in TEST() argument
146 SkiaCanvas canvas(skBitmap); in TEST()
161 SkiaCanvas picCanvas(skPicCanvas, Canvas::XformToSRGB::kDefer); in TEST()
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaRecordingCanvas.h31 class SkiaRecordingCanvas : public SkiaCanvas {
DSkiaRecordingCanvas.cpp47 SkiaCanvas::reset(&mRecorder); in initDisplayList()