Lines Matching full:picture
115 sk_sp<SkPicture> picture = []() { in DEF_TEST() local
128 wc->drawPicture(picture); in DEF_TEST()
131 REPORTER_ASSERT(reporter, offset0 > 100); // the raw picture must be sorta big in DEF_TEST()
134 // try drawing the same picture again -- it should be much smaller in DEF_TEST()
136 wc->drawPicture(picture); in DEF_TEST()
142 // try writing the picture directly, it should also be small in DEF_TEST()
143 sk_sp<SkData> data = serializer.writePicture(picture.get()); in DEF_TEST()
148 // try writing the picture directly, it should also be small in DEF_TEST()
149 data = serializer.writePicture(picture.get()); in DEF_TEST()
157 sk_sp<SkPicture> picture = []() { in DEF_TEST() local
169 sk_sp<SkData> data = serializer.writePicture(picture.get()); in DEF_TEST()
171 REPORTER_ASSERT(reporter, offset0 > 100); // the raw picture must be sorta big in DEF_TEST()
174 // The 2nd picture should be nice and small in DEF_TEST()
175 data = serializer.writePicture(picture.get()); in DEF_TEST()
183 wc->drawPicture(picture); in DEF_TEST()