Lines Matching refs:picture
25 #Line # utility to stop picture playback ##
105 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
107 picture->playback(canvas, &callback);
129 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
131 picture->serialize(&writableStream);
156 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
158 picture->serialize(&writableStream);
181 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
183 picture->serialize(&writableStream);
207 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
208 picture->playback(canvas);
233 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
234 picture->playback(canvas);
237 canvas->drawRect(picture->cullRect(), paint);
254 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
255 SkDebugf("empty picture id = %d\n", picture->uniqueID());
259 empty picture id = 1
282 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
283 sk_sp<SkData> readableData = picture->serialize();
304 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
306 picture->serialize(&writableStream);
328 void onDrawPicture(const SkPicture* picture, const SkMatrix* ,
330 const SkRect rect = picture->cullRect();
343 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
345 myCanvas.drawPicture(picture);
366 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
367 picture->playback(canvas);
368 std::string opCount = "approximate op count: " + std::to_string(picture->approximateOpCount());
390 sk_sp<SkPicture> picture = recorder.finishRecordingAsPicture();
391 picture->playback(canvas);
392 …std::string opCount = "approximate bytes used: " + std::to_string(picture->approximateBytesUsed());