Home
last modified time | relevance | path

Searched refs:rasterImage (Results 1 – 7 of 7) sorted by relevance

/external/skqp/tests/
DSpecialImageTest.cpp208 sk_sp<SkSpecialImage> rasterImage(SkSpecialImage::MakeFromRaster( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
214 sk_sp<SkSpecialImage> fromRaster(rasterImage->makeTextureImage(context)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
215 test_texture_backed(reporter, rasterImage, fromRaster); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
219 sk_sp<SkSpecialImage> subRasterImage(rasterImage->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
228 sk_sp<SkImage> rasterImage = SkImage::MakeFromBitmap(bm); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
230 proxyProvider->createTextureProxy(rasterImage, kNone_GrSurfaceFlags, 1, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
260 sk_sp<SkImage> rasterImage = SkImage::MakeFromBitmap(bm); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
263 proxyProvider->createTextureProxy(rasterImage, kNone_GrSurfaceFlags, 1, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DImageTest.cpp476 auto rasterImage = image->makeNonTextureImage(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
477 if (!rasterImage) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
480 REPORTER_ASSERT(reporter, !rasterImage->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
481 assert_equal(reporter, image.get(), nullptr, rasterImage.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1327 sk_sp<SkImage> rasterImage = surface->makeImageSnapshot(); in DEF_TEST() local
1328 test_scale_pixels(reporter, rasterImage.get(), pmRed); in DEF_TEST()
1331 sk_sp<SkData> data = rasterImage->encodeToData(); in DEF_TEST()
/external/skqp/src/core/
DSkImagePriv.h51 extern const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* rasterImage);
/external/skia/src/core/
DSkImagePriv.h63 extern const SkPixelRef* SkBitmapImageGetPixelRef(const SkImage* rasterImage);
/external/skia/tools/
DDDLPromiseImageHelper.cpp410 sk_sp<SkImage> rasterImage = image->makeRasterImage(); // force decoding of lazy images in addImage() local
411 if (!rasterImage) { in addImage()
418 if (!rasterImage->readPixels(nullptr, tmp.pixmap(), 0, 0)) { in addImage()
/external/skqp/tools/
DDDLPromiseImageHelper.cpp344 sk_sp<SkImage> rasterImage = image->makeRasterImage(); // force decoding of lazy images in addImage() local
349 if (!rasterImage->readPixels(tmp.pixmap(), 0, 0)) { in addImage()
/external/skia/tests/
DImageTest.cpp482 auto rasterImage = image->makeNonTextureImage(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
483 if (!rasterImage) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
486 REPORTER_ASSERT(reporter, !rasterImage->isTextureBacked()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
487 assert_equal(reporter, dContext, image.get(), nullptr, rasterImage.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
1351 sk_sp<SkImage> rasterImage = surface->makeImageSnapshot(); in DEF_TEST() local
1352 test_scale_pixels(reporter, rasterImage.get(), pmRed); in DEF_TEST()
1355 sk_sp<SkData> data = rasterImage->encodeToData(); in DEF_TEST()