Lines Matching defs:surface
49 SkSurface* surface,
97 surface->getCanvas()->drawRect(SkRect::MakeWH(kWidth, kHeight), paintShader);
100 REPORTER_ASSERT(r, bitmap.tryAllocPixels(surface->imageInfo()));
101 REPORTER_ASSERT(r, surface->readPixels(bitmap.info(), bitmap.getPixels(), bitmap.rowBytes(),
137 SkSurface* surface,
143 test_one_permutation(r, surface, testFile, "", options);
146 test_one_permutation(r, surface, testFile, " (NoInline)", options);
151 sk_sp<SkSurface> surface(SkSurface::MakeRaster(info));
153 test_permutations(r, surface.get(), testFile, /*worksInES2=*/true);
158 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo, info));
160 test_permutations(r, surface.get(), testFile, /*worksInES2=*/true);
169 sk_sp<SkSurface> surface(SkSurface::MakeRenderTarget(ctx, SkBudgeted::kNo, info));
171 test_permutations(r, surface.get(), testFile, /*worksInES2=*/false);