Home | History | Annotate | Download | only in tests

Lines Matching refs:lazy

116         SkBitmap lazy;
117 bool installSuccess = install(encoded.get(), &lazy);
122 REPORTER_ASSERT(reporter, NULL == lazy.getPixels());
124 SkAutoLockPixels autoLockPixels(lazy); // now pixels are good.
125 REPORTER_ASSERT(reporter, NULL != lazy.getPixels());
126 if (NULL == lazy.getPixels()) {
131 REPORTER_ASSERT(reporter, NULL == lazy.getPixels());
133 SkAutoLockPixels autoLockPixels(lazy); // now pixels are good.
134 REPORTER_ASSERT(reporter, NULL != lazy.getPixels());
135 if (NULL == lazy.getPixels()) {
140 compare_bitmaps(reporter, original, lazy, comparePixels);
257 SkBitmap lazy;
261 success = SkCachingPixelRef::Install(gen.detach(), &lazy);
263 success = SkInstallDiscardablePixelRef(gen.detach(), &lazy, factory);
268 check_test_image_generator_bitmap(reporter, lazy);
270 SkAutoLockPixels autoLockPixels(lazy);
271 REPORTER_ASSERT(reporter, NULL == lazy.getPixels());