Lines Matching refs:SkSpecialImage
56 static void test_image(const sk_sp<SkSpecialImage>& img, skiatest::Reporter* reporter, in test_image()
137 sk_sp<SkSpecialImage> fullSImage(SkSpecialImage::MakeFromRaster( in DEF_TEST()
144 sk_sp<SkSpecialImage> subSImg1(SkSpecialImage::MakeFromRaster(subset, bm)); in DEF_TEST()
149 sk_sp<SkSpecialImage> subSImg2(fullSImage->makeSubset(subset)); in DEF_TEST()
159 sk_sp<SkSpecialImage> fullSImage(SkSpecialImage::MakeFromImage( in test_specialimage_image()
167 sk_sp<SkSpecialImage> subSImg1(SkSpecialImage::MakeFromImage(nullptr, subset, fullImage)); in test_specialimage_image()
172 sk_sp<SkSpecialImage> subSImg2(fullSImage->makeSubset(subset)); in test_specialimage_image()
182 const sk_sp<SkSpecialImage>& orig, in test_texture_backed()
183 const sk_sp<SkSpecialImage>& gpuBacked) { in test_texture_backed()
202 sk_sp<SkSpecialImage> rasterImage(SkSpecialImage::MakeFromRaster( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
208 sk_sp<SkSpecialImage> fromRaster(rasterImage->makeTextureImage(context)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
213 sk_sp<SkSpecialImage> subRasterImage(rasterImage->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
215 sk_sp<SkSpecialImage> fromSubRaster(subRasterImage->makeTextureImage(context)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
229 sk_sp<SkSpecialImage> gpuImage(SkSpecialImage::MakeDeferredFromGpu( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
236 sk_sp<SkSpecialImage> fromGPU(gpuImage->makeTextureImage(context)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
241 sk_sp<SkSpecialImage> subGPUImage(gpuImage->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
243 sk_sp<SkSpecialImage> fromSubGPU(subGPUImage->makeTextureImage(context)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
261 sk_sp<SkSpecialImage> fullSImg(SkSpecialImage::MakeDeferredFromGpu( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
270 sk_sp<SkSpecialImage> subSImg1(SkSpecialImage::MakeDeferredFromGpu( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
278 sk_sp<SkSpecialImage> subSImg2(fullSImg->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
301 auto redImg = SkSpecialImage::MakeFromImage(context, SkIRect::MakeXYWH(10, 30, 10, 10), image); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
302 auto blueImg = SkSpecialImage::MakeFromImage(context, SkIRect::MakeXYWH(30, 10, 10, 10), image); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()