Lines Matching refs:sourceSurface
22 static void paint_source(SkSurface* sourceSurface) { in paint_source() argument
23 SkCanvas* sourceCanvas = sourceSurface->getCanvas(); in paint_source()
34 SkIntToScalar(sourceSurface->height())); in paint_source()
39 static void run_shader_test(skiatest::Reporter* reporter, SkSurface* sourceSurface, in run_shader_test() argument
41 paint_source(sourceSurface); in run_shader_test()
43 sk_sp<SkImage> sourceImage(sourceSurface->makeImageSnapshot()); in run_shader_test()
57 sourceSurface->readPixels(bmOrig, 0, 0); in run_shader_test()
101 auto sourceSurface(SkSurface::MakeRaster(info)); in DEF_TEST() local
104 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in DEF_TEST()
110 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_gpu() local
113 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in gpu_to_gpu()
119 auto sourceSurface(SkSurface::MakeRenderTarget(context, SkBudgeted::kNo, info)); in gpu_to_raster() local
122 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in gpu_to_raster()
128 auto sourceSurface(SkSurface::MakeRaster(info)); in raster_to_gpu() local
131 run_shader_test(reporter, sourceSurface.get(), destinationSurface.get(), info); in raster_to_gpu()