Lines Matching refs:sourceSurface
24 static void paint_source(SkSurface* sourceSurface) { in paint_source() argument
25 SkCanvas* sourceCanvas = sourceSurface->getCanvas(); in paint_source()
36 SkIntToScalar(sourceSurface->height())); in paint_source()
41 static void run_shader_test(skiatest::Reporter* reporter, SkSurface* sourceSurface, in run_shader_test() argument
43 paint_source(sourceSurface); in run_shader_test()
45 sk_sp<SkImage> sourceImage(sourceSurface->makeImageSnapshot()); in run_shader_test()
59 sourceSurface->getCanvas()->readPixels(bmOrig, 0, 0); in run_shader_test()
103 auto sourceSurface(SkSurface::MakeRaster(info)); in DEF_TEST() local
106 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in DEF_TEST()
114 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu() local
117 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in gpu_to_gpu()
123 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_raster() local
126 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in gpu_to_raster()
132 auto sourceSurface(SkSurface::MakeRaster(info)); in raster_to_gpu() local
135 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in raster_to_gpu()