Home
last modified time | relevance | path

Searched refs:recordingCanvas (Results 1 – 7 of 7) sorted by relevance

/external/skia/tests/
DPictureBBHTest.cpp29 virtual void doTest(SkCanvas& playbackCanvas, SkCanvas& recordingCanvas) = 0;
77 void doTest(SkCanvas& playbackCanvas, SkCanvas& recordingCanvas) override { in doTest() argument
81 recordingCanvas.drawRect(SkRect::MakeWH(3, 3), paint); in doTest()
DImageFilterTest.cpp246 SkCanvas* recordingCanvas = recorder.beginRecording(64, 64); in FilterList() local
250 recordingCanvas->drawRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 30, 20)), greenPaint); in FilterList()
779 SkCanvas* recordingCanvas = recorder.beginRecording(SkIntToScalar(width), in draw_saveLayer_picture() local
782 recordingCanvas->translate(-55, 0); in draw_saveLayer_picture()
783 recordingCanvas->saveLayer(&bounds, &paint); in draw_saveLayer_picture()
784 recordingCanvas->restore(); in draw_saveLayer_picture()
1175 SkCanvas* recordingCanvas = recorder.beginRecording(100, 100, &factory, 0); in DEF_TEST() local
1179 recordingCanvas->saveLayer(nullptr, &paint); in DEF_TEST()
1182 recordingCanvas->save(); in DEF_TEST()
1183 recordingCanvas->scale(SkIntToScalar(10), SkIntToScalar(10)); in DEF_TEST()
[all …]
DSerializationTest.cpp666 SkCanvas* recordingCanvas = recorder.beginRecording(SkRect::MakeWH(100, 100)); in DEF_TEST() local
671 SkAnnotateRectWithURL(recordingCanvas, r0, d0.get()); in DEF_TEST()
676 SkAnnotateNamedDestination(recordingCanvas, {r1.x(), r1.y()}, d1.get()); in DEF_TEST()
681 SkAnnotateLinkToDestination(recordingCanvas, r2, d2.get()); in DEF_TEST()
DPictureTest.cpp609 SkCanvas* recordingCanvas = recorder.beginRecording(100, 100); in test_bad_bitmap() local
610 recordingCanvas->drawBitmap(bm, 0, 0); in test_bad_bitmap()
/external/skia/site/user/api/
Dcanvas.md156 SkCanvas* recordingCanvas = recorder.beginRecording(SkIntToScalar(width),
158 draw(recordingCanvas);
/external/skia/samplecode/
DSampleFilterFuzz.cpp709 SkCanvas* recordingCanvas = recorder.beginRecording(SkIntToScalar(kBitmapSize), in make_image_filter() local
712 drawSomething(recordingCanvas); in make_image_filter()
/external/skia/fuzz/
DFilterFuzz.cpp796 SkCanvas* recordingCanvas = recorder.beginRecording(SkIntToScalar(kBitmapSize), in make_image_filter() local
799 drawSomething(recordingCanvas); in make_image_filter()