Home
last modified time | relevance | path

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

/external/skqp/docs/
DSkPicture_Reference.bmh100 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256});
102 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
104 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
124 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256});
126 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
128 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
151 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256});
153 pictureCanvas->drawRect(SkRect::MakeWH(200, 200), paint);
155 pictureCanvas->drawRect(SkRect::MakeLTRB(20, 20, 180, 180), paint);
176 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256});
[all …]
/external/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_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_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_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_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_MakePlaceholder.cpp21 SkCanvas* pictureCanvas = recorder.beginRecording({0, 0, 256, 256}); in draw() local
23 pictureCanvas->drawPicture(placeholder); in draw()
/external/skqp/gm/
Dpictureshadertile.cpp96 SkCanvas* pictureCanvas = recorder.beginRecording(kPictureSize, kPictureSize); in onOnceBeforeDraw() local
97 draw_scene(pictureCanvas, kPictureSize); in onOnceBeforeDraw()
101 pictureCanvas = recorder.beginRecording(SkRect::MakeXYWH(offset.x(), offset.y(), in onOnceBeforeDraw()
103 pictureCanvas->translate(offset.x(), offset.y()); in onOnceBeforeDraw()
104 draw_scene(pictureCanvas, kPictureSize); in onOnceBeforeDraw()
Dpictureshadercache.cpp42 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0); in onOnceBeforeDraw() local
43 this->drawTile(pictureCanvas); in onOnceBeforeDraw()
Dpictureshader.cpp37 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize, nullptr, 0); in onOnceBeforeDraw() local
38 this->drawTile(pictureCanvas); in onOnceBeforeDraw()
Dmultipicturedraw.cpp355 SkCanvas* pictureCanvas = recorder.beginRecording(SkIntToScalar(kPicWidth), in create_content() local
359 (*pfGen)(pictureCanvas, pictures); in create_content()
/external/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()
Dpictureshader.cpp47 SkCanvas* pictureCanvas = recorder.beginRecording(fTileSize, fTileSize); in onOnceBeforeDraw() local
48 this->drawTile(pictureCanvas); in onOnceBeforeDraw()
/external/skia/tests/
DMultiPictureDocumentTest.cpp117 SkCanvas* pictureCanvas = multipic->beginPage(WIDTH, HEIGHT); in DEF_TEST() local
118 draw_advanced(pictureCanvas, i, image, sub); in DEF_TEST()
346 SkCanvas* pictureCanvas = multipic->beginPage(WIDTH, HEIGHT); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
347 draw_basic(pictureCanvas, 0, image); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()