Home
last modified time | relevance | path

Searched refs:pictureCanvas (Results 1 – 25 of 35) sorted by relevance

12

/third_party/flutter/skia/docs/examples/
DPicture_playback.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_AbortCallback_abort.cpp15 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
17 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
19 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_cullRect.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({64, 64, 192, 192}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_approximateOpCount.cpp9 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256});
11 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
13 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
DPicture_approximateBytesUsed.cpp9 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256});
11 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
13 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
DPicture_serialize.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_MakeFromData.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_serialize_2.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_008.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_MakeFromStream.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_MakePlaceholder.cpp21 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
23 pictureCanvas->drawPicture(placeholder); in draw()
/third_party/skia/docs/examples/
DPicture_playback.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_AbortCallback_abort.cpp15 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
17 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
19 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_cullRect.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({64, 64, 192, 192}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_approximateBytesUsed.cpp9 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256});
11 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
13 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
DPicture_approximateOpCount.cpp9 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256});
11 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
13 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
DPicture_serialize.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_MakeFromData.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_MakeFromStream.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_008.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_serialize_2.cpp8 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
10 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint); in draw()
12 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint); in draw()
DPicture_MakePlaceholder.cpp21 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
23 pictureCanvas->drawPicture(placeholder); in draw()
/third_party/flutter/skia/gm/
Dpictureshadertile.cpp106 SkCanvas* pictureCanvas = recorder.beginRecording(kPictureSize, kPictureSize); in onOnceBeforeDraw() local
107 draw_scene(pictureCanvas, kPictureSize); in onOnceBeforeDraw()
111 pictureCanvas = recorder.beginRecording(SkRect::MakeXYWH(offset.x(), offset.y(), in onOnceBeforeDraw()
113 pictureCanvas->translate(offset.x(), offset.y()); in onOnceBeforeDraw()
114 draw_scene(pictureCanvas, kPictureSize); in onOnceBeforeDraw()
/third_party/skia/gm/
Dpictureshadertile.cpp106 SkCanvas* pictureCanvas = recorder.beginRecording(kPictureSize, kPictureSize); in onOnceBeforeDraw() local
107 draw_scene(pictureCanvas, kPictureSize); in onOnceBeforeDraw()
111 pictureCanvas = recorder.beginRecording(SkRect::MakeXYWH(offset.x(), offset.y(), in onOnceBeforeDraw()
113 pictureCanvas->translate(offset.x(), offset.y()); in onOnceBeforeDraw()
114 draw_scene(pictureCanvas, kPictureSize); in onOnceBeforeDraw()
Dpictureshadercache.cpp55 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize); in onOnceBeforeDraw() local
56 this->drawTile(pictureCanvas); in onOnceBeforeDraw()

12