Lines Matching refs:sourceSurface
27 static void paint_source(SkSurface* sourceSurface) { in paint_source() argument
28 SkCanvas* sourceCanvas = sourceSurface->getCanvas(); in paint_source()
39 SkIntToScalar(sourceSurface->height())); in paint_source()
44 static void run_shader_test(skiatest::Reporter* reporter, SkSurface* sourceSurface, in run_shader_test() argument
46 paint_source(sourceSurface); in run_shader_test()
48 sk_sp<SkImage> sourceImage(sourceSurface->makeImageSnapshot()); in run_shader_test()
63 sourceSurface->getCanvas()->readPixels(rect, &bmOrig); in run_shader_test()
106 auto sourceSurface(SkSurface::MakeRaster(info)); in DEF_TEST() local
109 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in DEF_TEST()
117 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu() local
120 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in gpu_to_gpu()
126 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_raster() local
129 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in gpu_to_raster()
135 auto sourceSurface(SkSurface::MakeRaster(info)); in raster_to_gpu() local
138 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in raster_to_gpu()